[Bug 2294] Detect renamed files and handle by renaming instead of delete/re-send

samba-bugs at samba.org samba-bugs at samba.org
Mon Mar 7 01:37:44 UTC 2016


--- Comment #24 from Karl O. Pinc <kop at meme.com> ---
On Sun, 06 Mar 2016 22:20:16 +0000
samba-bugs at samba.org wrote:

> https://bugzilla.samba.org/show_bug.cgi?id=2294
> --- Comment #23 from dajoker at gmail.com ---
> Looking for this capability prior to entering it as an enhancement
> request myself, I found everything here and basically have the same
> use case.  My version is that I am creating a regular backup of logs
> from many servers' services onto a single box, and doing so with
> rsync.  Some of those services still do the .1, .2, .3 file rotation,
> which makes for a lot of needless work, especially when these are
> 100+ MiB files.  It would be great if rsync could detect this to just
> transfer the new file and rename the old ninety-nine (or
> however-many).

It is not so hard to add the following to your logroate.conf.
Just saying.

# Add a date extension instead of just a number for rsync hardlinked
# backups. 
dateformat -%Y-%m-%d-%s

Karl <kop at meme.com>
Free Software:  "You don't pay back, you pay forward."
                 -- Robert A. Heinlein

You are receiving this mail because:
You are the QA Contact for the bug.

More information about the rsync mailing list