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 :).
Maybe I can simulate this behavior by setting
> $Conf{IncrPeriod} = 0.03;
(roughly every 40 minutes) for the first copy of the files, and then reset
it back to the default 0.97.
Chris Mavrakis
cmavrakis.com
On Sun, Mar 4, 2012 at 11:15 AM, Chris Mavrakis <cma...@gmail.com> wrote:
> Thanks.. Maybe it's one of the things Tim said (firewall/ssh limit), but I
> can't influence these settings as the remote server is on a shared hosting
> plan. (my own firewall is ok) I have no control over sshd_config etc... or
> the remote routers/firewall.
>
>
> I also tried to add in the rsync command : -o ServerAliveInterval=15 -o
> ServerAliveCountMax=10.
>
> Could we just tell BackupPC to retry a few times even if the connection is
> terminated? If I manually issue backup commands one after the other (after
> each failure, every 1h1') I eventually get a full back-up of the remote
> host. But it would be nice to have Backuppc do it automatically.
>
> Chris Mavrakis
> cmavrakis.com
>
>
>
>
> On Sun, Mar 4, 2012 at 5:48 AM, Les Mikesell <lesmikes...@gmail.com>wrote:
>
>> On Sat, Mar 3, 2012 at 5:40 PM, Chris Mavrakis <cma...@gmail.com> wrote:
>> > BackupPC works good on my LAN but has problems backing-up a remote
>> server of
>> > mine. I'm using rsync over ssh and have increased max ping to 500
>> because
>> > the remote server is far away.
>> >
>> > Almost always the transfer is ending after 1h01'or 1h02'. These values
>> in
>> > seconds are 3660 and 3720. Maybe they appear in some option...?
>> >
>> > If I manually login to this remote ssh server, and leave my terminal
>> > untouched for 1h26" I get disconnected. Looks like this is the reason
>> > BackupPC gets disconnected, too. Is there any way to simulate the
>> execution
>> > of commands inside BackupPC's session?
>> >
>> > What I've tried and didn't work:
>> >
>> > - ServerAliveInterval=300, ServerAliveInterval=60
>> >
>> > - increased PingMaxMsec to 500
>> >
>> > - rsync options --timeout and --contimeout set to 20 and 200 seconds
>> (both
>> > values tried on both options)
>> >
>> > - removing block-size option from rsync
>> >
>> > Nothing worked. It usually stops in different files, independently of
>> their
>> > size.
>>
>> I'd expect the ssh ServerAliveInterval to fix the most likely cases of
>> idle timeout on nat routers or firewalls. Maybe something has an
>> absolute connection length timeout. Do you have access to the
>> routers at either or both ends?
>>
>> --
>> Les Mikesell
>> lesmikes...@gmail.com
>>
>>
>> ------------------------------------------------------------------------------
>> 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@lists.sourceforge.net
>> List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
>> Wiki: http://backuppc.wiki.sourceforge.net
>> Project: http://backuppc.sourceforge.net/
>>
>
>
------------------------------------------------------------------------------
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@lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/