[Bug 10209] New: rsync in dry run reports it will create a backup dir even though it already exists

samba-bugs at samba.org samba-bugs at samba.org
Tue Oct 15 22:09:16 MDT 2013


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

           Summary: rsync in dry run reports it will create a backup dir
                    even though it already exists
           Product: rsync
           Version: 3.1.0
          Platform: x86
        OS/Version: Mac OS X
            Status: NEW
          Severity: normal
          Priority: P5
         Component: core
        AssignedTo: wayned at samba.org
        ReportedBy: chdiza at gmail.com
         QAContact: rsync-qa at samba.org


On OSX 10.8.5, rsync 3.1.0 introduces a new bug.  Doing:

rsync -ntrlvhb --delete --backup-dir=foo source dest

when the dir "foo" already exists will cause rsync to display: 

"sending incremental file list
Created backup_dir foo/"

I can understand displaying this message if foo really did need to be created,
but it's already there and waiting, and has been used as backup-dir before. 
3.0.9 and earlier don't do this.

Also, when the same command is run without the '-n' flag, rsync acts correctly
and won't display the "Created backup_dir foo/" message.

-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the rsync mailing list