I've tried running the same commands on subsets of the directory tree, and everything works perfectly. The problem only appears when I try to sync my entire directory tree.
This is what I'm doing:
$ rsync -vv --progress --archive --compress --numeric-ids --delete -e ssh [EMAIL PROTECTED]:/usr/home/blah/websites/ /backup/websites/1
$ rsync -vv --progress --archive --compress --numeric-ids --delete --link-dest=../1 -e ssh [EMAIL PROTECTED]:/usr/home/blah/websites/ /backup/websites/2
$ du -hsc /backup/websites/*
2.1G /backup/websites/1
2.1G /backup/websites/2
4.2G total
If, however, I run the following, it all seems to work perfectly:
$ rsync -vv --progress --archive --compress --numeric-ids --delete -e ssh [EMAIL PROTECTED]:/usr/home/blah/websites/site1.com /backup/websites/1
$ rsync -vv --progress --archive --compress --numeric-ids --delete --link-dest=../1 -e ssh [EMAIL PROTECTED]:/usr/home/blah/websites/site1.com /backup/websites/2
$ du -hsc /backup/websites/*
35M /backup/websites/1
0 /backup/websites/2
35M total
This is frustrating to debug because there's a lot of data being transferred, and it only occurs when I try to sync the full tree. Is this a bug? Am I doing something completely wrong and stupid? I'm happy to provide more detailed info if you need it. Thanks!!
-- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html