Compression and Excludes not working
Wayne Davison
wayned at samba.org
Thu Jun 14 18:15:51 GMT 2007
On Thu, Jun 14, 2007 at 07:03:04PM +0100, Hussein Patwa wrote:
> Using rsync 2.6.9:
>
> --compress-level=9 brings up an error "Command not found".
The remote rsync needs to be at least 2.6.7 for it to understand that
option.
> rsync -e "ssh -p 2222" -axzvc --progress --stats
> patwa at patwanet.co.uk:/home/patwa --exclude=/home/patwa/public_html/dl/
> --exclude=/home/patwa/public_html/jithwish/
> --exclude=/home/patwa/public_html/senaka/ /home/H/HGBackup13062007 ; sync
Read the manpage on anchoring excludes at the base of the transfer. The
directory /home is not in the transfer, so should not be mentioned in an
exclude. E.g. --exclude=/patwa/public_html/dl/
..wayne..
More information about the rsync
mailing list