[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[rdiff-backup-users] rdiff-backup --ignore-mtime option
From: |
rdiff |
Subject: |
[rdiff-backup-users] rdiff-backup --ignore-mtime option |
Date: |
Wed, 18 Apr 2007 10:33:47 -0700 (PDT) |
About v0.11.1, the changelog reports (roughly) the following:
-------------------------------
Now rdiff-backup writes metadata (uid, gid, mtime, etc.) to a
compressed text file in the rdiff-backup-data directory. Here are
some ramifications:
[...]
Some files may be recognized as not having changed based on this
metadata, so it may not be necessary to traverse the whole mirror
directory. This can reduce file access on the destination side.
[...]
-------------------------------
When backing up shadow-copied volumes, files which have been open for a
long time (SQL, Exchange, etc.) do not have a changed mtime since
shadow-copy simply commits dirty buffers and reveals the data in a
"crashed" state. It appears that windows delays the mtime update to the
close() syscall (or windows equiv).
It seems that implementing an --ignore-mtime option which takes a regular
expression much like --include/exclude would be easy to implement and
simply force a read-and-compare operation.
Can someone point me in the direction of where to make changes in the code
so that I might make this option available? Can someone who knows the
inner-workings of rdiff-backup better than I suggest other ideas or a
patch against 1.0.5?
Thank you for your help!
-Eric
- [rdiff-backup-users] rdiff-backup --ignore-mtime option,
rdiff <=