tor 2010-03-11 klockan 14:57 +0200 skrev Brendan Hide: > I'm looking into a query where a customer wants to know when a file > was modified. The customer has since modified the file and so we > cannot see its "old" modified date. > > I can restore the file from backup via rdiff-backup however this sets > the modified date to `now` instead of the previous modified date.
Are sure you about that last thing? When I tried restoring a file just now, using the "-r now" option I got it restored with the correct modification time intact. Of course, might be different behavior with different filesystems involved, or something else. A option not requiring a restore is simply looking directly in the rdiff-backup destination folder. The result from the most recent backup is there directly, as a mirrored copy to be examined. If you need older modification times they should be intact on the rdiffs locate under ./rdiff-backup-data/increments. Again, it's possible that modification times are handled differently by different filesystems, or something else. In that case you should be able to dig out those times by looking at the stored meta data, which you'll find inside the files ./rdiff-backup-data/mirror_metadata.* // Andreas
signature.asc
Description: Detta är en digitalt signerad meddelandedel
_______________________________________________ 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
