rsnapshot / sourceforge-issues

Issues imported from sourceforge. These are just to track down everything on github. After closing all issues, we remove the repo again. Please don't open any issues here!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug] rsync 3.0.x does not delete content with -x / one_fs 1 [sf#32]

bebehei opened this issue · comments

Reported by simix on 2011-09-08 06:10 UTC
Running rsnapshot with -x or "one_fs 1" does possibly not delete content on the snapshot directory which it would have deleted with rsync 2.x.
In our situation we are doing all snapshots with "one_fs 1". I realized the problem after a directory /var/opt has been moved to its own filesystem and a new entry has been made in rsnapshot do backup it. The problem is that the content under /var/opt/ still exists in the /var snapshot, which I excpected it should have been removed. Note that this has always worked as expected with rsync 2.x.
For more info on the issue, see here:

https://bugzilla.redhat.com/show\_bug.cgi?id=735981
https://lists.samba.org/archive/rsync/2011-September/026766.html

Thanks,
Simon