Re: [BackupPC-users] Serious error: last backup ... directory doesn't exist!!! - reason found

2018-03-13 Thread Michael Stowe

On 2018-03-13 16:33, Holger Parplies wrote:
My first thought is to avoid the issue altogether by using a file 
system
that doesn't statically allocate inodes (e.g. XFS or reiserfs, the 
latter
I wouldn't recommend for other reasons, though; I don't know about 
ext4,
btrfs and ZFS, but my guess would be that ext4 has static allocation 
and
the others dynamic). Why worry about a problem modern file systems 
simply

don't have?

Regards,
Holger


I happen to have used BackupPC with ext4, xfs, and btrfs.  ext4 (unlike 
ext2 and ext3) does indeed have a way to extend the number of inodes 
beyond the static allocation.  XFS, elegant and well designed, gave me 
no end of trouble, frankly.  Your mileage may vary, but on more than one 
occasion, I found subtle corruption for unknown reasons had caused weird 
ripple effects throughout the file system.  btrfs has, perhaps 
ironically, proven the most reliable of the three.  Again, your mileage 
may vary, and while I can go into considerable detail about my own 
experiences and testing, they are limited in scope and nature.
--
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/


Re: [BackupPC-users] Serious error: last backup ... directory doesn't exist!!! - reason found

2018-03-13 Thread Holger Parplies
Hi,

f...@igh.de wrote on 2018-03-08 16:59:37 +0100 [Re: [BackupPC-users] Serious 
error: last backup ... directory doesn't exist!!! - reason found]:
> [...]
> Meanwhile I found the reason: the partition ran out of inodes. As you
> wrote under "How much disk space do I need?" one has to have "plenty
> of inodes". But what does that mean? 

as has been said, that depends directly on what you are backing up.

> May I ask the following:
> 
> - in the "General Server Information" you give some statistical
>   information about disk usage; would it be a good idea also to give
>   information about inode consumption? 

You mean 'df -i'?

> - is it possible and would it make sense to separate the "pc" and the
>   "pool/cpool" directories into different partitions? I just did an
>   rsync of a BackupPC-directory and found that the files on "pc" are
>   mostly empty or small. The file sizes in "pool/cpool" are remarkable
>   bigger - I assume these are the "real" files. So one could create
>   one partition for "pool/cpool" having about e.g. 64kB per inode and
>   another partition having a block size of 1 kB and also 1 kB per
>   inode. Maybe this would reduce disk space consumption and also allow 
>   rsyncing somewhat faster. 

My first thought is to avoid the issue altogether by using a file system
that doesn't statically allocate inodes (e.g. XFS or reiserfs, the latter
I wouldn't recommend for other reasons, though; I don't know about ext4,
btrfs and ZFS, but my guess would be that ext4 has static allocation and
the others dynamic). Why worry about a problem modern file systems simply
don't have?

Regards,
Holger

--
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/


Re: [BackupPC-users] Can't switch users to BackupPC in terminal?

2018-03-13 Thread Robert Trevellyan
That's actually a slightly different error (io.c(1556) instead of
io.c(629)). It's possible that browsing the source code of io.c would offer
a clue, but it's a pretty generic error, so it's probably time to enable
verbose logging on both ends and do some proper debugging. I'd do that by
running rsync at the command-line.

Robert Trevellyan

On Tue, Mar 13, 2018 at 11:13 AM, Marc Gilliatt 
wrote:

> I've set the timeout on my backuppc server to 604800 which is one week.
> One of my clients has just completed its first full backup. However, my
> other clients are still receiving the same rysnc error as before...
>
>
> 2018-03-13 15:11:29 Got fatal error during xfer (rsync error: error in rsync 
> protocol data stream (code 12) at io.c(1556) [generator=3.0.9.11])
> 2018-03-13 15:11:34 Backup aborted (rsync error: error in rsync protocol data 
> stream (code 12) at io.c(1556) [generator=3.0.9.11])
>
>
> --
> *From:* Robert Trevellyan 
> *Sent:* 13 March 2018 14:44:54
> *To:* General list for user discussion, questions and support
> *Subject:* Re: [BackupPC-users] Can't switch users to BackupPC in
> terminal?
>
> I'd say its worth a try.
>
> Robert Trevellyan
>
> On Tue, Mar 13, 2018 at 10:30 AM, Marc Gilliatt 
> wrote:
>
> So I should set my ConnectTimeout on my backuppc server then?
> --
> *From:* Robert Trevellyan 
> *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 
> 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 
> *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 
> 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 
> *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 
> 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 
> *Sent:* 12 March 2018 15:54:53
> *To:* 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 

[BackupPC-users] unsubscribe

2018-03-13 Thread André Tapxure - Soluções Ideais



--- 
André Tapxure Gabriel 
[ http://www.solucoesideais.com.br/ | http://www.solucoesideais.com.br ] 
[ https://www.facebook.com/solucoesideaistecnologia | 
http://www.facebook.com/solucoesideaistecnologia ] 
Fone: (62) 3988- 
Cel: (62)98208-4227 
E-mail: [ mailto:an...@solucoesideais.com.br | an...@solucoesideais.com.br ] 


--
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/


Re: [BackupPC-users] Can't switch users to BackupPC in terminal?

2018-03-13 Thread Marc Gilliatt
I've set the timeout on my backuppc server to 604800 which is one week. One of 
my clients has just completed its first full backup. However, my other clients 
are still receiving the same rysnc error as before...


2018-03-13 15:11:29 Got fatal error during xfer (rsync error: error in rsync 
protocol data stream (code 12) at io.c(1556) [generator=3.0.9.11])
2018-03-13 15:11:34 Backup aborted (rsync error: error in rsync protocol data 
stream (code 12) at io.c(1556) [generator=3.0.9.11])



From: Robert Trevellyan 
Sent: 13 March 2018 14:44:54
To: General list for user discussion, questions and support
Subject: Re: [BackupPC-users] Can't switch users to BackupPC in terminal?

I'd say its worth a try.

Robert Trevellyan

On Tue, Mar 13, 2018 at 10:30 AM, Marc Gilliatt 
> wrote:

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


From: Robert Trevellyan 
>
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 
> 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 
>
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 
> 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 
>
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 
> 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 >
Sent: 12 March 2018 15:54:53
To: 
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 

Re: [BackupPC-users] Can't switch users to BackupPC in terminal?

2018-03-13 Thread Robert Trevellyan
I'd say its worth a try.

Robert Trevellyan

On Tue, Mar 13, 2018 at 10:30 AM, Marc Gilliatt 
wrote:

> So I should set my ConnectTimeout on my backuppc server then?
> --
> *From:* Robert Trevellyan 
> *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 
> 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 
> *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 
> 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 
> *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 
> 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 
> *Sent:* 12 March 2018 15:54:53
> *To:* 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
> List:

Re: [BackupPC-users] Can't switch users to BackupPC in terminal?

2018-03-13 Thread Marc Gilliatt
So I should set my ConnectTimeout on my backuppc server then?


From: Robert Trevellyan 
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 
> 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 
>
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 
> 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 
>
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 
> 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 >
Sent: 12 March 2018 15:54:53
To: 
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
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: 

Re: [BackupPC-users] Can't switch users to BackupPC in terminal?

2018-03-13 Thread Robert Trevellyan
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 
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 
> *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 
> 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 
> *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 
> 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 
> *Sent:* 12 March 2018 15:54:53
> *To:* 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
> 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:

Re: [BackupPC-users] Can't switch users to BackupPC in terminal?

2018-03-13 Thread Marc Gilliatt
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 
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 
> 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 
>
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 
> 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 >
Sent: 12 March 2018 15:54:53
To: 
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
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/



--
Check out the vibrant tech community on one of the world's most
engaging tech sites, 

Re: [BackupPC-users] Can't switch users to BackupPC in terminal?

2018-03-13 Thread Robert Trevellyan
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 
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 
> *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 
> 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 
> *Sent:* 12 March 2018 15:54:53
> *To:* 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
> 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/
>
>
>
> 
> --
> 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/
>
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! 

[BackupPC-users] Problems with backups

2018-03-13 Thread Jeffrey West via BackupPC-users
All,



BackupPC recently is not keeping partial backups when the network gets
disconnected, etc.   I am seeing this in the log files.



2018-03-12 06:26:44 full backup started for directory c-drive

2018-03-12 09:14:05 full backup 0 complete, 32549 files, 68399765172 bytes,
39 xferErrs (0 bad files, 0 bad shares, 39 other)

2018-03-12 09:14:05 removing full backup 0

2018-03-12 19:22:30 full backup started for directory c-drive

2018-03-12 21:34:36 full backup 0 complete, 32603 files, 68371945446 bytes,
37 xferErrs (0 bad files, 0 bad shares, 37 other)

2018-03-12 21:34:36 removing full backup 0

2018-03-13 02:47:14 full backup started for directory c-drive

2018-03-13 04:43:15 full backup 0 complete, 32599 files, 68405966752 bytes,
50 xferErrs (0 bad files, 0 bad shares, 50 other)

2018-03-13 04:43:15 removing full backup 0



Any idea how to change it so it keeps at least a partial backups instead of
deleting it.



Jeff West
Systems Engineer
Riptide Software
Office 321-296-7724 ext 216 <(321)%20296-7724>
Direct 407-542-7697 <(407)%20542-7697>
Cell407-925-7030 <(407)%20925-7030>
www.riptidesoftware.com
--
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/


Re: [BackupPC-users] Can't switch users to BackupPC in terminal?

2018-03-13 Thread Marc Gilliatt
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 
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 
> 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 >
Sent: 12 March 2018 15:54:53
To: 
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
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/


--
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/