is it possible to continue rsync after network interruption?

Matthias Meyer matthias.meyer at gmx.li
Tue Mar 31 22:17:35 GMT 2009


Larry Irwin wrote:
> It looks like my emails are being rejected at the list site... Don;t know 
> why...
> 
> But, if you start the same process 10 minutes later and let it run another 
> 23 hours, you should get farther along each time.
> It has taken me as much as 2 weeks to get the intial image that way...
> I have 7 clients that I keep 7 daily images and 3 monthly images of their 
> entire linux server...
Yes, Linux is much faster. XP too. But this client is Vista :-(
I've recognized, that one file was send after 
2009-03-30 07:45:19 full backup started for directory C
:       16h
2009/03/30 23:54:01 [2564] send_files(1748, file1.JPG)
2009/03/30 23:54:01 [2564] send_files mapped file1.JPG of size 2163764
2009/03/30 23:54:01 [2564] calling match_sums file1.JPG
2009/03/30 23:54:43 [2564] sending file_sum

and the next time it was send after
2009-03-31 00:05:17 full backup started for directory C
:       12h
2009/03/31 12:39:04 [804] send_files(1748, file1.JPG)
2009/03/31 12:39:04 [804] send_files mapped file1.JPG of size 2163764
2009/03/31 12:39:04 [804] calling match_sums file1.JPG
2009/03/31 12:40:09 [804] sender finished file1.JPG

and one interruption later
2009-03-31 14:02:08 full backup started for directory C
:       8h
2009/03/31 22:32:35 [4952] send_files(1748, file1.JPG)
2009/03/31 22:32:35 [4952] send_files mapped file1.JPG of size 2163764
2009/03/31 22:32:35 [4952] calling match_sums file1.JPG
2009/03/31 22:32:53 [4952] sender finished file1.JPG
> 
> The other method is to put an image on media and load it locally and then 
> start up the rsync process...
> The 1st "daily" has always taken a long time without getting a tape and 
> restoring it locally...
Thats not usable. The client is 600km away.
> 
> It would help to see the actual full rsync command being executed... (names 
> and ip's mangled, of course..)
> And to know whether both ends have the same rsync version running.
Because of using backuppc I have protocol version 28 on server side and
rsync version 3.0.4 protocol version 30 on client side
the rsync paramters are:
--server --sender --numeric-ids --perms --owner --group -D
--links --hard-links --times --block-size=2048 --recursive --one-file-system -vvv

Should I use --ignore-times too?

00:15 in vienna/austria - have a great night ;-)
Matthias
-- 
Don't Panic



More information about the rsync mailing list