[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [rdiff-backup-users] checking the "old" modified date of a file or f
Re: [rdiff-backup-users] checking the "old" modified date of a file or folder
Thu, 11 Mar 2010 14:35:22 +0100
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
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.*
Description: Detta är en digitalt signerad meddelandedel