The rsync command currently used in the celo-migrate script can be run as part of the pre-migration step, without applying any transformations or state changes on top of it. It seems the --update and --delete flags can be used to only rsync new data during the actual migration.
### Tasks
- [ ] Add pre-migrate sub-command
- [ ] Have rsync run as part of pre-migration with proper flags
- [ ] Consider adding back state-dry-run functionality
The
rsync
command currently used in thecelo-migrate
script can be run as part of the pre-migration step, without applying any transformations or state changes on top of it. It seems the--update
and--delete
flags can be used to onlyrsync
new data during the actual migration.