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

Wayne Davison <way...@samba.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|DUPLICATE                   |WONTFIX

--- Comment #6 from Wayne Davison <way...@samba.org> ---
I misread this bug as a duplicate of 10724, which is talking about empty dirs
down inside the top-level backup dir.  Sorry about that.

The newest rsync creates the top-level backup dir early so that the user gets
some feedback if they didn't expect the dir to get created.  It also ensures
that rsync has a better idea if backups are going to succeed or not in total (a
failure to find and/or make the backup dir causes the transfer to abort
immediately).  This change is as designed, and I'm not planning to change it.

For your scripted backup use, you could follow an rsync run with:

rmdir --ignore-fail-on-non-empty "$BACKUP_DIR"

if you want to ensure that an empty dir is removed.

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