On Wed, Feb 25, 2004 at 11:14:47PM +0100, Andrzej Filip wrote: > What is the best way to keeps rsynced copy of rotate log files ? > > x.log -> x.log.1 -> x.log.2.gz -> ... > > Can rsync "notice" changes of file name and avoid needless synchronization ?
One thing you can do is to run the same log-rotate on both machines at the same time (yes, on the backup machine too). Just be sure no rsync run overlaps with the log-rotating time period, and it will give the next rsync synchronization a significant head start. ..wayne.. -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html