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

samba-bugs at samba.org samba-bugs at samba.org
Wed Oct 4 18:17:36 UTC 2017


            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: wayned at samba.org
          Reporter: ben.rubson at gmail.com
        QA Contact: rsync-qa at samba.org

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


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 !


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

More information about the rsync mailing list