BackupPC-users

Re: [BackupPC-users] Ssh/Rsync transfer fails intermittently

2012-03-04 09:36:20
Subject: Re: [BackupPC-users] Ssh/Rsync transfer fails intermittently
From: Till Hofmann <hofmanntill AT googlemail DOT com>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Sun, 4 Mar 2012 15:34:20 +0100


On Sun, Mar 4, 2012 at 3:22 PM, Chris Mavrakis <cmavr8 AT gmail DOT com> wrote:
Ok, I verified it, whatever one does, the ssh connection is terminated after 1h1'. So the only "solution" to this would be to have backuppc retry again and again until the sum of the files is transfered, and the final backup is successful :).


You could write a small script which checks the return status of rsync and restart rsync as long as it doesn't return 0. Then, replace the rsync command in backuppc with your script and pass all the arguments to rsync.

This way, whenever it disconnects, the script will simply restart rsync (thus continue the backup) until it is done.
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
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/