Hi!
I've just tried to do a backup of a machine with rsync. While doing this
(I was reading emails:-) I noted that mbox for mbox, I had no longe new
mails, but I've never read off these mailboxes lately... This seemed to
be a st_atime problem, and indeed, I could verify that. This is what I
used for backup:
rsync --archive \
--recursive \
--stats \
--compress \
--verbose \
--delete \
--delete-excluded \
--links \
--hard-links \
--owner \
--group \
--devices \
--times \
--sparse \
--partial \
--force \
--numeric-ids \
${RSYNC_EXCLUDE} \
"root@${1}:/" \
"/mnt/backup/${1}"
Note: $1 is a machine name, and RSYNC_RSH=ssh.
I think '--preserve-server-atime' would be a nice additional feature,
and I tend to implement it on monday or so. I haven't yet looked at the
source, so there may be already a solution to this problem. If you think
this is a nice feature, please give some response...
MfG, JBG
--
- Eine Freie Meinung in einem Freien Kopf f?r
- einen Freien Staat voll Freier B?rger
Gegen Zensur im Internet
Jan-Benedict Glaw . jbglaw@lug-owl.de . +49-172-7608481
-- New APT-Proxy written in shell script --
http://lug-owl.de/~jbglaw/software/ap2/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url :
http://lists.samba.org/archive/rsync/attachments/20021024/c3e1cfa6/attachment.bin
On Thu, Oct 24, 2002 at 12:16:26PM +0200, Jan-Benedict Glaw wrote:> Hi! > > I've just tried to do a backup of a machine with rsync. While doing this > (I was reading emails:-) I noted that mbox for mbox, I had no longe new > mails, but I've never read off these mailboxes lately... This seemed to > be a st_atime problem, and indeed, I could verify that. This is what I > used for backup: > > I think '--preserve-server-atime' would be a nice additional feature, > and I tend to implement it on monday or so. I haven't yet looked at the > source, so there may be already a solution to this problem. If you think > this is a nice feature, please give some response....from rsync3.txt by Martin Pool | - Propagate atimes and do not modify them. This is very | ugly on Unix. It might be better to try to add | O_NOATIME to kernels, and call that. It would be better to call it --reset-access-time as cpio does. Not only to make it easier to remember (for those using other tools) but to make it clear that the access time is being reset to a value that will not reflect accesses by other activity between initial stat and the final reset. Beyond that I don't much care. All my filesystems are mounted -o noatime,nodiratime for efficiency. Personally, i think any MUA that depends on atime is broken by design. -- ________________________________________________________________ J.W. Schultz Pegasystems Technologies email address: jw@pegasys.ws Remember Cernan and Schmitt