|
From: | Josh Nisly |
Subject: | Re: [rdiff-backup-users] rsynced clean rdiff-backup directory not showing as clean |
Date: | Sat, 20 Mar 2010 22:44:24 -0500 |
User-agent: | Thunderbird 2.0.0.23 (X11/20090817) |
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 backupdidn'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
[Prev in Thread] | Current Thread | [Next in Thread] |