So I should set my ConnectTimeout on my backuppc server then?

________________________________
From: Robert Trevellyan <robert.trevell...@gmail.com>
Sent: 13 March 2018 14:25:30
To: General list for user discussion, questions and support
Subject: Re: [BackupPC-users] Can't switch users to BackupPC in terminal?

According to the man pages, the ConnectTimeout and ServerAlive settings only 
apply to ssh_config, i.e. the BPC end, whereas the other settings only apply to 
sshd_config, i.e. the host you are trying to backup.

Robert Trevellyan

On Tue, Mar 13, 2018 at 10:12 AM, Marc Gilliatt 
<m.gilli...@live.co.uk<mailto:m.gilli...@live.co.uk>> wrote:

Thank you for the quick response.


Do I have to increase the SSH timeout on my backuppc server or my client or 
both?


I've checked the SSH timeout on my backuppc server, its commented out, should I 
uncomment it and set it?



________________________________
From: Robert Trevellyan 
<robert.trevell...@gmail.com<mailto:robert.trevell...@gmail.com>>
Sent: 13 March 2018 14:00:17
To: General list for user discussion, questions and support
Subject: Re: [BackupPC-users] Can't switch users to BackupPC in terminal?

Maybe the client has its own firewall?

The BPC timeout setting is ClientTimeout on the Backup Settings page. For SSH 
you would have to delve into /etc/ssh_config and /etc/sshd_config. Look for 
ConnectionTimeout, ClientAliveInterval, ClientAliveCountMax and 
ServerAliveInterval. More details via man ssh_config and man sshd_config.

Robert Trevellyan

On Tue, Mar 13, 2018 at 9:51 AM, Marc Gilliatt 
<m.gilli...@live.co.uk<mailto:m.gilli...@live.co.uk>> wrote:

Our servers our on our internal LAN, so I don't think it's our firewall. I used 
BackupPC v3 in the past, and I upgraded to BackupPC v4. I had issues with the 
upgrade and I had to completely build my backuppc server again. However, I had 
no issue with BackupPC v3, I never received that rsync error before until now. 
When I go into each of my client's page in the GUI, it says its been 
successfully pinged.


I'm not sure on how to find out about the timeout and setting it greater, or 
the SSH connection time sorry?

________________________________
From: Robert Trevellyan 
<robert.trevell...@gmail.com<mailto:robert.trevell...@gmail.com>>
Sent: 12 March 2018 21:38:11
To: General list for user discussion, questions and support
Subject: Re: [BackupPC-users] Can't switch users to BackupPC in terminal?

Perhaps the client's firewall is blocking pings.

And what do you have set for timeout - is it 600 seconds? Or perhaps the SSH 
connection is timing out.

Robert Trevellyan

On Mon, Mar 12, 2018 at 12:46 PM, Marc Gilliatt 
<m.gilli...@live.co.uk<mailto:m.gilli...@live.co.uk>> wrote:

I believe I solved my issue of the hostname, I had to use the IP address for 
some reason, I cant use the FQDN.


Also, when I try to run a backup it fails after about 10 minutes, I'm receiving 
the following message...


2018-03-12 16:39:08 Got fatal error during xfer (rsync error: error in rsync 
protocol data stream (code 12) at io.c(629) [generator=3.0.9.11])
2018-03-12 16:39:14 Backup aborted (rsync error: error in rsync protocol data 
stream (code 12) at io.c(629) [generator=3.0.9.11])

 I'm not sure on what that error means?

________________________________
From: Stefan Peter <s_pe...@swissonline.ch<mailto:s_pe...@swissonline.ch>>
Sent: 12 March 2018 15:54:53
To: 
backuppc-users@lists.sourceforge.net<mailto:backuppc-users@lists.sourceforge.net>
Subject: Re: [BackupPC-users] Can't switch users to BackupPC in terminal?

On 12.03.2018 15:09, Marc Gilliatt wrote:
> I'm sorry, I'm not too sure on what you mean by working in /srv/backuppc?
>
>
> I copied and pasted the RSA key from my backuppc server to my host I
> would like backing up. I ran the following commands,
>
>
> On my backuppc server:
>
> /cat /root/.ssh/id_rsa.pub > id_rsa.pub_copy
> /
>
>
> On my host server:
>
> ///cat id_rsa.pub_copy >> /root/.ssh/authorized_keys/
>
> /
> /

I don't see any copy command from the backuppc server to the client here?

Why dont you use

ssh-copy-id -i /var/lib/backuppc/.ssh/id_rsa.pub root@backuppc-client

(execute this as root user on the backuppc server!)


With kind regards

Stefan Peter


--
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
(See https://en.wikipedia.org/wiki/Posting_style for details)

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net<mailto: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/

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net<mailto: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/



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net<mailto: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/



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net<mailto: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/


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
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/

Reply via email to