Re: [BackupPC-users] Long backup via rsync over unstable connection
2010-07-13 13:14:40
On 7/13/2010 11:53 AM, Brian Mathis wrote:
> I am trying to use BPC over a WAN, and the connection I'm using seems
> to be unstable. The backup is dying every few hours and giving a
> "Child exited prematurely" message. I can see a definite pattern in
> my bandwidth usage going up and down.
>
> In a situation where the connection drops like this, does BPC/rsync
> pickup where it left off, or does it try to start the whole thing over
> again? If I point the backup at an LVM snapshot instead of the real
> files, will that allow it to pickup where it left off more easily?
I think incrementals are discarded on failures but the files copied in a
partial full are saved. However saving them may not save that much time
since the full runs will verify the contents against the source anyway.
If you are going through NAT or stateful firewalls some intermediate
network device might be timing out and dropping the connection in long
idle times. Assuming you are using rsync over ssh, you might try
enabling ssh keepalives by setting ServerAliveInterval in
/etc/ssh/ssh_config.
--
Les Mikesell
lesmikesell AT gmail DOT com
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
|
|
|