SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
restoring the atime after backing up files ...
Author Message
Post restoring the atime after backing up files ... 
A feature I would like to see in rdiff-backup is the ability
to restore the atime of a file after backing it up.

Currently the OS modifies the atime as rdiff-backup reads
the file (as is expected) to back it up, and rdiff-backup
makes no attempt to restore it once finished.

This causes problems for my mbox-style mail folders, which my mail
reader (mutt) determines have "new" mail when the mtime is newer
than the atime.

Are there any plans to implement ``atime restoration after backup''?
Note that pax(1) has -t, which is documented in IEEE Std 1003.1,
2004 Edition as:
-t When reading files from the file system, and if the user
has the permissions required by utime() to do so, set the
access time of each file read to the access time that it
had before being read by pax.

Cheers,
Luke.

Post restoring the atime after backing up files ... 
Luke Mewburn <luke < at > mewburn.net>
wrote the following on Mon, 31 May 2004 17:17:38 +1000

A feature I would like to see in rdiff-backup is the ability
to restore the atime of a file after backing it up.
...
Are there any plans to implement ``atime restoration after backup''?

Well I wasn't planning on doing it, but it seems to be a reasonable
idea. You may want to add it to the wiki at:

http://rdiff-backup.solutionsfirst.com.au/index.php/SuggestedFeatures

so it doesn't get lost. Otherwise you might feel bad when some random
python guru with lots of time stumbles across that page and decides to
implement all the features there on a whim.


--
Ben Escoto

Post restoring the atime after backing up files ... 
Currently the OS modifies the atime as rdiff-backup reads
the file (as is expected) to back it up, and rdiff-backup
makes no attempt to restore it once finished.

This causes problems for my mbox-style mail folders, which my mail
reader (mutt) determines have "new" mail when the mtime is newer
than the atime.

you can enable this option when configuring mutt:

--enable-buffy-size Use file size attribute instead of access time

-dean

Post restoring the atime after backing up files ... 
On Sun, Jun 06, 2004 at 12:49:45PM -0700, dean gaudet wrote:
| > Currently the OS modifies the atime as rdiff-backup reads
| > the file (as is expected) to back it up, and rdiff-backup
| > makes no attempt to restore it once finished.
| >
| > This causes problems for my mbox-style mail folders, which my mail
| > reader (mutt) determines have "new" mail when the mtime is newer
| > than the atime.
|
| you can enable this option when configuring mutt:
|
| --enable-buffy-size Use file size attribute instead of access time

Thanks for the hint. That must be a feature in versions newer
than 1.4.2i (which is the "stable" version of mutt in NetBSD pkgsrc).

Cheers,
Luke.

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