Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running migration mutiple times does not cleanup / delete things on the target that have been deleted on the source #506

Open
Martin-Weiss opened this issue Nov 22, 2024 · 0 comments

Comments

@Martin-Weiss
Copy link

It seems that the current process of the migration does not delete things on the target that have been deleted on the source

I.e.

rsync -e "$SSH" --rsync-path='sudo rsync' -avz $RSYNC_ARGS --trust-sender -f 'merge exclude_list' {{ .SourceFqdn }}:$folder/ $folder;

I guess we need "--delete" to be added to all the rsync / copy processes so that re-running the migration does not leave things that have been deleted on the source in the meantime.

Background: realized this due to database volume on the target running out of disk space even thought it was twice as big as on the source.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant