You need to use --delete with rsync.

What's happening is that rdiff-backup has a current_mirror file that marks the last successful backup. When it completes a backup, it deletes the current_mirror file for the previous backup, so there still only one current_mirror file.

When you run rsync, it copies the new current_mirror file over from the source, but doesn't remove the old current_mirror file from the destination. This results in multiple current_mirror files, which confuses rdiff-backup.

Josh Nisly

Kevin Fenzi wrote:
Greetings. I have a user reporting an odd bug against rdiff-backup in Fedora.
They have a clean rdiff-backup directory. They rsync that over to
another directory and suddenly rdiff-backup acts like the last backup
didn't complete correctly and the backup dir is not clean. ;( Downstream bug report is at:
https://bugzilla.redhat.com/show_bug.cgi?id=566116

Anyone have any ideas what might cause this sort of issue?

kevin



_______________________________________________
rdiff-backup-users mailing list at [email protected]
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki

Reply via email to