samba-bugs at samba.org
2013-Oct-16 04:09 UTC
[Bug 10209] New: rsync in dry run reports it will create a backup dir even though it already exists
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.
samba-bugs at samba.org
2013-Dec-23 18:31 UTC
[Bug 10209] rsync in dry run reports it will create a backup dir even though it already exists
https://bugzilla.samba.org/show_bug.cgi?id=10209
Wayne Davison <wayned at samba.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #1 from Wayne Davison <wayned at samba.org> 2013-12-23
18:31:16 UTC ---
I'm checking in a fix for this now. Thanks!
--
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Maybe Matching Threads
- [Bug 10724] New: rsync 3.1.1 incorrectly creates extra dirs inside --backup-dir on Mac OSX
- [Bug 10179] New: massive test failure on OSX 10.8.5 under Homebrew
- [Bug 2758] New: "File exists" error using options -b and --backup-dir with device files.
- when using --backup-dir: why not make_bak_dir() . . .
- Q: rsync, Windows, --backup-dir, parameters