[Bug 11111] New: Describe the interaction between --one-file-system and --delete-excluded

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug 11111] New: Describe the interaction between --one-file-system and --delete-excluded

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

            Bug ID: 11111
           Summary: Describe the interaction between --one-file-system and
                     --delete-excluded
           Product: rsync
           Version: 3.1.1
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: core
          Assignee: [hidden email]
          Reporter: [hidden email]
        QA Contact: [hidden email]

Created attachment 10762
  --> https://bugzilla.samba.org/attachment.cgi?id=10762&action=edit
rsync.yo patch

for:

  rsync --one-file-system --delete-excluded --exclude=/bar/ host:/bar/ /foo

where /bar is a mounted filesystem,

document that ignoring a sender's "other" filesystem does not affect the
operation of --delete-excluded at the matching receiver's patch (/foo/bar).

I ran into this under a pile of scripts where the backups first backed up /foo,
then /foo/bar, then /foo/baz, and the underlying volume's CoW snapshots were
quickly gaining size because /foo was listed in the excludes (first deleted,
then re-populated).

The current documentation isn't wrong - just being explicit would help
eliminate this as a gotcha.

--
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
Reply | Threaded
Open this post in threaded view
|

[Bug 11111] Describe the interaction between --one-file-system and --delete-excluded

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

--- Comment #1 from Bill McGonigle <[hidden email]> ---
argh - messed up the reduced example.  Should be host:/

  rsync --one-file-system --delete-excluded --exclude=/bar/ host:/ /foo

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