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

deletion support #43

Open
enuzzi opened this issue Dec 15, 2021 · 1 comment
Open

deletion support #43

enuzzi opened this issue Dec 15, 2021 · 1 comment

Comments

@enuzzi
Copy link

enuzzi commented Dec 15, 2021

If a file in the source is deleted, I don't see any support in cephgeorep to delete the file in the destination. Is that a planned future feature or am I missing something? Does a full rsync with --delete need to be run periodically for a full reconciliation with deletes?

@joshuaboud
Copy link
Member

Due to the way cephgeorep works, tacking the --delete flag to the execution arguments won't work as expected, and will delete everything not in the current batch it's syncing. You are correct that a periodic full rsync with --delete is needed. I believe there is some combination of rsync flags that will only delete remote files without resending any existing ones, but I can't remember off the top of my head what they are. Definitely use --dry-run first and let us know which flags work for you, as this would be good information for the README.

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

2 participants