Qiqi Yan wrote:
> Hi all,
> Thank you for your reply. But here comes more puzzles...and possibly
> a bug of rdiff-backup.
> Dave is right in that after --override-chars-to-quote there should be
> a list of chars. The default is "^A-Za-z0-9_ -." for win XP.
> For my purpose, I changed it to ":", and this command worked at the
> first try:
> rdiff-backup --override-chars-to-quote ":" /cygdrive/e/test/original
> However, when this was run for a second time (without doing anything
> else), this error showed up:
> ---------------------------------------------------------- Fatal
> Error: Bad rdiff-backup-data dir on destination side
> The rdiff-backup data directory
> /cygdrive/e/test/backup/rdiff-backup-data exists, but we cannot find
> a valid current_mirror marker. You can avoid this message by
> removing the rdiff-backup-data directory; however any data in it will
> be lost.
This is a bug in rdiff-backup. rdiff-backup is looking for a filename of
the form "current_mirror*".
However, because of the quoting in effect during the first backup
session, the name of the current_mirror marker was quoted! As a result,
rdiff-backup can't find the correct, existing current_mirror file.
You can confirm this by doing: `ls backup/rdiff-backup-data/` after your
first backup session. You will see a file that starts:
if you unquote that string, you will see that it corresponds to
So, this is a bug in how rdiff-backup goes looking for the
current_mirror marker, in particular, it needs to quote/unquote at the
Andrew Ferguson - owsla@xxxxxxxxxxxxx
rdiff-backup-users mailing list at rdiff-backup-users@xxxxxxxxxx
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki