[Cialug] rsnapshot problem with compression

kristau kristau at gmail.com
Mon Jun 14 21:42:07 CDT 2010


On Mon, Jun 14, 2010 at 9:06 PM, L. V. Lammert <lvl at omnitec.net> wrote:
> Trying to get compression working on one of our backup jobs, .. but it
> seems to be choking as soon as I add the --compress:
>
> /usr/local/bin/rsync -a --delete --numeric-ids --relative
> --delete-excluded \
>    --compress --exclude=/dev/ --exclude=/mnt --exclude=/sys/ \
>    --exclude=.gvfs/ --exclude=/lost+found/ --exclude=/media/ \
>    --exclude=/proc/ --exclude=/tmp/ --exclude=/u/VM/ --exclude=.Trash* \
>    --exclude=/u/Downloads/ --exclude=/u/VBoxBackup/ --rsh="/usr/bin/ssh
> ..

Some comments:
* Use --exclude-from=FILE for all those excludes if you can.
* Your --rsh argument is truncated in the sample given. What happens
after that? Are you trying to compress there, too?
* Check your libraries at both ends. --compress for rsync requires
gzip to be installed (or at least the libraries).

-- 
Tired programmer
Coding late into the night
The core dump follows


More information about the Cialug mailing list