45Drives / cephgeorep

An efficient unidirectional remote backup daemon for CephFS.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

deletion support

enuzzi opened this issue · comments

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?

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.