BackupPC-users

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

2012-03-03 22:49:46
Subject: Re: [BackupPC-users] Ssh/Rsync transfer fails intermittently
From: Les Mikesell <lesmikesell AT gmail DOT com>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Sat, 3 Mar 2012 21:48:40 -0600
On Sat, Mar 3, 2012 at 5:40 PM, Chris Mavrakis <cmavr8 AT gmail DOT 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
      lesmikesell AT gmail DOT 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 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/