SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
checking the "old" modified date of a file or fold
Author Message
Post checking the "old" modified date of a file or fold 
Hi

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.

Is there an easy way to find this information via rdiff-backup?
--

Regards, Brendan Hide [/url] Senior Server Engineer 0861 555 222 : Reception 021 413 1111 : Facsimile Web Africa Networks (Pty) Ltd

[ Named one of the Top 50 ICTe Companies in SA ]
[ MyBroadband People's Choice, ISP of the Year ]

Disclaimer: [url=http://www.webafrica.co.za/disclaimer]http://www.webafrica.co.za/disclaimer


Post checking the "old" modified date of a file or fold 
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

_______________________________________________
rdiff-backup-users mailing list at rdiff-backup-users < at > nongnu.org
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB