https://bugzilla.samba.org/show_bug.cgi?id=8513

           Summary: files from local filesystem on source written to
                    different filesystem on dest despite --one-file-system
           Product: rsync
           Version: 3.1.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P5
         Component: core
        AssignedTo: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]


doing something like

    rsync -e "ssh -p $PORT" \
        --ignore-errors \
        --only-write-batch=$STORAGE/$TS""_$NAME.rsb \
        --archive \
        --one-file-system \
        --verbose \
        --progress \
        --delete \
        $SOURCE/ \
        $TARGET:$SOURCE/

On the source, due to historical accident, there are *local* files like

.../cifs/data1/cdrive/autoexec.bat
.../cifs/data1/cdrive/http/setup.ini

and on dest. .../cifs/data1/cdrive is a windows share on another filesystem /
machine, but the --read-batch version of the above, even with --one-file-system
flag, files on the other filesystem are still overwritten.

Seems --one-file-system should never cross file system boundaries.

-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- 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 via email to