[Bug 13071] New: [PATCH] Allow --partial-dir with --inplace

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

[Bug 13071] New: [PATCH] Allow --partial-dir with --inplace

Samba - rsync mailing list
https://bugzilla.samba.org/show_bug.cgi?id=13071

            Bug ID: 13071
           Summary: [PATCH] Allow --partial-dir with --inplace
           Product: rsync
           Version: 3.1.3
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5
         Component: core
          Assignee: [hidden email]
          Reporter: [hidden email]
        QA Contact: [hidden email]

Created attachment 13649
  --> https://bugzilla.samba.org/attachment.cgi?id=13649&action=edit
Allow partial-dir with inplace

Hello,

Here is a patch to allow partial-dir with inplace.

Why ?

Quoting modified man-page :
If --inplace is used with --partial-dir, or with any option implying it
(--delay-update), the inplace behavior will take place in the partial
directory, each file being moved to its final destination once completed.

It really helps when one want to keep partial files but don't want rsync server
to duplicate them remotely when transfer is restarted. Partial files will then
be used "inplace", in the partial directory.
Really useful in conjunction with for example --link-dest.
More generally this helps saving space / dealing with short free-space targets.

Could we then think about reviewing and merging this please ?

Thank you very much !

Ben

(this patch has been written so that current client versions can easily benefit
from this using --temp-dir to indicate their partial directory, server code
being really easy to modify to take tmpdir as partial_dir)

--
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