3.0.2: make_bak_dir mkdir ...: File exists (17)
jr-list-2008 at quo.to
Fri May 16 17:07:47 GMT 2008
Yesterday I upgraded rsync from 2.6.9 to 3.0.2 (as part of upgrading
Fedora 8 to Fedora 9). Today, I received these unexpected errors:
rsync: make_bak_dir mkdir "/backup/server/../server-before-5/var"
failed: File exists (17)
rsync: keep_backup failed: "/backup/server/var/lib/rpcbind/rpcbind.file"
-> "../server-before-5/var/lib/rpcbind/rpcbind.file": Success (0)
No such file or directory (2)
from a script that had worked flawlessly for years under rsync 2.6.x:
rm -rf $BKPDIR
mkdir -m 700 $BKPDIR
rsync -avHx --numeric-ids --delete --delete-excluded \
--backup --backup-dir=../$BKPDIR \
root at server:/ .
Prior to the script being run, these files had been deleted from the
along with the /var/lib/rpcbind directory.
Following the rsync run, the receiver side has:
i.e., only one of the deleted files was moved to the backup directory.
More information about the rsync