Problem with --partial and rsync algorithm
Matias Surdi
matiassurdi at gmail.com
Sun Mar 12 08:49:45 GMT 2006
Hi,
I'm running the following command for a remote host backup:
/usr/local/bin/rsync -a --delete --delete-excluded -v --timeout=120 -z
--no-whole-file -partial --partial-dir .rsync-partial --exclude=/sys/*
--exclude=/tmp/* --exclude=/stuff/distfiles/* --exclude=/stuff/sistema/*
--exclude=/stuff2/ftp/* --exclude=/stuff2/backup/* --exclude=/home/ftp/*
--exclude=/home/gentoo/* --exclude=/mnt/* --exclude=/proc/*
--exclude=/var/tmp/* --exclude=/usr/portage/distfiles/*
--exclude=/home/*/.thumbnails/* --exclude=.mozilla/**/Cache/*
--exclude=.svn/* xxxxxx.dyndns.org:/ /usr/backups/data/u2.current/
receiving file list ... done
*deleting
home/dreamweb.com.ar/www/album_old/albums/Sunset/.rsync-partial/videos_sunset_30042005.tar.bz2
*deleting home/dreamweb.com.ar/www/album_old/albums/Sunset/.rsync-partial/
As you can see in the last few lines, the (very large) file
videos_sunset_30042005.tar.bz2 is deleted every time I restart the transfer.
I've specified the --no-whole-file, -partial and --partial-dir.... ¿Why
rsync can't continue the transfer instead of deleting it and starting
again and again????
Thanks.
More information about the rsync
mailing list