rdiff-backup-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [rdiff-backup-users] Changing timestamps of increments


From: Dave Kempe
Subject: Re: [rdiff-backup-users] Changing timestamps of increments
Date: Tue, 28 Apr 2009 18:46:28 +1000 (EST)

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: address@hidden

----- "Matthew Lowe" <address@hidden> 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 address@hidden http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki

reply via email to

[Prev in Thread] Current Thread [Next in Thread]