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

2018-03-21 Thread Marc Gilliatt
: /var/lib/backuppc/backup_notification.sh 0 
autotmp.dsdb.int incr autotmp.dsdb.int autotmp.dsdb.int / rsync /usr/bin/ssh 
DumpPostUserCmd
/var/lib/backuppc/backup_notification.sh: line 61: tail: command not found
Got fatal error during xfer (rsync error: error in rsync protocol data stream 
(code 12) at io.c(1556) [generator=3.0.9.11])
Backup aborted (rsync error: error in rsync protocol data stream (code 12) at 
io.c(1556) [generator=3.0.9.11])
BackupFailCleanup: nFilesTotal = 10799, type = incr, BackupCase = 4, inPlace = 
0, lastBkupNum = 29
Removing prior partial backup #29
Xfer PIDs are now 22607
BackupPC_backupDelete: removing #29
BackupPC_backupDelete: Merge into backup 23
Xfer PIDs are now 22607,22608
BackupPC_refCountUpdate: autotmp.dsdb.int #30 inodeLast set to 203624 (was 
203622)
BackupPC_refCountUpdate: host autotmp.dsdb.int got 0 errors (took 294 secs)
Xfer PIDs are now 22607
Xfer PIDs are now
Finished BackupPC_backupDelete, status = 0 (running time: 296 sec)
Xfer PIDs are now
Running BackupPC_refCountUpdate -h autotmp.dsdb.int -f on autotmp.dsdb.int
Xfer PIDs are now 22613
BackupPC_refCountUpdate: autotmp.dsdb.int #30 inodeLast set to 203624 (was 
203622)
BackupPC_refCountUpdate: host autotmp.dsdb.int got 0 errors (took 303 secs)
Xfer PIDs are now
Finished BackupPC_refCountUpdate (running time: 305 sec)
Xfer PIDs are now



From: Craig Barratt via BackupPC-users <backuppc-users@lists.sourceforge.net>
Sent: 15 March 2018 14:36
To: General list for user discussion, questions and support
Cc: Craig Barratt
Subject: Re: [BackupPC-users] Can't switch users to BackupPC in terminal?

Marc,

What is in the XferLOG file for the failed backup?

Craig

On Tue, Mar 13, 2018 at 2:58 PM, Robert Trevellyan 
<robert.trevell...@gmail.com<mailto:robert.trevell...@gmail.com>> wrote:
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 
<m.gilli...@live.co.uk<mailto:m.gilli...@live.co.uk>> 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 
<robert.trevell...@gmail.com<mailto:robert.trevell...@gmail.com>>
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 
<m.gilli...@live.co.uk<mailto:m.gilli...@live.co.uk>> wrote:

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


From: Robert Trevellyan 
<robert.trevell...@gmail.com<mailto: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

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 <robert.trevell...@gmail.com>
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 
<m.gilli...@live.co.uk<mailto:m.gilli...@live.co.uk>> wrote:

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


From: Robert Trevellyan 
<robert.trevell...@gmail.com<mailto: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
> /
>

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

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




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 <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
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-12 Thread Marc Gilliatt
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>
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/


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

2018-03-12 Thread Marc Gilliatt
I copied it to the authorized keys file, and I can successfully ssh to my 
client as the backuppc user.

However, when I went to run my first full backup of my client, I am getting the 
following error...


2018-03-12 15:43:48 Created directory 
/var/lib/backuppc/pc/ukgitlab2<http://10.16.0.163/BackupPC_Admin?host=ukgitlab2>/refCnt
2018-03-12 15:43:49 Can't find host 
ukgitlab2<http://10.16.0.163/BackupPC_Admin?host=ukgitlab2> via NS and netbios
2018-03-12 15:43:49 can't ping  (client = 
ukgitlab2<http://10.16.0.163/BackupPC_Admin?host=ukgitlab2>); exiting
2018-03-12 15:45:14 Can't find host 
ukgitlab2<http://10.16.0.163/BackupPC_Admin?host=ukgitlab2> via NS and netbios
2018-03-12 15:45:14 can't ping  (client = 
ukgitlab2<http://10.16.0.163/BackupPC_Admin?host=ukgitlab2>); exiting

I can now ssh to my client successfully though?

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

It should go in the authorized_keys file, not the known_hosts file.

Robert Trevellyan

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

Sorry my mistake, I have now corrected myself, and I have copied the RSA key 
from the bakcuppc user and pasted it in the known hosts file for my client I 
would like backing up, however, I am still getting the Permission denied 
(publickey,password) error when I try to ssh into my client?


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

The public key you need to copy is the one for the backuppc user, not the root 
user, because it's the backuppc user that's going to be making the connection 
(yes, you will add it to the root user's authorized_keys on the client, because 
bacuppc will sign into the client as root).

Your initial error report shows this:
/usr/bin/ssh-copy-id: INFO: Source of key(s) to be installed: 
"/var/lib/backuppc/.ssh/id_rsa.pub"

This shows that it's trying to copy the key from the correct place. On my BPC4 
install, /var/lib/backuppc is symlinked to /srv/backuppc, which is why I asked 
if you were working in that folder, i.e. did you 'cd /srv/backuppc' (or 'cd 
/var/lib/backuppc')?


On Mon, Mar 12, 2018 at 10:09 AM, Marc Gilliatt 
<m.gilli...@live.co.uk<mailto:m.gilli...@live.co.uk>> 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 then switched users to backuppc, and tried to ssh to my host, however, I was 
still getting Permission denied (publickey,password).


From: Robert Trevellyan 
<robert.trevell...@gmail.com<mailto:robert.trevell...@gmail.com>>
Sent: 12 March 2018 13:56:57

To: General list for user discussion, questions and support
Subject: Re: [BackupPC-users] Can't switch users to BackupPC in terminal?

Are you working in /srv/backuppc?

What is the error message?

If necessary, copy the public key to a regular text file, send that to the 
host, then log into the host and append it to the authorized_keys file.

Robert Trevellyan

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

Hi Robert,


I tried what you had mentioned, but sadly that didn't work. I'm still getting 
permission denied when I try to copy the RSA key to my host.


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

You can work around this using something like this:

rsync .ssh/id_rsa.pub root@10.16.0.16:/root
ssh root@10.16.0.16<mailto:root@10.16.0.16>
cat id_rsa.pub >> .ssh/authorized_keys
rm id_rsa.pub
exit

Robert Trevellyan

On Thu, Mar 8, 2018 at 6:05 AM, Marc Gilliatt 
<m.gilli...@live.co.uk<mailto:m.gilli...@live.co.uk>> wrote:

So I've tried to copy my RSA key to one of my hosts whilst I was root, and that 
worked fine, I could successfully ssh into that host. However, when I switch 
users to backuppc, and try to copy the RS key to that same host, I still get 
the same error as stated in my previous email.


/usr/bin/ssh-co

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

2018-03-12 Thread Marc Gilliatt
Sorry my mistake, I have now corrected myself, and I have copied the RSA key 
from the bakcuppc user and pasted it in the known hosts file for my client I 
would like backing up, however, I am still getting the Permission denied 
(publickey,password) error when I try to ssh into my client?


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

The public key you need to copy is the one for the backuppc user, not the root 
user, because it's the backuppc user that's going to be making the connection 
(yes, you will add it to the root user's authorized_keys on the client, because 
bacuppc will sign into the client as root).

Your initial error report shows this:
/usr/bin/ssh-copy-id: INFO: Source of key(s) to be installed: 
"/var/lib/backuppc/.ssh/id_rsa.pub"

This shows that it's trying to copy the key from the correct place. On my BPC4 
install, /var/lib/backuppc is symlinked to /srv/backuppc, which is why I asked 
if you were working in that folder, i.e. did you 'cd /srv/backuppc' (or 'cd 
/var/lib/backuppc')?


On Mon, Mar 12, 2018 at 10:09 AM, Marc Gilliatt 
<m.gilli...@live.co.uk<mailto:m.gilli...@live.co.uk>> 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 then switched users to backuppc, and tried to ssh to my host, however, I was 
still getting Permission denied (publickey,password).


From: Robert Trevellyan 
<robert.trevell...@gmail.com<mailto:robert.trevell...@gmail.com>>
Sent: 12 March 2018 13:56:57

To: General list for user discussion, questions and support
Subject: Re: [BackupPC-users] Can't switch users to BackupPC in terminal?

Are you working in /srv/backuppc?

What is the error message?

If necessary, copy the public key to a regular text file, send that to the 
host, then log into the host and append it to the authorized_keys file.

Robert Trevellyan

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

Hi Robert,


I tried what you had mentioned, but sadly that didn't work. I'm still getting 
permission denied when I try to copy the RSA key to my host.


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

You can work around this using something like this:

rsync .ssh/id_rsa.pub root@10.16.0.16:/root
ssh root@10.16.0.16<mailto:root@10.16.0.16>
cat id_rsa.pub >> .ssh/authorized_keys
rm id_rsa.pub
exit

Robert Trevellyan

On Thu, Mar 8, 2018 at 6:05 AM, Marc Gilliatt 
<m.gilli...@live.co.uk<mailto:m.gilli...@live.co.uk>> wrote:

So I've tried to copy my RSA key to one of my hosts whilst I was root, and that 
worked fine, I could successfully ssh into that host. However, when I switch 
users to backuppc, and try to copy the RS key to that same host, I still get 
the same error as stated in my previous email.


/usr/bin/ssh-copy-id: INFO: Source of key(s) to be installed: 
"/var/lib/backuppc/.ssh/id_rsa.pub"
/usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter 
out any that are already installed
/usr/bin/ssh-copy-id: INFO: 1 key(s) remain to be installed -- if you are 
prompted now it is to install the new keys
Permission denied (publickey,password).
$ ssh root@10.16.0.16<mailto:root@10.16.0.16>

I don't know why I cant copy my RSA key to my host whilst I am the backuppc 
user?



From: Marc Gilliatt <m.gilli...@live.co.uk<mailto:m.gilli...@live.co.uk>>
Sent: 05 March 2018 10:54:23
To: 
backuppc-users@lists.sourceforge.net<mailto:backuppc-users@lists.sourceforge.net>
Subject: Re: Can't switch users to BackupPC in terminal?


I tried using su - backuppc -s /bin/sh instead and that worked, it allowed me 
to switch users to backuppc, however, when I try to copy the RSA key to my 
hosts I'm getting...


/usr/bin/ssh-copy-id: INFO: Source of key(s) to be installed: 
"/var/lib/backuppc/.ssh/id_rsa.pub"
/usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter 
out any that are already installed
/usr/bin/ssh-copy-id: INFO: 1 key(s) remain to be installed -- if you are 
prompted now it is to install the new keys
Permission denied (publickey,password).



__

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

2018-03-12 Thread Marc Gilliatt
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 then switched users to backuppc, and tried to ssh to my host, however, I was 
still getting Permission denied (publickey,password).


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

Are you working in /srv/backuppc?

What is the error message?

If necessary, copy the public key to a regular text file, send that to the 
host, then log into the host and append it to the authorized_keys file.

Robert Trevellyan

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

Hi Robert,


I tried what you had mentioned, but sadly that didn't work. I'm still getting 
permission denied when I try to copy the RSA key to my host.


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

You can work around this using something like this:

rsync .ssh/id_rsa.pub root@10.16.0.16:/root
ssh root@10.16.0.16<mailto:root@10.16.0.16>
cat id_rsa.pub >> .ssh/authorized_keys
rm id_rsa.pub
exit

Robert Trevellyan

On Thu, Mar 8, 2018 at 6:05 AM, Marc Gilliatt 
<m.gilli...@live.co.uk<mailto:m.gilli...@live.co.uk>> wrote:

So I've tried to copy my RSA key to one of my hosts whilst I was root, and that 
worked fine, I could successfully ssh into that host. However, when I switch 
users to backuppc, and try to copy the RS key to that same host, I still get 
the same error as stated in my previous email.


/usr/bin/ssh-copy-id: INFO: Source of key(s) to be installed: 
"/var/lib/backuppc/.ssh/id_rsa.pub"
/usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter 
out any that are already installed
/usr/bin/ssh-copy-id: INFO: 1 key(s) remain to be installed -- if you are 
prompted now it is to install the new keys
Permission denied (publickey,password).
$ ssh root@10.16.0.16<mailto:root@10.16.0.16>

I don't know why I cant copy my RSA key to my host whilst I am the backuppc 
user?



From: Marc Gilliatt <m.gilli...@live.co.uk<mailto:m.gilli...@live.co.uk>>
Sent: 05 March 2018 10:54:23
To: 
backuppc-users@lists.sourceforge.net<mailto:backuppc-users@lists.sourceforge.net>
Subject: Re: Can't switch users to BackupPC in terminal?


I tried using su - backuppc -s /bin/sh instead and that worked, it allowed me 
to switch users to backuppc, however, when I try to copy the RSA key to my 
hosts I'm getting...


/usr/bin/ssh-copy-id: INFO: Source of key(s) to be installed: 
"/var/lib/backuppc/.ssh/id_rsa.pub"
/usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter 
out any that are already installed
/usr/bin/ssh-copy-id: INFO: 1 key(s) remain to be installed -- if you are 
prompted now it is to install the new keys
Permission denied (publickey,password).




From: Marc Gilliatt <m.gilli...@live.co.uk<mailto:m.gilli...@live.co.uk>>
Sent: 05 March 2018 09:00:52
To: 
backuppc-users@lists.sourceforge.net<mailto:backuppc-users@lists.sourceforge.net>
Subject: [BackupPC-users] Can't switch users to BackupPC in terminal?


I've installed BackupPC 4 and I cant switch users to backuppc to add hosts?


I've tried...


su - backuppc


but it just keeps going back to the terminal, it never switches users.


I've tried adding hosts via the GUI, and for some reason, the backups are 
failing giving the same error message...

2018-03-05 09:00:01 Can't find host 
ukat2<http://10.16.0.163/BackupPC_Admin?host=ukat2> via NS and netbios
2018-03-05 09:00:01 can't ping  (client = 
ukat2<http://10.16.0.163/BackupPC_Admin?host=ukat2>); exiting

Not sure what I'm doing wrong?

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



---

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

2018-03-12 Thread Marc Gilliatt
Hi Robert,


I tried what you had mentioned, but sadly that didn't work. I'm still getting 
permission denied when I try to copy the RSA key to my host.


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

You can work around this using something like this:

rsync .ssh/id_rsa.pub root@10.16.0.16:/root
ssh root@10.16.0.16<mailto:root@10.16.0.16>
cat id_rsa.pub >> .ssh/authorized_keys
rm id_rsa.pub
exit

Robert Trevellyan

On Thu, Mar 8, 2018 at 6:05 AM, Marc Gilliatt 
<m.gilli...@live.co.uk<mailto:m.gilli...@live.co.uk>> wrote:

So I've tried to copy my RSA key to one of my hosts whilst I was root, and that 
worked fine, I could successfully ssh into that host. However, when I switch 
users to backuppc, and try to copy the RS key to that same host, I still get 
the same error as stated in my previous email.


/usr/bin/ssh-copy-id: INFO: Source of key(s) to be installed: 
"/var/lib/backuppc/.ssh/id_rsa.pub"
/usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter 
out any that are already installed
/usr/bin/ssh-copy-id: INFO: 1 key(s) remain to be installed -- if you are 
prompted now it is to install the new keys
Permission denied (publickey,password).
$ ssh root@10.16.0.16<mailto:root@10.16.0.16>

I don't know why I cant copy my RSA key to my host whilst I am the backuppc 
user?


____
From: Marc Gilliatt <m.gilli...@live.co.uk<mailto:m.gilli...@live.co.uk>>
Sent: 05 March 2018 10:54:23
To: 
backuppc-users@lists.sourceforge.net<mailto:backuppc-users@lists.sourceforge.net>
Subject: Re: Can't switch users to BackupPC in terminal?


I tried using su - backuppc -s /bin/sh instead and that worked, it allowed me 
to switch users to backuppc, however, when I try to copy the RSA key to my 
hosts I'm getting...


/usr/bin/ssh-copy-id: INFO: Source of key(s) to be installed: 
"/var/lib/backuppc/.ssh/id_rsa.pub"
/usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter 
out any that are already installed
/usr/bin/ssh-copy-id: INFO: 1 key(s) remain to be installed -- if you are 
prompted now it is to install the new keys
Permission denied (publickey,password).




From: Marc Gilliatt <m.gilli...@live.co.uk<mailto:m.gilli...@live.co.uk>>
Sent: 05 March 2018 09:00:52
To: 
backuppc-users@lists.sourceforge.net<mailto:backuppc-users@lists.sourceforge.net>
Subject: [BackupPC-users] Can't switch users to BackupPC in terminal?


I've installed BackupPC 4 and I cant switch users to backuppc to add hosts?


I've tried...


su - backuppc


but it just keeps going back to the terminal, it never switches users.


I've tried adding hosts via the GUI, and for some reason, the backups are 
failing giving the same error message...

2018-03-05 09:00:01 Can't find host 
ukat2<http://10.16.0.163/BackupPC_Admin?host=ukat2> via NS and netbios
2018-03-05 09:00:01 can't ping  (client = 
ukat2<http://10.16.0.163/BackupPC_Admin?host=ukat2>); exiting

Not sure what I'm doing wrong?

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


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

2018-03-08 Thread Marc Gilliatt
So I've tried to copy my RSA key to one of my hosts whilst I was root, and that 
worked fine, I could successfully ssh into that host. However, when I switch 
users to backuppc, and try to copy the RS key to that same host, I still get 
the same error as stated in my previous email.


/usr/bin/ssh-copy-id: INFO: Source of key(s) to be installed: 
"/var/lib/backuppc/.ssh/id_rsa.pub"
/usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter 
out any that are already installed
/usr/bin/ssh-copy-id: INFO: 1 key(s) remain to be installed -- if you are 
prompted now it is to install the new keys
Permission denied (publickey,password).
$ ssh root@10.16.0.16

I don't know why I cant copy my RSA key to my host whilst I am the backuppc 
user?


____
From: Marc Gilliatt <m.gilli...@live.co.uk>
Sent: 05 March 2018 10:54:23
To: backuppc-users@lists.sourceforge.net
Subject: Re: Can't switch users to BackupPC in terminal?


I tried using su - backuppc -s /bin/sh instead and that worked, it allowed me 
to switch users to backuppc, however, when I try to copy the RSA key to my 
hosts I'm getting...


/usr/bin/ssh-copy-id: INFO: Source of key(s) to be installed: 
"/var/lib/backuppc/.ssh/id_rsa.pub"
/usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter 
out any that are already installed
/usr/bin/ssh-copy-id: INFO: 1 key(s) remain to be installed -- if you are 
prompted now it is to install the new keys
Permission denied (publickey,password).



____
From: Marc Gilliatt <m.gilli...@live.co.uk>
Sent: 05 March 2018 09:00:52
To: backuppc-users@lists.sourceforge.net
Subject: [BackupPC-users] Can't switch users to BackupPC in terminal?


I've installed BackupPC 4 and I cant switch users to backuppc to add hosts?


I've tried...


su - backuppc


but it just keeps going back to the terminal, it never switches users.


I've tried adding hosts via the GUI, and for some reason, the backups are 
failing giving the same error message...

2018-03-05 09:00:01 Can't find host 
ukat2<http://10.16.0.163/BackupPC_Admin?host=ukat2> via NS and netbios
2018-03-05 09:00:01 can't ping  (client = 
ukat2<http://10.16.0.163/BackupPC_Admin?host=ukat2>); exiting

Not sure what I'm doing wrong?
--
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-05 Thread Marc Gilliatt
I tried using su - backuppc -s /bin/sh instead and that worked, it allowed me 
to switch users to backuppc, however, when I try to copy the RSA key to my 
hosts I'm getting...


/usr/bin/ssh-copy-id: INFO: Source of key(s) to be installed: 
"/var/lib/backuppc/.ssh/id_rsa.pub"
/usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter 
out any that are already installed
/usr/bin/ssh-copy-id: INFO: 1 key(s) remain to be installed -- if you are 
prompted now it is to install the new keys
Permission denied (publickey,password).



____
From: Marc Gilliatt <m.gilli...@live.co.uk>
Sent: 05 March 2018 09:00:52
To: backuppc-users@lists.sourceforge.net
Subject: [BackupPC-users] Can't switch users to BackupPC in terminal?


I've installed BackupPC 4 and I cant switch users to backuppc to add hosts?


I've tried...


su - backuppc


but it just keeps going back to the terminal, it never switches users.


I've tried adding hosts via the GUI, and for some reason, the backups are 
failing giving the same error message...

2018-03-05 09:00:01 Can't find host 
ukat2<http://10.16.0.163/BackupPC_Admin?host=ukat2> via NS and netbios
2018-03-05 09:00:01 can't ping  (client = 
ukat2<http://10.16.0.163/BackupPC_Admin?host=ukat2>); exiting

Not sure what I'm doing wrong?
--
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/


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

2018-03-05 Thread Marc Gilliatt
I've installed BackupPC 4 and I cant switch users to backuppc to add hosts?


I've tried...


su - backuppc


but it just keeps going back to the terminal, it never switches users.


I've tried adding hosts via the GUI, and for some reason, the backups are 
failing giving the same error message...

2018-03-05 09:00:01 Can't find host 
ukat2 via NS and netbios
2018-03-05 09:00:01 can't ping  (client = 
ukat2); exiting

Not sure what I'm doing wrong?
--
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] Upgrading to backuppc-4.1.3 FAILED!

2018-03-01 Thread Marc Gilliatt
So I've since removed every instance of BackupPC from my server, all my backups 
and config files have gone.


I have installed BackupPC 4 from a script I've seen from Github, and I cannot 
connect to the GUI whatsoever, it mentions on the webpage...

Not Found
The requested URL /BackupPC_Admin was not found on this server.

Apache/2.4.18 (Ubuntu) Server at 10.16.0.163 Port 80


I have also seen that the BackupPC service is still not running...


● backuppc.service
   Loaded: not-found (Reason: No such file or directory)
   Active: failed (Result: exit-code) since Tue 2018-02-20 12:44:10 GMT; 1 
weeks 2 days ago

Feb 20 12:44:10 backuppc01 systemd[1]: Starting LSB: Launch backuppc server...
Feb 20 12:44:10 backuppc01 backuppc[45980]: Starting backuppc: 2018-02-20 
12:44:10 Another BackupPC is running (pid 45589); quitting...
Feb 20 12:44:10 backuppc01 systemd[1]: backuppc.service: Control process 
exited, code=exited status=1
Feb 20 12:44:10 backuppc01 systemd[1]: Failed to start LSB: Launch backuppc 
server.
Feb 20 12:44:10 backuppc01 systemd[1]: backuppc.service: Unit entered failed 
state.
Feb 20 12:44:10 backuppc01 systemd[1]: backuppc.service: Failed with result 
'exit-code'.
Mar 01 13:26:37 backuppc01 systemd[1]: Stopped LSB: Launch backuppc server.

I feel like I've tried everything to resolve this issue regarding a simple 
upgrade of this software. I feel my last resort now is to completely re-raid my 
server and start fresh with a new install of Ubuntu and BackupPC. Is there 
anything I can do to get BackupPC to work, please?


From: Marc Gilliatt <m.gilli...@live.co.uk>
Sent: 19 February 2018 09:45:45
To: General list for user discussion, questions and support
Subject: Re: [BackupPC-users] Upgrading to backuppc-4.1.3 FAILED!


Ive just installed the backuppc 4 from a script I found online from 
git(https://github.com/backuppc/backuppc/wiki/Installing-BackupPC-4-from-git-on-Ubuntu-Xenial-16.04-LTS).
 ASfter running the script, Im not longer getting the internal error in the 
GUI, I am now getting...


Error: Unable to connect to BackupPC server

This CGI script (/backuppc/index.cgi) is unable to connect to the BackupPC 
server on backuppc01 port -1.
The error was: unix connect: No such file or directory.
Perhaps the BackupPC server is not running or there is a configuration error. 
Please report this to your Sys Admin.


I feel I am slowly but steadily making progressI'm still unsure on how to 
correct the issue I'm having with both the GUI and when I run service backuppc 
status in the command line, I am still getting


● backuppc.service - LSB: Launch backuppc server
   Loaded: loaded (/etc/init.d/backuppc; bad; vendor preset: enabled)
   Active: failed (Result: exit-code) since Mon 2018-02-19 09:29:16 GMT; 14min 
ago
 Docs: man:systemd-sysv-generator(8)
  Process: 37768 ExecStart=/etc/init.d/backuppc start (code=exited, 
status=1/FAILURE)

Feb 19 09:29:16 backuppc01 systemd[1]: Starting LSB: Launch backuppc server...
Feb 19 09:29:16 backuppc01 backuppc[37768]:  * Starting backuppc...
Feb 19 09:29:16 backuppc01 backuppc[37768]: BackupPC cannot be started because 
important parameters are missing from c
Feb 19 09:29:16 backuppc01 backuppc[37768]: If you just upgraded BackupPC, 
please update /etc/backuppc/config.pl.
Feb 19 09:29:16 backuppc01 systemd[1]: backuppc.service: Control process 
exited, code=exited status=1
Feb 19 09:29:16 backuppc01 systemd[1]: Failed to start LSB: Launch backuppc 
server.
Feb 19 09:29:16 backuppc01 systemd[1]: backuppc.service: Unit entered failed 
state.
Feb 19 09:29:16 backuppc01 systemd[1]: backuppc.service: Failed with result 
'exit-code'.


[https://avatars2.githubusercontent.com/u/3910596?s=400=4]<https://github.com/backuppc/backuppc/wiki/Installing-BackupPC-4-from-git-on-Ubuntu-Xenial-16.04-LTS>

Installing BackupPC 4 from git on Ubuntu Xenial 16.04 LTS 
...<https://github.com/backuppc/backuppc/wiki/Installing-BackupPC-4-from-git-on-Ubuntu-Xenial-16.04-LTS>
github.com
backuppc - BackupPC is a high-performance, enterprise-grade system for backing 
up to a server's disk.


____
From: Marc Gilliatt <m.gilli...@live.co.uk>
Sent: 19 February 2018 09:22:41
To: General list for user discussion, questions and support
Subject: Re: [BackupPC-users] Upgrading to backuppc-4.1.3 FAILED!


I removed the BackupPC 4.1.3 tarball's file, and I've installed the 
backuppc_3.3.1-2ubuntu3_amd64.deb(my previous version) I got from online. When 
I ran it I still receive the following message...


update-rc.d: warning: start and stop actions are no longer supported; falling 
back to defaults
Job for backuppc.service failed because the control process exited with error 
code. See "systemctl status backuppc.service" and "journalctl -xe" for details.
invoke-rc.d: initscript backuppc, action "start" failed.
● backuppc.service - LSB: Launch backuppc server
   Lo

Re: [BackupPC-users] Upgrading to backuppc-4.1.3 FAILED!

2018-02-20 Thread Marc Gilliatt
I'm having no luck whatsoever with my issue, and I was thinking if I completely 
uninstalled all of backuppc, every config file etc, could I install the latest 
version and still keep my previous/archived data, I don't want to lose that?


From: Marc Gilliatt <m.gilli...@live.co.uk>
Sent: 20 February 2018 08:40:01
To: Michael Stowe; General list for user discussion, questions and support
Subject: Re: [BackupPC-users] Upgrading to backuppc-4.1.3 FAILED!


I'm kinda a newbie to all this - how do I extract the relevant scripts from the 
.deb file and install them by hand, please?


From: Michael Stowe <michael.st...@member.mensa.org>
Sent: 19 February 2018 22:56:56
To: General list for user discussion, questions and support
Cc: Marc Gilliatt
Subject: Re: [BackupPC-users] Upgrading to backuppc-4.1.3 FAILED!


On 2018-02-19 02:14, Marc Gilliatt wrote:

I apologise for the bombardment of email/replies. However, I am able to get 
into the GUI now after playing about with backuppc.

I went to back up my Linux servers and they are failing every time I try to do 
a full backup, I'm getting the same error for all my Linux servers:

Backup aborted (fileListReceive failed)

However my Windows share is backing up just fine, I haven't received any errors 
whatsoever and I've checked the top command and its running a BackupPC_tarExt 
dump.

Surprisingly however, I’m still receiving the same failed error message when I 
run service backuppc status?

-

The error you're receiving is fairly generic, you should be able to glean more 
from the details logs. The big things which make rsync not work are usually 
authentication and configuration related, but I can't think of a good reason 
any of that would have changed during an up or downgrade.

The service definition is a different matter — if I were to venture a guess, 
I'd suggest that the upgrade installed v4 service definitions, and the v3 
reinstall did not touch them, for whatever reason (there are a number of 
possibilities: neglecting to run systemctl daemon-reload, v3 doesn't bother if 
it sees they're already installed, v3 uses the sys5 style instead of systemctl, 
or v3 tried but failed.) If I were sorting this out on my systems, I'd probably 
extract the relevant scripts from the .deb file and install them by hand.


--
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] Upgrading to backuppc-4.1.3 FAILED!

2018-02-20 Thread Marc Gilliatt
I'm kinda a newbie to all this - how do I extract the relevant scripts from the 
.deb file and install them by hand, please?


From: Michael Stowe <michael.st...@member.mensa.org>
Sent: 19 February 2018 22:56:56
To: General list for user discussion, questions and support
Cc: Marc Gilliatt
Subject: Re: [BackupPC-users] Upgrading to backuppc-4.1.3 FAILED!


On 2018-02-19 02:14, Marc Gilliatt wrote:

I apologise for the bombardment of email/replies. However, I am able to get 
into the GUI now after playing about with backuppc.

I went to back up my Linux servers and they are failing every time I try to do 
a full backup, I'm getting the same error for all my Linux servers:

Backup aborted (fileListReceive failed)

However my Windows share is backing up just fine, I haven't received any errors 
whatsoever and I've checked the top command and its running a BackupPC_tarExt 
dump.

Surprisingly however, I’m still receiving the same failed error message when I 
run service backuppc status?

-

The error you're receiving is fairly generic, you should be able to glean more 
from the details logs. The big things which make rsync not work are usually 
authentication and configuration related, but I can't think of a good reason 
any of that would have changed during an up or downgrade.

The service definition is a different matter — if I were to venture a guess, 
I'd suggest that the upgrade installed v4 service definitions, and the v3 
reinstall did not touch them, for whatever reason (there are a number of 
possibilities: neglecting to run systemctl daemon-reload, v3 doesn't bother if 
it sees they're already installed, v3 uses the sys5 style instead of systemctl, 
or v3 tried but failed.) If I were sorting this out on my systems, I'd probably 
extract the relevant scripts from the .deb file and install them by hand.


--
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] Upgrading to backuppc-4.1.3 FAILED!

2018-02-19 Thread Marc Gilliatt
I apologise for the bombardment of email/replies. However, I am able to get 
into the GUI now after playing about with backuppc.


I went to back up my Linux servers and they are failing every time I try to do 
a full backup, I'm getting the same error for all my Linux servers:

Backup aborted (fileListReceive failed)

However my Windows share is backing up just fine, I haven't received any errors 
whatsoever and I've checked the top command and its running a BackupPC_tarExt 
dump.
Surprisingly however, I’m still receiving the same failed error message when I 
run service backuppc status?



From: Marc Gilliatt <m.gilli...@live.co.uk>
Sent: 19 February 2018 09:45:45
To: General list for user discussion, questions and support
Subject: Re: [BackupPC-users] Upgrading to backuppc-4.1.3 FAILED!


Ive just installed the backuppc 4 from a script I found online from 
git(https://github.com/backuppc/backuppc/wiki/Installing-BackupPC-4-from-git-on-Ubuntu-Xenial-16.04-LTS).
 ASfter running the script, Im not longer getting the internal error in the 
GUI, I am now getting...


Error: Unable to connect to BackupPC server

This CGI script (/backuppc/index.cgi) is unable to connect to the BackupPC 
server on backuppc01 port -1.
The error was: unix connect: No such file or directory.
Perhaps the BackupPC server is not running or there is a configuration error. 
Please report this to your Sys Admin.


I feel I am slowly but steadily making progressI'm still unsure on how to 
correct the issue I'm having with both the GUI and when I run service backuppc 
status in the command line, I am still getting


● backuppc.service - LSB: Launch backuppc server
   Loaded: loaded (/etc/init.d/backuppc; bad; vendor preset: enabled)
   Active: failed (Result: exit-code) since Mon 2018-02-19 09:29:16 GMT; 14min 
ago
 Docs: man:systemd-sysv-generator(8)
  Process: 37768 ExecStart=/etc/init.d/backuppc start (code=exited, 
status=1/FAILURE)

Feb 19 09:29:16 backuppc01 systemd[1]: Starting LSB: Launch backuppc server...
Feb 19 09:29:16 backuppc01 backuppc[37768]:  * Starting backuppc...
Feb 19 09:29:16 backuppc01 backuppc[37768]: BackupPC cannot be started because 
important parameters are missing from c
Feb 19 09:29:16 backuppc01 backuppc[37768]: If you just upgraded BackupPC, 
please update /etc/backuppc/config.pl.
Feb 19 09:29:16 backuppc01 systemd[1]: backuppc.service: Control process 
exited, code=exited status=1
Feb 19 09:29:16 backuppc01 systemd[1]: Failed to start LSB: Launch backuppc 
server.
Feb 19 09:29:16 backuppc01 systemd[1]: backuppc.service: Unit entered failed 
state.
Feb 19 09:29:16 backuppc01 systemd[1]: backuppc.service: Failed with result 
'exit-code'.


[https://avatars2.githubusercontent.com/u/3910596?s=400=4]<https://github.com/backuppc/backuppc/wiki/Installing-BackupPC-4-from-git-on-Ubuntu-Xenial-16.04-LTS>

Installing BackupPC 4 from git on Ubuntu Xenial 16.04 LTS 
...<https://github.com/backuppc/backuppc/wiki/Installing-BackupPC-4-from-git-on-Ubuntu-Xenial-16.04-LTS>
github.com
backuppc - BackupPC is a high-performance, enterprise-grade system for backing 
up to a server's disk.


____
From: Marc Gilliatt <m.gilli...@live.co.uk>
Sent: 19 February 2018 09:22:41
To: General list for user discussion, questions and support
Subject: Re: [BackupPC-users] Upgrading to backuppc-4.1.3 FAILED!


I removed the BackupPC 4.1.3 tarball's file, and I've installed the 
backuppc_3.3.1-2ubuntu3_amd64.deb(my previous version) I got from online. When 
I ran it I still receive the following message...


update-rc.d: warning: start and stop actions are no longer supported; falling 
back to defaults
Job for backuppc.service failed because the control process exited with error 
code. See "systemctl status backuppc.service" and "journalctl -xe" for details.
invoke-rc.d: initscript backuppc, action "start" failed.
● backuppc.service - LSB: Launch backuppc server
   Loaded: loaded (/etc/init.d/backuppc; bad; vendor preset: enabled)
   Active: failed (Result: exit-code) since Mon 2018-02-19 09:20:56 GMT; 12ms 
ago
 Docs: man:systemd-sysv-generator(8)
  Process: 6728 ExecStart=/etc/init.d/backuppc start (code=exited, 
status=1/FAILURE)

Feb 19 09:20:56 backuppc01 systemd[1]: Starting LSB: Launch backuppc server...
Feb 19 09:20:56 backuppc01 backuppc[6728]:  * Starting backuppc...
Feb 19 09:20:56 backuppc01 backuppc[6728]: BackupPC cannot be started because 
important parameters are missing from config.pl.
Feb 19 09:20:56 backuppc01 backuppc[6728]: If you just upgraded BackupPC, 
please update /etc/backuppc/config.pl.
Feb 19 09:20:56 backuppc01 systemd[1]: backuppc.service: Control process 
exited, code=exited status=1
Feb 19 09:20:56 backuppc01 systemd[1]: Failed to start LSB: Launch backuppc 
server.
Feb 19 09:20:56 backuppc01 systemd[1]: backuppc.service: Unit entered failed 
state.
Feb 19 09:20:56 backuppc01 s

Re: [BackupPC-users] Upgrading to backuppc-4.1.3 FAILED!

2018-02-19 Thread Marc Gilliatt
I removed the BackupPC 4.1.3 tarball's file, and I've installed the 
backuppc_3.3.1-2ubuntu3_amd64.deb(my previous version) I got from online. When 
I ran it I still receive the following message...


update-rc.d: warning: start and stop actions are no longer supported; falling 
back to defaults
Job for backuppc.service failed because the control process exited with error 
code. See "systemctl status backuppc.service" and "journalctl -xe" for details.
invoke-rc.d: initscript backuppc, action "start" failed.
● backuppc.service - LSB: Launch backuppc server
   Loaded: loaded (/etc/init.d/backuppc; bad; vendor preset: enabled)
   Active: failed (Result: exit-code) since Mon 2018-02-19 09:20:56 GMT; 12ms 
ago
 Docs: man:systemd-sysv-generator(8)
  Process: 6728 ExecStart=/etc/init.d/backuppc start (code=exited, 
status=1/FAILURE)

Feb 19 09:20:56 backuppc01 systemd[1]: Starting LSB: Launch backuppc server...
Feb 19 09:20:56 backuppc01 backuppc[6728]:  * Starting backuppc...
Feb 19 09:20:56 backuppc01 backuppc[6728]: BackupPC cannot be started because 
important parameters are missing from config.pl.
Feb 19 09:20:56 backuppc01 backuppc[6728]: If you just upgraded BackupPC, 
please update /etc/backuppc/config.pl.
Feb 19 09:20:56 backuppc01 systemd[1]: backuppc.service: Control process 
exited, code=exited status=1
Feb 19 09:20:56 backuppc01 systemd[1]: Failed to start LSB: Launch backuppc 
server.
Feb 19 09:20:56 backuppc01 systemd[1]: backuppc.service: Unit entered failed 
state.
Feb 19 09:20:56 backuppc01 systemd[1]: backuppc.service: Failed with result 
'exit-code'.
dpkg: error processing package backuppc (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 backuppc
E: Sub-process /usr/bin/dpkg returned an error code (1)

I'm not too sure about what I have done wrong?


From: Michael Stowe <michael.st...@member.mensa.org>
Sent: 16 February 2018 21:52:58
To: General list for user discussion, questions and support
Subject: Re: [BackupPC-users] Upgrading to backuppc-4.1.3 FAILED!


On 2018-02-16 01:05, Marc Gilliatt wrote:

I've just tried the _/configure.pl --batch --cgi-dir
/var/www/cgi-bin/BackupPC --data-dir /var/lib/backuppc --backuppc01
backuppc  --html-dir /var/www/html/BackupPC' _command, and it hasn't
worked I'm afraid, I tried reinstalling the Bakcuppc-41.3 tar file
again, and gave it the full correct paths, and when I try to restart
the service I'm still getting _Job for backuppc.service failed

because

the control process exited with error code. See "systemctl status
backuppc.service" and "_journalctl_ -_xe_" for details. _With

regards

to the SCGI port number, do I set it to -1 or give it a port number?

__And I'm still getting the internal error in the GUI. I don't
understand why this has happened, all I did was upgraded the

software,

it looks like I'm going to have to re-raid my server and start
fresh!!!

Is there any way to roll back to my previous version of BackupPC
please?
-

Moving from an installation package to a source-based install can be a bit of a 
trial, depending on how much the norms of that distro and packaging system 
deviate from the tarball. Version 4 is a fairly dramatic leap as well, which 
complicates things further.

First, though, I'll address your question and give you the good news: since you 
never actually launched BackupPC 4, your repository is instact and in the 
expected location for your distro. Therefore, to revert to the previous 
version, you need only delete the tarball's files, and install the distro's 
version.

N.B. preserve your config.pl and return it to its original location, as your 
distro may assume it is a new installation and do god-knows-what to your 
config.pl. Some are kinder than others.

—

The SCGI question is a bit harder to answer without knowing what other choices 
you've made. Since I have set up SCGI, I match the port to what I have set up 
within Apache… which can be anything, as long as the number in Apache and in 
config.pl are the same. If I had not set up SCGI, I'd set it to -1.


--
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] Upgrading to backuppc-4.1.3 FAILED!

2018-02-16 Thread Marc Gilliatt
Also, I checked the Apache log for every time I reload the GUI, and the error 
I'm getting is...


==> /var/log/apache2/error.log <==
[Fri Feb 16 09:12:41.868457 2018] [cgid:error] [pid 65501:tid 140267832579968] 
(13)Permission denied: AH01241: exec of '/usr/share/backuppc/cgi-bin/index.cgi' 
failed
[Fri Feb 16 09:12:41.869199 2018] [cgid:error] [pid 65386:tid 140267625625344] 
[client 10.16.5.21:22444] End of script output before headers: index.cgi

==> /var/log/apache2/access.log <==
10.16.5.21 - backuppc [16/Feb/2018:09:12:41 +] "GET 
/backuppc/index.cgi?action=summary HTTP/1.1" 500 809 "-" "Mozilla/5.0 (Windows 
NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) 
Chrome/64.0.3282.140 Safari/537.36"

____
From: Marc Gilliatt <m.gilli...@live.co.uk>
Sent: 16 February 2018 09:05:19
To: Michael Stowe
Cc: General list for user discussion, questions and support
Subject: Re: [BackupPC-users] Upgrading to backuppc-4.1.3 FAILED!


I've just tried the /configure.pl --batch --cgi-dir /var/www/cgi-bin/BackupPC 
--data-dir /var/lib/backuppc --backuppc01 backuppc  --html-dir 
/var/www/html/BackupPC' command, and it hasn't worked I'm afraid, I tried 
reinstalling the Bakcuppc-41.3 tar file again, and gave it the full correct 
paths, and when I try to restart the service I'm still getting Job for 
backuppc.service failed because the control process exited with error code. See 
"systemctl status backuppc.service" and "journalctl -xe" for details. With 
regards to the SCGI port number, do I set it to -1 or give it a port number?


And I'm still getting the internal error in the GUI. I don't understand why 
this has happened, all I did was upgraded the software, it looks like I'm going 
to have to re-raid my server and start fresh!!!


Is there any way to roll back to my previous version of BackupPC please?


From: Michael Stowe <michael.st...@member.mensa.org>
Sent: 15 February 2018 06:23:19
To: Marc Gilliatt
Cc: General list for user discussion, questions and support
Subject: Re: [BackupPC-users] Upgrading to backuppc-4.1.3 FAILED!


FROM: Michael Stowe <michael.st...@member.mensa.org> SENT: 13 February 2018 
09:01 TO: Marc Gilliatt CC: General list for user discussion, questions and 
support SUBJECT: Re: [BackupPC-users] Upgrading to backuppc-4.1.3 FAILED!

On 2018-02-13 00:34, Marc Gilliatt wrote:

So can I just install the tar file again then, and when it asks me for the 
_Full path to existing main config.pl []? _should I put what you had mentioned?

My suggestion is yes, give it a whirl.

More accurately, I'd suggest saving a copy of your current config.pl, so you 
can try again if anything goes awry. Also, depending on what procedure or 
script you're using, you may want to examine it to see if it has options to 
update your config.pl or assume you need a new one, as the one from which that 
command line came. It doesn't need to be done at the same time as the tar 
installation, but it won't hurt to go through the steps again, either.

On 2018-02-14 04:18, Marc Gilliatt wrote:

When I try and give it the full path to the config.pl path and I press enter. 
It's just repeating the path I have given it, it's not moving on to the next 
step of the installation?

Example:

--> Full path to existing main config.pl []? /configure.pl --batch --cgi-dir 
/var/www/cgi-bin/BackupPC --data-dir /var/lib/backuppc --backuppc01 backuppc 
--html-dir /var/www/html/BackupPC The file ‘/configure.pl --batch --cgi-dir 
/var/www/cgi-bin/BackupPC --data-dir /var/lib/backuppc --backuppc01 backuppc 
--html-dir /var/www/html/BackupPC’ doesn't exist.

Is this a new installation or upgrade for BackupPC? If this is an upgrade 
please tell me the full path of the existing BackupPC configuration file (eg: 
/etc/BackupPC/config.pl). Otherwise, just hit return.

--> Full path to existing main config.pl [/configure.pl --batch --cgi-dir 
/var/www/cgi-bin/BackupPC --data-dir /var/lib/backuppc --backuppc01 backuppc 
--html-dir /var/www/html/BackupPC]? The file ‘/configure.pl --batch --cgi-dir 
/var/www/cgi-bin/BackupPC --data-dir /var/lib/backuppc --backuppc01 backuppc 
--html-dir /var/www/html/BackupPC’ doesn't exist.

Is this a new installation or upgrade for BackupPC? If this is an upgrade 
please tell me the full path of the existing BackupPC configuration file (eg: 
/etc/BackupPC/config.pl). Otherwise, just hit return.

It just keeps repeating itself?

I believe I misunderstood what you were asking. When it asks for the full path, 
just give it the full path to your config.pl, which is likely to be something 
like /etc/BackupPC/config.pl — I'm not sure what the Ubuntu convention is, so 
you might need to locate it first. What I provided was a command line that 
would process a config.pl in the current di

Re: [BackupPC-users] Upgrading to backuppc-4.1.3 FAILED!

2018-02-16 Thread Marc Gilliatt
I've just tried the /configure.pl --batch --cgi-dir /var/www/cgi-bin/BackupPC 
--data-dir /var/lib/backuppc --backuppc01 backuppc  --html-dir 
/var/www/html/BackupPC' command, and it hasn't worked I'm afraid, I tried 
reinstalling the Bakcuppc-41.3 tar file again, and gave it the full correct 
paths, and when I try to restart the service I'm still getting Job for 
backuppc.service failed because the control process exited with error code. See 
"systemctl status backuppc.service" and "journalctl -xe" for details. With 
regards to the SCGI port number, do I set it to -1 or give it a port number?


And I'm still getting the internal error in the GUI. I don't understand why 
this has happened, all I did was upgraded the software, it looks like I'm going 
to have to re-raid my server and start fresh!!!


Is there any way to roll back to my previous version of BackupPC please?


From: Michael Stowe <michael.st...@member.mensa.org>
Sent: 15 February 2018 06:23:19
To: Marc Gilliatt
Cc: General list for user discussion, questions and support
Subject: Re: [BackupPC-users] Upgrading to backuppc-4.1.3 FAILED!


FROM: Michael Stowe <michael.st...@member.mensa.org> SENT: 13 February 2018 
09:01 TO: Marc Gilliatt CC: General list for user discussion, questions and 
support SUBJECT: Re: [BackupPC-users] Upgrading to backuppc-4.1.3 FAILED!

On 2018-02-13 00:34, Marc Gilliatt wrote:

So can I just install the tar file again then, and when it asks me for the 
_Full path to existing main config.pl []? _should I put what you had mentioned?

My suggestion is yes, give it a whirl.

More accurately, I'd suggest saving a copy of your current config.pl, so you 
can try again if anything goes awry. Also, depending on what procedure or 
script you're using, you may want to examine it to see if it has options to 
update your config.pl or assume you need a new one, as the one from which that 
command line came. It doesn't need to be done at the same time as the tar 
installation, but it won't hurt to go through the steps again, either.

On 2018-02-14 04:18, Marc Gilliatt wrote:

When I try and give it the full path to the config.pl path and I press enter. 
It's just repeating the path I have given it, it's not moving on to the next 
step of the installation?

Example:

--> Full path to existing main config.pl []? /configure.pl --batch --cgi-dir 
/var/www/cgi-bin/BackupPC --data-dir /var/lib/backuppc --backuppc01 backuppc 
--html-dir /var/www/html/BackupPC The file ‘/configure.pl --batch --cgi-dir 
/var/www/cgi-bin/BackupPC --data-dir /var/lib/backuppc --backuppc01 backuppc 
--html-dir /var/www/html/BackupPC’ doesn't exist.

Is this a new installation or upgrade for BackupPC? If this is an upgrade 
please tell me the full path of the existing BackupPC configuration file (eg: 
/etc/BackupPC/config.pl). Otherwise, just hit return.

--> Full path to existing main config.pl [/configure.pl --batch --cgi-dir 
/var/www/cgi-bin/BackupPC --data-dir /var/lib/backuppc --backuppc01 backuppc 
--html-dir /var/www/html/BackupPC]? The file ‘/configure.pl --batch --cgi-dir 
/var/www/cgi-bin/BackupPC --data-dir /var/lib/backuppc --backuppc01 backuppc 
--html-dir /var/www/html/BackupPC’ doesn't exist.

Is this a new installation or upgrade for BackupPC? If this is an upgrade 
please tell me the full path of the existing BackupPC configuration file (eg: 
/etc/BackupPC/config.pl). Otherwise, just hit return.

It just keeps repeating itself?

I believe I misunderstood what you were asking. When it asks for the full path, 
just give it the full path to your config.pl, which is likely to be something 
like /etc/BackupPC/config.pl — I'm not sure what the Ubuntu convention is, so 
you might need to locate it first. What I provided was a command line that 
would process a config.pl in the current directory, that you may need to tailor 
to your current paths. Sorry about the confusion.


--
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] Upgrading to backuppc-4.1.3 FAILED!

2018-02-15 Thread Marc Gilliatt
When I try and give it the full path to the config.pl path and I press enter. 
It's just repeating the path I have given it, it's not moving on to the next 
step of the installation?

Example:
--> Full path to existing main config.pl []? /configure.pl --batch --cgi-dir 
/var/www/cgi-bin/BackupPC --data-dir /var/lib/backuppc --backuppc01 backuppc  
--html-dir /var/www/html/BackupPC
The file '/configure.pl --batch --cgi-dir /var/www/cgi-bin/BackupPC --data-dir 
/var/lib/backuppc --backuppc01 backuppc  --html-dir /var/www/html/BackupPC' 
doesn't exist.

Is this a new installation or upgrade for BackupPC?  If this is
an upgrade please tell me the full path of the existing BackupPC
configuration file (eg: /etc/BackupPC/config.pl).  Otherwise, just
hit return.

--> Full path to existing main config.pl [/configure.pl --batch --cgi-dir 
/var/www/cgi-bin/BackupPC --data-dir /var/lib/backuppc --backuppc01 backuppc  
--html-dir /var/www/html/BackupPC]?
The file '/configure.pl --batch --cgi-dir /var/www/cgi-bin/BackupPC --data-dir 
/var/lib/backuppc --backuppc01 backuppc  --html-dir /var/www/html/BackupPC' 
doesn't exist.

Is this a new installation or upgrade for BackupPC?  If this is
an upgrade please tell me the full path of the existing BackupPC
configuration file (eg: /etc/BackupPC/config.pl).  Otherwise, just
hit return.

It just keeps repeating itself?

From: Michael Stowe <michael.st...@member.mensa.org>
Sent: 13 February 2018 09:01
To: Marc Gilliatt
Cc: General list for user discussion, questions and support
Subject: Re: [BackupPC-users] Upgrading to backuppc-4.1.3 FAILED!


On 2018-02-13 00:34, Marc Gilliatt wrote:

So can I just install the tar file again then, and when it asks me for the 
_Full path to existing main config.pl []? _should I put what you had mentioned?

My suggestion is yes, give it a whirl.

More accurately, I'd suggest saving a copy of your current config.pl, so you 
can try again if anything goes awry. Also, depending on what procedure or 
script you're using, you may want to examine it to see if it has options to 
update your config.pl or assume you need a new one, as the one from which that 
command line came. It doesn't need to be done at the same time as the tar 
installation, but it won't hurt to go through the steps again, either.


--
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] Upgrading to backuppc-4.1.3 FAILED!

2018-02-13 Thread Marc Gilliatt
So can I just install the tar file again then, and when it asks me for the Full 
path to existing main config.pl []? should I put what you had mentioned?

e.g.
--> Full path to existing main config.pl []?
/configure.pl --batch --cgi-dir /var/www/cgi-bin/BackupPC --data-dir 
/var/lib/backuppc --hostname backuppc --html-dir /var/www/html/BackupPC

From: Michael Stowe <michael.st...@member.mensa.org>
Sent: 12 February 2018 21:28
To: Marc Gilliatt
Cc: General list for user discussion, questions and support
Subject: Re: [BackupPC-users] Upgrading to backuppc-4.1.3 FAILED!


On 2018-02-12 12:18, Marc Gilliatt wrote:

Thanks for the quick response.

How do I update the config.pl file, please?

I'm not sure what upgrade instructions you followed, which may have more 
specific notes, but the usual course of action when installing from the tarball 
is this:

# When upgrading, use this instead: # ./configure.pl --batch --config-path 
/etc/BackupPC/config.pl

I note that in one of the popular Ubuntu upgrade scripts, it's commented just 
like that, so it may have attempted to install as new. I'm not sure what 
happens when that's attempted and a config.pl already exists, but if the above 
doesn't work (remove the # at the beginning of the second line, obviously) then 
you might want to move your config.pl to a backup and try this:

# When installing, use this ./configure.pl --batch --cgi-dir 
/var/www/cgi-bin/BackupPC --data-dir /var/lib/backuppc --hostname backuppc 
--html-dir /var/www/html/BackupPC

Adjust the paths for your actual paths, of course.


--
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] Upgrading to backuppc-4.1.3 FAILED!

2018-02-12 Thread Marc Gilliatt
Thanks for the quick response.

How do I update the config.pl file, please?

From: Michael Stowe <michael.st...@member.mensa.org>
Sent: 12 February 2018 20:17
To: General list for user discussion, questions and support
Cc: Marc Gilliatt
Subject: Re: [BackupPC-users] Upgrading to backuppc-4.1.3 FAILED!


On 2018-02-12 01:00, Marc Gilliatt wrote:

I tried to download backuppc-4.1.3 tar file from the backuppc website.

The upgrade went fine, I went through the upgrade steps and no error

was shown, however, the backuppc.server won't start now?

In the GUI, I'm getting.

ERROR: UNABLE TO CONNECT TO BACKUPPC SERVER This CGI script 
(/backuppc/index.cgi) is unable to connect to the BackupPC server on backuppc01 
port -1. The error was: unix connect: No such file or directory. Perhaps the 
BackupPC server is not running or there is a configuration error. Please report 
this to your Sys Admin.

And when I try to run "service backuppc restart", Im getting.

Job for backuppc.service failed because the control process exited

with error code. See “systemctl status backuppc.service” and “journalctl -xe” 
for details.

And when I run "systemctl status backuppc.service", Im getting.

backuppc.service – LSB: Launch backuppc server Loaded: loaded 
(/etc/init.d/backuppc; bad; vendor preset: enabled)

Active: failed (Result: exit-code) since Wed 2018-01-31 09:33:33 GMT; 20s ago 
Docs: man:systemd-sysv-generator(8)

Process: 29163 ExecStop=/etc/init.d/backuppc stop (code=exited,

status=0/SUCCESS)

Process: 29425 ExecStart=/etc/init.d/backuppc start (code=exited, 
status=1/FAILURE) Jan 31 09:33:33 backuppc01 systemd[1]: Starting LSB: Launch 
backuppc server…

Jan 31 09:33:33 backuppc01 backuppc[29425]:  * Starting backuppc...

Jan 31 09:33:33 backuppc01 backuppc[29425]: BackupPC cannot be

started because important parameters are missing from config.pl.

Jan 31 09:33:33 backuppc01 backuppc[29425]: If you just upgraded BackupPC, 
please update /etc/backuppc/config.pl.

Jan 31 09:33:33 backuppc01 systemd[1]: backuppc.service: Control process 
exited, code=exited status=1

Jan 31 09:33:33 backuppc01 systemd[1]: Failed to start LSB: Launch backuppc 
server.

Jan 31 09:33:33 backuppc01 systemd[1]: backuppc.service: Unit entered failed 
state.

Jan 31 09:33:33 backuppc01 systemd[1]: backuppc.service: Failed with result 
‘exit-code’.

I followed the upgrade instructions correctly.

And when I go into the GUI

INTERNAL SERVER ERROR The server encountered an internal error or 
misconfiguration and was unable to complete your request. Please contact the 
server administrator at webmaster@localhost to inform them of the time this 
error occurred, and the actions you performed just before this error. More 
information about this error may be available in the server error log.

Apache/2.4.18 (Ubuntu) Server at backuppc01.dsdb.int Port 80

Before the upgrade, I was running smbd 4.3.11-Ubuntu and backuppc

3.3.1-2ubuntu3.3

Any ideas or suggestions on how to fix this, please? This is our only

source of backing up our servers.

I have no working backuppc now…any ideas, please?

If I may draw your attention to these lines from your logs:

Jan 31 09:33:33 backuppc01 backuppc[29425]: BackupPC cannot be started because 
important parameters are missing from config.pl. Jan 31 09:33:33 backuppc01 
backuppc[29425]: If you just upgraded BackupPC, please update 
/etc/backuppc/config.pl.

The settings in config.pl have changed. These will need to be updated before 
you will be able to start 4.x.


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


[BackupPC-users] Upgrading to backuppc-4.1.3 FAILED!

2018-02-12 Thread Marc Gilliatt
I tried to download backuppc-4.1.3 tar file from the backuppc website.

The upgrade went fine, I went through the upgrade steps and no error was shown, 
however, the backuppc.server won't start now?

In the GUI, I'm getting.
Error: Unable to connect to BackupPC server
This CGI script (/backuppc/index.cgi) is unable to connect to the BackupPC 
server on backuppc01 port -1.
The error was: unix connect: No such file or directory.
Perhaps the BackupPC server is not running or there is a configuration error. 
Please report this to your Sys Admin.

And when I try to run "service backuppc restart", Im getting.

Job for backuppc.service failed because the control process exited with error 
code. See "systemctl status backuppc.service" and "journalctl -xe" for details.

And when I run "systemctl status backuppc.service", Im getting.

backuppc.service - LSB: Launch backuppc server
Loaded: loaded (/etc/init.d/backuppc; bad; vendor preset: enabled)
Active: failed (Result: exit-code) since Wed 2018-01-31 09:33:33 GMT; 20s ago
Docs: man:systemd-sysv-generator(8)
Process: 29163 ExecStop=/etc/init.d/backuppc stop (code=exited, 
status=0/SUCCESS)
Process: 29425 ExecStart=/etc/init.d/backuppc start (code=exited, 
status=1/FAILURE)
Jan 31 09:33:33 backuppc01 systemd[1]: Starting LSB: Launch backuppc server...
Jan 31 09:33:33 backuppc01 backuppc[29425]:  * Starting backuppc...
Jan 31 09:33:33 backuppc01 backuppc[29425]: BackupPC cannot be started because 
important parameters are missing from config.pl.
Jan 31 09:33:33 backuppc01 backuppc[29425]: If you just upgraded BackupPC, 
please update /etc/backuppc/config.pl.
Jan 31 09:33:33 backuppc01 systemd[1]: backuppc.service: Control process 
exited, code=exited status=1
Jan 31 09:33:33 backuppc01 systemd[1]: Failed to start LSB: Launch backuppc 
server.
Jan 31 09:33:33 backuppc01 systemd[1]: backuppc.service: Unit entered failed 
state.
Jan 31 09:33:33 backuppc01 systemd[1]: backuppc.service: Failed with result 
'exit-code'.

I followed the upgrade instructions correctly.

And when I go into the GUI

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to 
complete your request.
Please contact the server administrator at webmaster@localhost to inform them 
of the time this error occurred, and the actions you performed just before this 
error.
More information about this error may be available in the server error log.

Apache/2.4.18 (Ubuntu) Server at backuppc01.dsdb.int Port 80

Before the upgrade, I was running smbd 4.3.11-Ubuntu and backuppc 
3.3.1-2ubuntu3.3

Any ideas or suggestions on how to fix this, please? This is our only source of 
backing up our servers.

I have no working backuppc now...any ideas, please?

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


[BackupPC-users] SMB Windows share not backing up - NT_STATUS_ACCESS_DENIED listing \System Volume Information\SRM\*

2018-01-09 Thread Marc Gilliatt
I've emailed before in the past regarding my Windows share not performing its 
first full backup. And I've lost the email thread so I apologise for emailing 
again regarding the same issue.

I'm using smb for the Xfer Method, I have given the user full permissions and 
it's still not completing its first full backup, This has been going on now for 
a few months and I can't seem to get a resolution for my problem. Here are the 
contents from the Xfer log.

Contents of file /var/lib/backuppc/pc/ukaudio/XferLOG.bad.z, modified 
2018-01-02 09:31:40 (Extracting only Errors)
Running: /usr/bin/smbclient ukaudio\\audio -U backuppc -E -d 1 -c tarmode\ 
full -Tc -
full backup started for share audio
Xfer PIDs are now 32860,32859
[ skipped 1 lines ]
tar:316  tarmode is now full, system, hidden, noreset, quiet
[ skipped 4559736 lines ]
NT_STATUS_ACCESS_DENIED listing \System Volume Information\SRM\*
[ skipped 501 lines ]
tar:712  Total bytes received: 8876931906486
[ skipped 42 lines ]
tarExtract: Done: 0 errors, 4378315 filesExist, 8830447301234 sizeExist, 
7110741768601 sizeExistComp, 4387717 filesTotal, 8876941560049 sizeTotal
Executing DumpPostUserCmd: /var/lib/backuppc/backuppc_notification.sh 0 ukaudio 
full ukaudio ukaudio audio smb /usr/bin/ssh DumpPostUserCmd
tail: cannot open '/var/lib/backuppc/pc/ukaudio/LOG.012018' for reading: No 
such file or directory
Got fatal error during xfer (No files dumped for share audio)
Backup aborted (No files dumped for share audio)
Not saving this as a partial backup since it has fewer files than the prior one 
(got 4387717 and 0 files versus 4387717)
I have excluded the \System Volume Information\SRM\* directory and it still 
keeps failing and I still get this error. It runs for about 3 - 4 days and then 
fails. I've included only the directories that I want backing up, and it still 
fails and I get the same error as above!


Im running smbd 4.3.11-Ubuntu and backuppc 3.3.1-2ubuntu3.3


Any suggestions/ideas would be truly appreciative.


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


[BackupPC-users] Backing up a NFS share on Windows using BackupPC

2017-10-16 Thread Marc Gilliatt
Hi

How do I backup an NFS share on a Windows server through BackupPC? I have a 
share that I would like to backup. I’m using BackupPC on Ubuntu, I’ve never 
backed up before on a Windows server before. Is the task as simple as backing 
up a Linux server? Do I still use rsync or smb? I’m not sure how I would get 
the ssh key over the Windows server. I've read online to use smb for the 
XherMethod? Would then the smbShareUserName and Password be the Windows server 
credentials?

Thanks,
Marc

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