You need to account for the mirror_metadata file as well I think. And of course
any other metadata files in the rdiff-backup-data directory if they concern you
(but are probably not crucial)
--
Regards,
Dave Kempe
Solutions First
Phone: (02) 9923 2180
Mobile: 0413 022 143
Support requests: [email protected]
----- "Matthew Lowe" <[email protected]> wrote:
>
>
I ran into a little problem when the date/time was desynchronized between the
client and server of a rdiff-backup (backup). Somehow the client’s date was
shifted one month in the future, and two backups had occurred before I noticed
the problem. I wrote a little script to rename all the increments back to their
actual creation date, but I am unsure of whether or not this is enough. Is any
time stamp information stored in the files? Or are the file names really all
that need to be changed?
My script is this:
#!/bin/sh
find | grep '2009-05-' | while read file
do
newfile=`echo $file | sed -e 's/2009-05-/2009-04-/g'`
echo "rename \"$file\" to \"$newfile\""
mv "$file" "$newfile"
done
> _______________________________________________ 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
_______________________________________________
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