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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=2294

--- Comment #24 from Karl O. Pinc <[hidden email]> ---
On Sun, 06 Mar 2016 22:20:16 +0000
[hidden email] wrote:

> https://bugzilla.samba.org/show_bug.cgi?id=2294
>
> --- Comment #23 from [hidden email] ---
> 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.
dateext
dateformat -%Y-%m-%d-%s

Karl <[hidden email]>
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.

--
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html