Hello,
We have strange issue with rsync and backup-dir option. In case of having
empty directories and deleting them, those directories are not backed up in
backup-dir directory. Directories are backed up only if contains files.
Scenario:
# mkdir -p source/b
# rsync -a --backup
https://bugzilla.samba.org/show_bug.cgi?id=11609
Bug ID: 11609
Summary: Incorrect (or at least dangerous) behaviour of
--append-verify
Product: rsync
Version: 3.1.1
Hardware: All
OS: All
Status:
rsync watchers,
I've been using rsync version 3.1.1+, and do like the improved --stats
output: e.g.
Number of files: 2480403 (reg: 2034290, dir: 233487, link: 212174, special: 452)
Number of created files: 356 (reg: 6, dir: 3, link: 347)
Number of regular files transferred: 16
...
- thanks to
Running debian wheezy w/ rsync 3.0.9-4. The command in question is
rsync -vahHz --delete --exclude '/proc' --exclude '*.iso' --exclude
'/home/holtzm/mail/backup' --exclude '/sys ' --exclude '/tmp'--exclude
'/media' /. /media/cf0a98ed-3c11-4107-b61e-f5139d024396/Wheezy-laptop
notice the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Note the lack of a space here: --exclude '/tmp'--exclude
Also, just use / for the source instead of /.
Also, don't use -z on a local copy.
On 11/18/2015 06:19 PM, Bob Holtzman wrote:
> Running debian wheezy w/ rsync 3.0.9-4. The command in question