Re: [BackupPC-users] issue with two computers

2024-07-24 Thread Paul Leyland
I had a similar problem recently though BackupPC displayed a different 
error message. It  managed to backup a 1.3TB file the first time it 
tried but rsync failed miserably when trying to back it up again on a 
subsequent occasion.


Quite a job tracking down the file in the pool and flushing it cleanly.

Paul

On 23/07/2024 20:37, G.W. Haywood wrote:

Hi there,

On Tue, 23 Jul 2024, Les Mikesell wrote:

On Mon, Jul 22, 2024 at 9:54?AM Johnny PINSON wrote:
> yes, the two servers used to be backup up by a backuppc server but, 
due

> to raid's controller issue, it can no longer.
>
> I tried the keepalive trick :
> ...
> But it did not fix the issue.
> ...

I no longer have a working system to test, but I think adding -o
ServerAliveInterval=60 after $sshPath in $Conf{RsyncClientCmd} should
work.   Is there some sort of error listed in your  Xferlog for the
failed backups?   Another somewhat remote possibility is that you have
some sort of file corruption on the clients causing the remote rsync
to hang up.


IIRC a while back when I had an X server go off the reservation and it
produced multi-gigabyte dot-error files, something similar happened.
The fix was to fix the server and delete the junk files of course.

If there are huge files to be backed up that might be an issue in any
case.  For example I wouldn't recommend using BackupPC for things like
VM disk images.




___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


Re: [BackupPC-users] issue with two computers

2024-07-23 Thread G.W. Haywood

Hi there,

On Tue, 23 Jul 2024, Les Mikesell wrote:

On Mon, Jul 22, 2024 at 9:54?AM Johnny PINSON wrote:
> yes, the two servers used to be backup up by a backuppc server but, due
> to raid's controller issue, it can no longer.
>
> I tried the keepalive trick :
> ...
> But it did not fix the issue.
> ...

I no longer have a working system to test, but I think adding -o
ServerAliveInterval=60 after $sshPath in $Conf{RsyncClientCmd} should
work.   Is there some sort of error listed in your  Xferlog for the
failed backups?   Another somewhat remote possibility is that you have
some sort of file corruption on the clients causing the remote rsync
to hang up.


IIRC a while back when I had an X server go off the reservation and it
produced multi-gigabyte dot-error files, something similar happened.
The fix was to fix the server and delete the junk files of course.

If there are huge files to be backed up that might be an issue in any
case.  For example I wouldn't recommend using BackupPC for things like
VM disk images.

--

73,
Ged.


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


Re: [BackupPC-users] issue with two computers

2024-07-23 Thread Michael Stowe

On 2024-07-23 07:03, Johnny PINSON wrote:

Hey there,

here is my command (typed from a shell)

/usr/bin/rsync_bpc --bpc-top-dir /data/BackupPC --bpc-host-name evo 
--bpc-share-name /root --bpc-bkup-num 0 --bpc-bkup-comp 3 
--bpc-bkup-prevnum -1 --bpc-bkup-prevcomp -1 --bpc-bkup-inode0 2 
--bpc-attrib-new --bpc-log-level 1 -e /usr/bin/ssh\ -l\ root 
--rsync-path=/usr/bin/rsync --super --recursive --protect-args 
--numeric-ids --perms --owner --group -D --times --links --hard-links 
--delete --delete-excluded --one-file-system --partial 
--log-format=log:\ %o\ %i\ %B\ %8U,%8G\ %9l\ %f%L --stats --checksum 
--timeout=72000 --log-file xxx.log $buggy_srv:/root/ /


and here is the content of log file

2024/07/23 15:14:02 [176638] receiving file list
2024/07/23 15:17:32 [176638] rsync_bpc: connection unexpectedly closed 
(0 bytes received so far) [Receiver]
2024/07/23 15:17:32 [176638] rsync error: unexplained error (code 255) 
at io.c(226) [Receiver=3.1.2.0]




It closed after 3:30 during or after receiving the file list.

This looks like a problem on the filesystem, or potentially a file on 
it.



___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


Re: [BackupPC-users] issue with two computers

2024-07-23 Thread Johnny PINSON

Hey there,

here is my command (typed from a shell)

/usr/bin/rsync_bpc --bpc-top-dir /data/BackupPC --bpc-host-name evo 
--bpc-share-name /root --bpc-bkup-num 0 --bpc-bkup-comp 3 
--bpc-bkup-prevnum -1 --bpc-bkup-prevcomp -1 --bpc-bkup-inode0 2 
--bpc-attrib-new --bpc-log-level 1 -e /usr/bin/ssh\ -l\ root 
--rsync-path=/usr/bin/rsync --super --recursive --protect-args 
--numeric-ids --perms --owner --group -D --times --links --hard-links 
--delete --delete-excluded --one-file-system --partial 
--log-format=log:\ %o\ %i\ %B\ %8U,%8G\ %9l\ %f%L --stats --checksum 
--timeout=72000 --log-file xxx.log $buggy_srv:/root/ /


and here is the content of log file

2024/07/23 15:14:02 [176638] receiving file list
2024/07/23 15:17:32 [176638] rsync_bpc: connection unexpectedly closed 
(0 bytes received so far) [Receiver]
2024/07/23 15:17:32 [176638] rsync error: unexplained error (code 255) 
at io.c(226) [Receiver=3.1.2.0]


I'll try a new backup with "-a ServerAliveInterval=60".

Have a good day,

Johnny

On 22/07/2024 17:59, Les Mikesell wrote:

On Mon, Jul 22, 2024 at 9:54 AM Johnny PINSON
 wrote:


Hi,

yes, the two servers used to be backup up by a backuppc server but, due
to raid's controller issue, it can no longer.

I tried the keepalive trick :

- edited .ssh/config for user making backups
* inserted this line

Host buggy_server_one
  ServerAliveInterval 300
  ServerAliveCountMax 2

But it did not fix the issue.

Is that the good way to increase ssh keepalive?

Thanks for your help,



I no longer have a working system to test, but I think adding -o
ServerAliveInterval=60 after $sshPath in $Conf{RsyncClientCmd} should
work.   Is there some sort of error listed in your  Xferlog for the
failed backups?   Another somewhat remote possibility is that you have
some sort of file corruption on the clients causing the remote rsync
to hang up.



--
Laboratoire des Solides Irradiés
UMR 7642 / CNRS - CEA - Ecole polytechnique
ECOLE POLYTECHNIQUE
Route de Saclay
91128 PALAISEAU Cedex

T : 33 (1) 69 33 44 73
https://portail.polytechnique.edu/lsi/fr
bureau 83 20 07



___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


Re: [BackupPC-users] issue with two computers

2024-07-22 Thread Les Mikesell
On Mon, Jul 22, 2024 at 9:54 AM Johnny PINSON
 wrote:
>
> Hi,
>
> yes, the two servers used to be backup up by a backuppc server but, due
> to raid's controller issue, it can no longer.
>
> I tried the keepalive trick :
>
> - edited .ssh/config for user making backups
> * inserted this line
>
> Host buggy_server_one
>  ServerAliveInterval 300
>  ServerAliveCountMax 2
>
> But it did not fix the issue.
>
> Is that the good way to increase ssh keepalive?
>
> Thanks for your help,
>

I no longer have a working system to test, but I think adding -o
ServerAliveInterval=60 after $sshPath in $Conf{RsyncClientCmd} should
work.   Is there some sort of error listed in your  Xferlog for the
failed backups?   Another somewhat remote possibility is that you have
some sort of file corruption on the clients causing the remote rsync
to hang up.

-- 
Les Mikesell
  lesmikes...@gmail.com


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


Re: [BackupPC-users] issue with two computers

2024-07-22 Thread Johnny PINSON

Hi,

yes, the two servers used to be backup up by a backuppc server but, due
to raid's controller issue, it can no longer.

I tried the keepalive trick :

- edited .ssh/config for user making backups
* inserted this line

Host buggy_server_one
ServerAliveInterval 300
ServerAliveCountMax 2

But it did not fix the issue.

Is that the good way to increase ssh keepalive?

Thanks for your help,

Johnny

On 19/07/2024 15:13, G.W. Haywood wrote:

Hi there,

On Fri, 19 Jul 2024, Johnny PINSON wrote:


I'm facingan issue and would request some help please.

All computers at work  are using backuppc, whether running linux, macos
and windows and it works fine but two servers are having problems :

- I can log on those computers from server doing backup
- but their backup fail with this message  :

Timeout, server XXX not responding.


The fact that you can ssh into the problem computers only tells you
that they are reachable over the network and that packets for the SSH
protocok (likely on port 22) are accepted, and that the server replies.

It doesn't tell you what is happening to packets for all the other
protocols (both TCP ports and UDP ports) which may be being used.


Have you got ideas please? 1What should I look for / change?


I don't think you should jump right in and start changing things until
you know what the problem is.  As Michael S says, you can start by the
simplest of checks which is 'ping'.  This simply sends a packet to the
target machine, and all the packet asks for is a response.  The 'ping'
utility shows you that there's a response.  It's probably the first,
and simplest, thing to check.  BackupPC uses ping to check that there
is a host listening for the connections it needs to make in order to
back up that host's data.

If you don't get a ping response then you want to know why not.  Are
you running firewalls on the problem servers?  If you are then simply
disabling them might get thigs working and you can take it from there.
A firewall will obviously need to permit the appropriate connections
from the backup server so that it can get the data it asks for.

There are other things you might need to check.  Depending on the kind
of data transfer you've set up between the server hosts and the backup
machine you need to ensure that the relevant connections are possible.
See the comments in config.pl for this configuration variable:

$Conf{XferMethod}

Bear in mind that this can be overridden by the configuration for an
individual host.

If all else failed I would check things like this with a tool like
Wireshark, and I would recommend it to you as a way of finding out
what's going on for help with any issues in the future, but maybe if
you post your BackupPC configuration here we could save you a bit of
time troubleshooting.

Have these two problem hosts been backed up successfuly at any time?



--
Laboratoire des Solides Irradiés
UMR 7642 / CNRS - CEA - Ecole polytechnique
ECOLE POLYTECHNIQUE
Route de Saclay
91128 PALAISEAU Cedex

T : 33 (1) 69 33 44 73
https://portail.polytechnique.edu/lsi/fr
bureau 83 20 07



___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


Re: [BackupPC-users] issue with two computers

2024-07-21 Thread Les Mikesell
On Sun, Jul 21, 2024 at 11:53 AM Johnny PINSON
 wrote:
>
> Hello,
>
> thank a lot for all the assistance you're giving me. I'll
> try:
> - to make tests without fw
> - to keep aaasn eye on variaables for backup system.
>
> It seems that :
>
> - server are pinging
> - first step of backup taakes place (calculating size and files list)
> - then timeout.
>

If the failing hosts are behind a stateful firewall or NAT gateway the
connection may be timing out since rsync can have long pauses.
Enabling keepalives on the ssh connection might fix it.

-- 
   Les Mikesell
 lesmikes...@gmail.com


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


Re: [BackupPC-users] issue with two computers

2024-07-21 Thread Johnny PINSON

Hello,

thank a lot for all the assistance you're giving me. I'll
try:
- to make tests without fw
- to keep aaasn eye on variaables for backup system.

It seems that :

- server are pinging
- first step of backup taakes place (calculating size and files list)
- then timeout.

I'll make tests tomorrow,
thanks for help,

Johnny

On 19/07/2024 15:13, G.W. Haywood wrote:

Hi there,

On Fri, 19 Jul 2024, Johnny PINSON wrote:


I'm facingan issue and would request some help please.

All computers at work  are using backuppc, whether running linux, macos
and windows and it works fine but two servers are having problems :

- I can log on those computers from server doing backup
- but their backup fail with this message  :

Timeout, server XXX not responding.


The fact that you can ssh into the problem computers only tells you
that they are reachable over the network and that packets for the SSH
protocok (likely on port 22) are accepted, and that the server replies.

It doesn't tell you what is happening to packets for all the other
protocols (both TCP ports and UDP ports) which may be being used.


Have you got ideas please? 1What should I look for / change?


I don't think you should jump right in and start changing things until
you know what the problem is.  As Michael S says, you can start by the
simplest of checks which is 'ping'.  This simply sends a packet to the
target machine, and all the packet asks for is a response.  The 'ping'
utility shows you that there's a response.  It's probably the first,
and simplest, thing to check.  BackupPC uses ping to check that there
is a host listening for the connections it needs to make in order to
back up that host's data.

If you don't get a ping response then you want to know why not.  Are
you running firewalls on the problem servers?  If you are then simply
disabling them might get thigs working and you can take it from there.
A firewall will obviously need to permit the appropriate connections
from the backup server so that it can get the data it asks for.

There are other things you might need to check.  Depending on the kind
of data transfer you've set up between the server hosts and the backup
machine you need to ensure that the relevant connections are possible.
See the comments in config.pl for this configuration variable:

$Conf{XferMethod}

Bear in mind that this can be overridden by the configuration for an
individual host.

If all else failed I would check things like this with a tool like
Wireshark, and I would recommend it to you as a way of finding out
what's going on for help with any issues in the future, but maybe if
you post your BackupPC configuration here we could save you a bit of
time troubleshooting.

Have these two problem hosts been backed up successfuly at any time?




___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


Re: [BackupPC-users] issue with two computers

2024-07-19 Thread G.W. Haywood

Hi there,

On Fri, 19 Jul 2024, Johnny PINSON wrote:


I'm facingan issue and would request some help please.

All computers at work  are using backuppc, whether running linux, macos
and windows and it works fine but two servers are having problems :

- I can log on those computers from server doing backup
- but their backup fail with this message  :

Timeout, server XXX not responding.


The fact that you can ssh into the problem computers only tells you
that they are reachable over the network and that packets for the SSH
protocok (likely on port 22) are accepted, and that the server replies.

It doesn't tell you what is happening to packets for all the other
protocols (both TCP ports and UDP ports) which may be being used.


Have you got ideas please? 1What should I look for / change?


I don't think you should jump right in and start changing things until
you know what the problem is.  As Michael S says, you can start by the
simplest of checks which is 'ping'.  This simply sends a packet to the
target machine, and all the packet asks for is a response.  The 'ping'
utility shows you that there's a response.  It's probably the first,
and simplest, thing to check.  BackupPC uses ping to check that there
is a host listening for the connections it needs to make in order to
back up that host's data.

If you don't get a ping response then you want to know why not.  Are
you running firewalls on the problem servers?  If you are then simply
disabling them might get thigs working and you can take it from there.
A firewall will obviously need to permit the appropriate connections
from the backup server so that it can get the data it asks for.

There are other things you might need to check.  Depending on the kind
of data transfer you've set up between the server hosts and the backup
machine you need to ensure that the relevant connections are possible.
See the comments in config.pl for this configuration variable:

$Conf{XferMethod}

Bear in mind that this can be overridden by the configuration for an
individual host.

If all else failed I would check things like this with a tool like
Wireshark, and I would recommend it to you as a way of finding out
what's going on for help with any issues in the future, but maybe if
you post your BackupPC configuration here we could save you a bit of
time troubleshooting.

Have these two problem hosts been backed up successfuly at any time?

--

73,
Ged.


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


Re: [BackupPC-users] issue with two computers

2024-07-19 Thread Johnny PINSON

Hello,

both servers are "pingable" ad "sshable".


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


Re: [BackupPC-users] issue with two computers

2024-07-19 Thread Michael Stowe

On 2024-07-19 04:36, Johnny PINSON wrote:

Good afternoon,

I'm facingan issue and would request some help please.

All computers at work  are using backuppc, whether running linux, macos
and windows and it works fine but two servers are having problems :

- I can log on those computers from server doing backup
- but their backup fail with this message  :

Timeout, server XXX not responding.

Have you got ideas please? 1What should I look for / change?

Thanks for any assistance,
regards,

Johnny


Are the servers not pingable?


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


[BackupPC-users] issue with two computers

2024-07-19 Thread Johnny PINSON

Good afternoon,

I'm facingan issue and would request some help please.

All computers at work  are using backuppc, whether running linux, macos
and windows and it works fine but two servers are having problems :

- I can log on those computers from server doing backup
- but their backup fail with this message  :

Timeout, server XXX not responding.

Have you got ideas please? 1What should I look for / change?

Thanks for any assistance,
regards,

Johnny

--
Laboratoire des Solides Irradiés
UMR 7642 / CNRS - CEA - Ecole polytechnique
ECOLE POLYTECHNIQUE
Route de Saclay
91128 PALAISEAU Cedex

T : 33 (1) 69 33 44 73
https://portail.polytechnique.edu/lsi/fr
bureau 83 20 07



___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


Re: [BackupPC-users] Same File - Single Storage

2024-07-03 Thread backuppc
Immediately. If a file matches a pre-existing pool file, it is not
entered into the pool, so it is not saved.

Christian Völker via BackupPC-users wrote at about 22:24:23 +0200 on Wednesday, 
July 3, 2024:
 > Hi,
 > 
 > as far as I remember v4 stores same file from different hosts only once 
 > in /var/lib/backuppc, right?
 > 
 > My question now is if BackuPPC recons the duplicate file already during 
 > backup or later when some maintenance task is running?
 > 
 > On my storage I have around 500GB available space but I want to backup a 
 > host with 700G data. But this data is already backed up from another 
 > host. So when backing up, does it immediately save space or later?
 > 
 > Thanks!
 > 
 > /KNEBB
 > 
 > 
 > 
 > ___
 > BackupPC-users mailing list
 > BackupPC-users@lists.sourceforge.net
 > List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
 > Wiki:https://github.com/backuppc/backuppc/wiki
 > Project: https://backuppc.github.io/backuppc/


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


[BackupPC-users] Same File - Single Storage

2024-07-03 Thread Christian Völker via BackupPC-users

Hi,

as far as I remember v4 stores same file from different hosts only once 
in /var/lib/backuppc, right?


My question now is if BackuPPC recons the duplicate file already during 
backup or later when some maintenance task is running?


On my storage I have around 500GB available space but I want to backup a 
host with 700G data. But this data is already backed up from another 
host. So when backing up, does it immediately save space or later?


Thanks!

/KNEBB



___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


Re: [BackupPC-users] BackupPC remembers _everything_

2024-06-21 Thread Tim Connors
On Mon, 6 May 2024, Kirby wrote:

> BackupPC has been covering up my stupid mistakes since 2005. Fortunately, I
> have never done the 'rm -r *' until last week. Good thing was that I was in my
> home directory so the system itself was untouched and I caught myself before
> too much could get deleted.
>
> 'Not a problem!' I thought. I will just restore from last night's backup and
> be on my way. I selecting the missing files and directories, started the
> restore, and went for a walk. When I got back things were in a sorry state. My
> ~/Downloads directory was has filled up my drive included stuff that had been
> deleted 5 years ago.
>
> Am I misunderstanding how fill works? I though it was filled from the last
> backup going back to the last non-filled backup. Instead it looks like it is
> pulling everything it has ever backed up.
>
> I am running BackupPC-4.4.0-1.el8.x86_64.

My guess is you were backing up using rsync, and using the default flags
to rsync that backuppc specifies, which is to not supply --ignore-errors.
Then you were backing up a filesystem that had IO errors
(/home/$user/.cache/doc), so rsync was not sending the file deletions to
backuppc, so backuppc was operating under the assumption that the files
you had deleted in the meantime were all still there.

Unfortunately, the only bug I know asking to include --ignore-errors by
default, has been closed without that fix included:
https://github.com/backuppc/backuppc/issues/87

Also unfortunately, this will affect all your previous backups, so there's
no way of recovering what your filesystem actually looked like lastnight.

-- 
Tim Connors


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


Re: [BackupPC-users] rsync via ssh/rrsync

2024-05-23 Thread Mike Hughes
I think you're having some confusion about what that clause in authorized_keys 
does. According to [1], it basically executes the command for you. So when the 
backuppc user creates the ssh connection, it runs:
'/usr/bin/rrsync /'
on the target. You don't need to "initiate" the rsync in this way because 
BackupPC manages that, once you select rsync as the method. All you need to do 
is permit rsync to run, which is not accomplished in the authorized_keys file.
Remove that restriction.

Additionally, if you are connecting as the backuppc user, what provides that 
user permission to rsync the files? In my case, I followed this tip from the 
manual [2] and added an entry in /etc/sudoers (edited with visudo) to allow 
backuppc to run rsync without a password prompt:

## Allow backuppc user to use rsync
backuppc  ALL=NOPASSWD: /usr/bin/rsync --server *

Hope this helps!

[1]https://serverfault.com/a/803873/125737
[2] 
$Conf{RsyncClientPath}
 = 'sudo /usr/bin/rsync';


From: Gandalf Corvotempesta 
Sent: Thursday, May 23, 2024 3:31 AM
To: General list for user discussion, questions and support 

Subject: Re: [BackupPC-users] rsync via ssh/rrsync

This is the command in authorized_keys:

command="/usr/bin/rrsync /",restrict,from=

So it should allow rsync to access to the full server, as expected,
but BPC doesn't show any files in the backup

Il giorno gio 23 mag 2024 alle ore 10:24 Gandalf Corvotempesta
 ha scritto:
>
> Il giorno gio 23 mag 2024 alle ore 09:16 Christian Völker via
> BackupPC-users  ha scritto:
> >
> > Well, I guess you'll need to make sure ssh works fine.
> > To do so, go to your backuppc server an switch into the user context of
> > backuppc by "su - backuppc". From there issue "ssh user@hostname" and
> > accept the public key of the target client.
> > Once done, it should run without any problems. As long as you have rsync
> > installed on your target and it is configured to be found in the default
> > path.
>
> Yes, it was an ssh-key issue, backuppc is running from backuppc users, but 
> i've
> transferred the root ssh key, not the backuppc key. Now this is fixed
> and the backup
> is made as expected, in the transfer log I can see the transferred files
>
> BUT there is a huge issue: when browsing the backup just finished,
> backuppc is saying that is empty
> and no files are shown.
>
> Any clou?


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


Re: [BackupPC-users] rsync via ssh/rrsync

2024-05-23 Thread Gandalf Corvotempesta
This is the command in authorized_keys:

command="/usr/bin/rrsync /",restrict,from=

So it should allow rsync to access to the full server, as expected,
but BPC doesn't show any files in the backup

Il giorno gio 23 mag 2024 alle ore 10:24 Gandalf Corvotempesta
 ha scritto:
>
> Il giorno gio 23 mag 2024 alle ore 09:16 Christian Völker via
> BackupPC-users  ha scritto:
> >
> > Well, I guess you'll need to make sure ssh works fine.
> > To do so, go to your backuppc server an switch into the user context of
> > backuppc by "su - backuppc". From there issue "ssh user@hostname" and
> > accept the public key of the target client.
> > Once done, it should run without any problems. As long as you have rsync
> > installed on your target and it is configured to be found in the default
> > path.
>
> Yes, it was an ssh-key issue, backuppc is running from backuppc users, but 
> i've
> transferred the root ssh key, not the backuppc key. Now this is fixed
> and the backup
> is made as expected, in the transfer log I can see the transferred files
>
> BUT there is a huge issue: when browsing the backup just finished,
> backuppc is saying that is empty
> and no files are shown.
>
> Any clou?


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


Re: [BackupPC-users] rsync via ssh/rrsync

2024-05-23 Thread Gandalf Corvotempesta
Il giorno gio 23 mag 2024 alle ore 09:16 Christian Völker via
BackupPC-users  ha scritto:
>
> Well, I guess you'll need to make sure ssh works fine.
> To do so, go to your backuppc server an switch into the user context of
> backuppc by "su - backuppc". From there issue "ssh user@hostname" and
> accept the public key of the target client.
> Once done, it should run without any problems. As long as you have rsync
> installed on your target and it is configured to be found in the default
> path.

Yes, it was an ssh-key issue, backuppc is running from backuppc users, but i've
transferred the root ssh key, not the backuppc key. Now this is fixed
and the backup
is made as expected, in the transfer log I can see the transferred files

BUT there is a huge issue: when browsing the backup just finished,
backuppc is saying that is empty
and no files are shown.

Any clou?


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


Re: [BackupPC-users] rsync via ssh/rrsync

2024-05-23 Thread Christian Völker via BackupPC-users

Well, I guess you'll need to make sure ssh works fine.
To do so, go to your backuppc server an switch into the user context of 
backuppc by "su - backuppc". From there issue "ssh user@hostname" and 
accept the public key of the target client.
Once done, it should run without any problems. As long as you have rsync 
installed on your target and it is configured to be found in the default 
path.


/Christian


Am 23.05.24 um 08:23 schrieb Gandalf Corvotempesta:

hi guys
im using with great success backuppc backing up clients with rsyncd

for one host i have to move from rsyncd to rsync through ssh (and 
rrsync on ssh command) but im hitting tons of different errors


can someone stare a working config for rsync? other that changing the 
share name to the path (ie from "everything" as share name to "/") and 
changing "rsyncd" to "rsync", everything else is the same?



___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/




___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


[BackupPC-users] rsync via ssh/rrsync

2024-05-23 Thread Gandalf Corvotempesta
hi guys
im using with great success backuppc backing up clients with rsyncd

for one host i have to move from rsyncd to rsync through ssh (and rrsync on
ssh command) but im hitting tons of different errors

can someone stare a working config for rsync? other that changing the share
name to the path (ie from "everything" as share name to "/") and changing
"rsyncd" to "rsync", everything else is the same?
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


Re: [BackupPC-users] Windows Server Backup Errors (SMB)

2024-05-20 Thread Michael Stowe

On 2024-05-20 13:46, Mark Murawski wrote:

Running: /usr/local/bin/smbclient win2k3.intellasoft.lan\\Storage 
-U Administrator -E -d 1 -c tarmode\ full -Tc -


It looks like the backup does back up a large amount of data from the 
Share, but I'm not sure exactly what's the best way to tell what's 
missing.


Run the smbclient command from the command line, and see what error 
you're getting.___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


[BackupPC-users] Windows Server Backup Errors (SMB)

2024-05-20 Thread Mark Murawski

Hello!

This has been cycling around and failing for me for quite some time.

What would be the next steps to get additional logging to see exactly why this 
isn't finishing?

--
Backup log
--

2024-05-15 14:31:14 Removing unfilled backup 502
2024-05-15 14:31:14 BackupPC_backupDelete: removing #502
2024-05-15 14:31:14 BackupPC_backupDelete: No prior backup for merge
2024-05-15 14:31:14 BackupPC_refCountUpdate: host win2k3 got 0 errors (took 0 
secs)
2024-05-15 14:31:14 Finished BackupPC_backupDelete, status = 0 (running time: 0 
sec)
2024-05-15 14:31:14 full backup started for share Storage
2024-05-16 10:31:15 Aborting backup up after signal ALRM
2024-05-16 10:31:18 Got fatal error during xfer (BackupPC_tarExtract exited 
with fail status 14)
2024-05-16 10:31:18 Removing prior partial backup #522
2024-05-16 10:31:18 BackupPC_backupDelete: removing #522
2024-05-16 10:31:18 BackupPC_backupDelete: Merge into backup 521
2024-05-16 10:31:18 BackupPC_refCountUpdate: host win2k3 got 0 errors (took 0 
secs)
2024-05-16 10:31:18 Finished BackupPC_backupDelete, status = 0 (running time: 0 
sec)
2024-05-16 18:00:07 full backup started for share Storage
2024-05-17 14:00:07 Aborting backup up after signal ALRM
2024-05-17 14:00:10 Got fatal error during xfer (BackupPC_tarExtract exited 
with fail status 14)
2024-05-17 14:00:10 Removing prior partial backup #523
2024-05-17 14:00:10 BackupPC_backupDelete: removing #523
2024-05-17 14:00:10 BackupPC_backupDelete: Merge into backup 521
2024-05-17 14:00:10 BackupPC_refCountUpdate: host win2k3 got 0 errors (took 0 
secs)
2024-05-17 14:00:10 Finished BackupPC_backupDelete, status = 0 (running time: 0 
sec)
2024-05-17 18:00:31 full backup started for share Storage
2024-05-18 14:00:31 Aborting backup up after signal ALRM
2024-05-18 14:00:35 Got fatal error during xfer (BackupPC_tarExtract exited 
with fail status 14)
2024-05-18 14:00:35 Removing prior partial backup #524
2024-05-18 14:00:35 BackupPC_backupDelete: removing #524
2024-05-18 14:00:35 BackupPC_backupDelete: Merge into backup 521
2024-05-18 14:00:35 BackupPC_refCountUpdate: host win2k3 got 0 errors (took 0 
secs)
2024-05-18 14:00:35 Finished BackupPC_backupDelete, status = 0 (running time: 0 
sec)
2024-05-19 02:18:30 full backup started for share Storage
2024-05-19 22:18:31 Aborting backup up after signal ALRM
2024-05-19 22:18:34 Got fatal error during xfer (BackupPC_tarExtract exited 
with fail status 14)
2024-05-19 22:18:34 Removing prior partial backup #525
2024-05-19 22:18:34 BackupPC_backupDelete: removing #525
2024-05-19 22:18:34 BackupPC_backupDelete: Merge into backup 521
2024-05-19 22:18:34 BackupPC_refCountUpdate: host win2k3 got 0 errors (took 0 
secs)
2024-05-19 22:18:34 Finished BackupPC_backupDelete, status = 0 (running time: 0 
sec)

--
XferLOG
--

BackupPC_tarExtract exited with fail status 14
readOutput: sysread returns 0 and got EOF (exit ok = , )
XferErr Non-zero exit status from smbclient
Xfer PIDs are now
Got fatal error during xfer (BackupPC_tarExtract exited with fail status 14)
Backup aborted by user signal
BackupFailCleanup: nFilesTotal = 0, type = full, BackupCase = 4, inPlace = 0, 
lastBkupNum = 524
Removing prior partial backup #524
Xfer PIDs are now 18120
BackupPC_backupDelete: removing #524
BackupPC_backupDelete: Merge into backup 521
Xfer PIDs are now 18120,18121
BackupPC_refCountUpdate: host win2k3 got 0 errors (took 0 secs)
Xfer PIDs are now 18120
Xfer PIDs are now
Finished BackupPC_backupDelete, status = 0 (running time: 0 sec)
Xfer PIDs are now
Running BackupPC_refCountUpdate -h win2k3 -f on win2k3
Xfer PIDs are now 18122
BackupPC_refCountUpdate: host win2k3 got 0 errors (took 0 secs)
Xfer PIDs are now
Finished BackupPC_refCountUpdate (running time: 0 sec)
Xfer PIDs are now
XferLOG file /home/backuppc/pc/win2k3/XferLOG.526.z created 2024-05-19 02:18:30
Backup prep: type = full, case = 4, inPlace = 0, doDuplicate = 0, newBkupNum = 
526, newBkupIdx = 3, lastBkupNum = 525, lastBkupIdx = 2 (FillCycle = 0, 
noFillCnt = 1)
Running: /usr/local/bin/smbclient win2k3.intellasoft.lan\\Storage -U 
Administrator -E -d 1 -c tarmode\ full -Tc -
full backup started for share Storage
Xfer PIDs are now 28519,28518
tarExtract: /usr/local/bin/BackupPC_tarExtract: got Full = 1
tarExtract: /usr/local/bin/BackupPC_tarExtract starting... (XferLogLevel = 1)
tarmode is now full, system, hidden, noreset, noverbose
  same 644   0/0 293 .apdisk
  same 644   0/0   38916 .DS_Store
  same 755   0/0   0 .TemporaryItems
  same 755   0/0   0 .Trash-1000
  same 755   0/0   0 0-Firmware
  same 755   0/0   0 0-ISO
  same 755   0/0   0 0-Sample-Configs
  same 755   0/0   0 0-Templates
  same 644   0/08450 0-VEGA-TONES-USA.txt
  same 755   0/0   0 0-Firmware/AudioCodes
BackupPC_tarExtract exited with fail status 14
readOutput: sysread 

Re: [BackupPC-users] BackupPC remembers _everything_

2024-05-07 Thread Dave Sherohman via BackupPC-users
By default, rsync will only copy new files to the destination and update 
existing ones, but it does not delete files which are not present in the source 
unless it receives the --delete parameter.  Sounds like you're probably missing 
that.

From: Kirby 
Sent: Monday, May 6, 2024 17:55
To: backuppc-users@lists.sourceforge.net 
Subject: [BackupPC-users] BackupPC remembers _everything_

BackupPC has been covering up my stupid mistakes since 2005.
Fortunately, I have never done the 'rm -r *' until last week. Good thing
was that I was in my home directory so the system itself was untouched
and I caught myself before too much could get deleted.

'Not a problem!' I thought. I will just restore from last night's backup
and be on my way. I selecting the missing files and directories, started
the restore, and went for a walk. When I got back things were in a sorry
state. My ~/Downloads directory was has filled up my drive included
stuff that had been deleted 5 years ago.

Am I misunderstanding how fill works? I though it was filled from the
last backup going back to the last non-filled backup. Instead it looks
like it is pulling everything it has ever backed up.

I am running BackupPC-4.4.0-1.el8.x86_64.

Thank you.


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


Re: [BackupPC-users] BackupPC remembers _everything_

2024-05-06 Thread backuppc
That shouldn't of course happen -- though you did violate the first
rule of backups which is to *test* them so they are there and working
when you need them 
You would need to tell us a lot more details if you want help.
My guess given the lack of any other diagnostic information is that
perhaps you changed the rsync parameters?

Kirby wrote at about 11:55:16 -0400 on Monday, May 6, 2024:
 > BackupPC has been covering up my stupid mistakes since 2005. 
 > Fortunately, I have never done the 'rm -r *' until last week. Good thing 
 > was that I was in my home directory so the system itself was untouched 
 > and I caught myself before too much could get deleted.
 > 
 > 'Not a problem!' I thought. I will just restore from last night's backup 
 > and be on my way. I selecting the missing files and directories, started 
 > the restore, and went for a walk. When I got back things were in a sorry 
 > state. My ~/Downloads directory was has filled up my drive included 
 > stuff that had been deleted 5 years ago.
 > 
 > Am I misunderstanding how fill works? I though it was filled from the 
 > last backup going back to the last non-filled backup. Instead it looks 
 > like it is pulling everything it has ever backed up.
 > 
 > I am running BackupPC-4.4.0-1.el8.x86_64.
 > 
 > Thank you.
 > 
 > 
 > ___
 > BackupPC-users mailing list
 > BackupPC-users@lists.sourceforge.net
 > List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
 > Wiki:https://github.com/backuppc/backuppc/wiki
 > Project: https://backuppc.github.io/backuppc/


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


[BackupPC-users] BackupPC remembers _everything_

2024-05-06 Thread Kirby
BackupPC has been covering up my stupid mistakes since 2005. 
Fortunately, I have never done the 'rm -r *' until last week. Good thing 
was that I was in my home directory so the system itself was untouched 
and I caught myself before too much could get deleted.


'Not a problem!' I thought. I will just restore from last night's backup 
and be on my way. I selecting the missing files and directories, started 
the restore, and went for a walk. When I got back things were in a sorry 
state. My ~/Downloads directory was has filled up my drive included 
stuff that had been deleted 5 years ago.


Am I misunderstanding how fill works? I though it was filled from the 
last backup going back to the last non-filled backup. Instead it looks 
like it is pulling everything it has ever backed up.


I am running BackupPC-4.4.0-1.el8.x86_64.

Thank you.


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


Re: [BackupPC-users] BUG in 'sub new' in Lib.pm

2024-05-05 Thread backuppc
There was a slight bug in the code I offered below.
Here is a fixed and better version:

foreach my $dir ( qw(TopDir ConfDir InstallDir LogDir RunDir) ) {
if ($bpc->{Conf}{$dir} eq ""  || defined(lcfirst($dir))) {
   $bpc->{Conf}{$dir} = $bpc->{$dir};
} else {
   $bpc->{$dir} = $bpc->{Conf}{$dir};
}
$paths->{$dir} = $bpc->{$dir};

backu...@kosowsky.org wrote at about 13:50:11 + on Sunday, May 5, 2024:
 > The following code seems to imply that one can (optionally) set
 > TopDir, InstallDir, and ConfDir when initializing a new bpc class
 > sub new
 >  {
 > my $class = shift;
 >  my($topDir, $installDir, $confDir, $noUserCheck) = @_;
 > 
 > However, this doesn't really seem to have any effect in practice.
 > 
 > Specifically,
 > - If TopDir, InstallDir, or ConfDir *are* set in config.pl, then
 >   the following code overrides the arguments given to 'sub new',
 >   making the input arguments irrelevant.
 > 
 >   foreach my $dir ( qw(TopDir ConfDir InstallDir LogDir RunDir) ) {
 >next if ( $bpc->{Conf}{$dir} eq "" );
 >$paths->{$dir} = $bpc->{$dir} = $bpc->{Conf}{$dir};
 > 
 > 
 > - Conversely, if TopDir, InstallDir, or ConfDir are *not* set in
 >   config.pl, then $bpc->{Conf}{$dir} is never set causing any
 >   routine that references $Conf{$dir} to fail
 > 
 > Suggested fix:
 >   foreach my $dir ( qw(TopDir ConfDir InstallDir LogDir RunDir) ) {
 >if (( $bpc->{Conf}{$dir} eq "" ) ||
 >(defined($topDir) && $dir eq "TopDir") ||
 >(defined($confDir) && $dir eq "ConfDir") ||
 >(defined($installDir) && $dir eq "InstallDir"))
 >{
 >$bpc->{Conf}{$dir} = $bpc->{$dir};
 >} else
 >   $bpc->{$dir} = $bpc->{Conf}{$dir};
 >}
 >$paths->{$dir} = $bpc->{$dir};
 > 
 > 
 > 
 > 
 > 
 > 
 > 
 > ___
 > BackupPC-users mailing list
 > BackupPC-users@lists.sourceforge.net
 > List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
 > Wiki:https://github.com/backuppc/backuppc/wiki
 > Project: https://backuppc.github.io/backuppc/
 > 
 > 
 > ___
 > BackupPC-users mailing list
 > BackupPC-users@lists.sourceforge.net
 > List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
 > Wiki:https://github.com/backuppc/backuppc/wiki
 > Project: https://backuppc.github.io/backuppc/


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


[BackupPC-users] BUG in 'sub new' in Lib.pm

2024-05-05 Thread backuppc
The following code seems to imply that one can (optionally) set
TopDir, InstallDir, and ConfDir when initializing a new bpc class
sub new
{
my $class = shift;
my($topDir, $installDir, $confDir, $noUserCheck) = @_;

However, this doesn't really seem to have any effect in practice.

Specifically,
- If TopDir, InstallDir, or ConfDir *are* set in config.pl, then
  the following code overrides the arguments given to 'sub new',
  making the input arguments irrelevant.

  foreach my $dir ( qw(TopDir ConfDir InstallDir LogDir RunDir) ) {
  next if ( $bpc->{Conf}{$dir} eq "" );
  $paths->{$dir} = $bpc->{$dir} = $bpc->{Conf}{$dir};


- Conversely, if TopDir, InstallDir, or ConfDir are *not* set in
  config.pl, then $bpc->{Conf}{$dir} is never set causing any
  routine that references $Conf{$dir} to fail

Suggested fix:
  foreach my $dir ( qw(TopDir ConfDir InstallDir LogDir RunDir) ) {
  if (( $bpc->{Conf}{$dir} eq "" ) ||
  (defined($topDir) && $dir eq "TopDir") ||
  (defined($confDir) && $dir eq "ConfDir") ||
  (defined($installDir) && $dir eq "InstallDir"))
  {
  $bpc->{Conf}{$dir} = $bpc->{$dir};
  } else
 $bpc->{$dir} = $bpc->{Conf}{$dir};
  }
  $paths->{$dir} = $bpc->{$dir};







___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


Re: [BackupPC-users] Problems cropping up with backups

2024-04-21 Thread Brad Alexander
I am still beating my head against this issue. I first, migrated all of the
jails off of the jail server (i5-7500, 32GB RAM, 2GB swap), except the jail
running backuppc. It still ran the system out of memory *and* out of swap,
to the point that I had to physically power off and back on. So this
morning, I migrated the backuppc jail to a machine (my desktop) that is
much beefier than the jail server. It sports an i7 (though CPU is not a
problem), 64GB of RAM, and 8GB of swap. I don't understand whatever it is
(presumably on the backuppc jail) is going straight for swap. The desktop
machine had 93% of swap utilized, and still had 50GB of RAM free. It
actually caused my desktop to become unresponsive.

So I rebooted, and ended up manually starting a backup by hand. After
several minutes, swap had gone to zero, and the system still had about 42GB
of free RAM. I'm not sure where the problem lies, but it appears to be on
the jail side of the equation ratiher than the NAS side. Here is what my
desktop currently looks like from top:

22 processes:  1 running, 21 sleeping
CPU:  0.8% user,  0.0% nice,  0.3% system,  0.3% interrupt, 98.7% idle
Mem: 2032M Active, 4706M Inact, 359M Laundry, 4518M Wired, 121M Buf, 51G
Free
ARC: 2104M Total, 1033M MFU, 968M MRU, 3476K Anon, 6837K Header, 92M Other
1774M Compressed, 2900M Uncompressed, 1.64:1 Ratio
Swap: 8192M Total, 4652M Used, 3539M Free, 56% Inuse, 48K In

And on the NAS, which has 32 GB of RAM and 4GB swap:

51 processes:  1 running, 50 sleeping
CPU:  0.0% user,  0.0% nice,  0.6% system,  0.0% interrupt, 99.4% idle
Mem: 149M Active, 1328M Inact, 28G Wired, 1435M Free
ARC: 24G Total, 15G MFU, 8421M MRU, 256K Anon, 203M Header, 817M Other
22G Compressed, 25G Uncompressed, 1.13:1 Ratio
Swap: 4096M Total, 4096M Free

The other side of the equation is the number of transfer errors that are
occurring on (scheduled) backups. The green ones are backups I ran
manually, to try to get the systems to misbehave. So one one side, I am
seeing transfer errors to the NAS (though a zfs scrub is showing zero
errors, but on the backuppc/jail side, the systems are running to at least
swap, and in many cases, memory starvation.

Does anyone have ideas? Is G.W. right and running backuppc over nfs is a
bad idea? Is there something in backuppc that is preferring swap to RAM?
I've been running backuppc for 20 years, and on FreeBSD for 10, and have
never seen this kind of behavior.

Thanks,
--b
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


Re: [BackupPC-users] Backup problems with /home directory

2024-04-16 Thread John Cusick
It finally dawned on me last night that the rsyncd daemon issue was that it
was running as the user "nobody"

Everything else was set correctly at the server so I changed the
rsyncd.conf file and set "uid = root".

One of the things I did was go through the rsync mailing list archives and
found someone else having a similar issue. Changing the uid setting was the
fix as long as the --perms position is double-checked at the server rsync
configuration to ensure that is also set.

The big issue, of course, is the permissions setup (drwx--) on the
clients for the /home directory but unfortunately that cannot be changed.

So, testing now and I see, tailing the log/messages file that my home
directory is now being backed up :)

I know this is technically a security issue but if someone cracks into the
server, that will be the least of my worries :)

I appreciate all the feedback, Les (and the rest). Half the problem is
having someone to talk the issue through with and you helped a lot in
forcing me to double-check *everything* to include (finally, last night)
what user the rsyncd daemon was running as. By default on RedHat, Fedora,
and probably others, it is running as the user "nobody" which did not work
in my case.

The next step is to be able to make sure a restore works within home
directories, but I think the setting of rsyncd to run as root has solved
the problem.

Simple, isn't it... arrgh

Thanks again for your remote eyeballs and reminders.

Best Regards,

John C.

On Tue, Apr 16, 2024 at 9:43 AM Les Mikesell  wrote:

> On Tue, Apr 16, 2024 at 2:12 AM John Cusick  wrote:
> >
> > I would have thought that the "sudo /usr/bin/rsync" would give the rsync
> executable root level access but I guess not. Something has appeared to
> have changed from 6 years ago and I'm not sure what it is.
> >
> > (again, the sudoers file reads: "backuppc ALL= NOPASSWD:/usr/bin/rsync" )
>
> When you are running rsync as a daemon, the permissions are entirely
> controlled by the startup options and config file and the authorized
> user setup has nothing to do with local users or sudoers.  The daemon
> needs to run as root to access most files and even then Selinux can
> prevent access.  Try disabling Selinux to see if that allows access.
>
> --
>   Les Mikesell
> lesmikes...@gmail.com
>
>
> ___
> BackupPC-users mailing list
> BackupPC-users@lists.sourceforge.net
> List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
> Wiki:https://github.com/backuppc/backuppc/wiki
> Project: https://backuppc.github.io/backuppc/
>
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


Re: [BackupPC-users] Backup problems with /home directory

2024-04-16 Thread Les Mikesell
On Tue, Apr 16, 2024 at 2:12 AM John Cusick  wrote:
>
> I would have thought that the "sudo /usr/bin/rsync" would give the rsync 
> executable root level access but I guess not. Something has appeared to have 
> changed from 6 years ago and I'm not sure what it is.
>
> (again, the sudoers file reads: "backuppc ALL= NOPASSWD:/usr/bin/rsync" )

When you are running rsync as a daemon, the permissions are entirely
controlled by the startup options and config file and the authorized
user setup has nothing to do with local users or sudoers.  The daemon
needs to run as root to access most files and even then Selinux can
prevent access.  Try disabling Selinux to see if that allows access.

-- 
  Les Mikesell
lesmikes...@gmail.com


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


Re: [BackupPC-users] Backup problems with /home directory

2024-04-16 Thread Iosif Fettich

Hi once more,

I haven't fully followed, but I think that you've written that

the sudoers file has the following entry:

# setup for backuppc to run rsync
backuppc ALL= NOPASSWD:/usr/bin/rsync
---

and at some other point you mentioned that rsync is run by user 
'nobody'...?


_Not_ backuppc...? So this sudo entry might be useless?

You'll figure it out, just take it easy ;)

Look for what user on which end is doing what, one single step after 
another.


Regards,

Iosif Fettich


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


Re: [BackupPC-users] Backup problems with /home directory

2024-04-16 Thread Jamie Burchell via BackupPC-users
In BackupPC > Edit Config > Rsync Paths/Commands/Args do you have “sudo
/usr/bin/rsync” for RsyncClientPath?



Kind regards,

*Jamie*
--





*From:* John Cusick 
*Sent:* Tuesday, April 16, 2024 8:09 AM
*To:* General list for user discussion, questions and support <
backuppc-users@lists.sourceforge.net>
*Subject:* Re: [BackupPC-users] Backup problems with /home directory



On Mon, Apr 15, 2024 at 8:44 PM Les Mikesell  wrote:

On Mon, Apr 15, 2024 at 9:10 PM John Cusick  wrote:
>
> I've searched multiple sites and everything I've tried just isn't working.
>
> I'm using rsyncd
>
> The systems I'm testing are both Fedora 39, one server and one laptop.
>
> I'm using the BackupPC on the server:
> BackupPC-XS-0.62-13.fc39.x86_64
> BackupPC-4.4.0-10.fc39.x86_64
>
> I named the backup user "backuppc" which has passwordless ssh login on
both the server and laptop client.
>
> the sudoers file has the following entry:
...

Are you sure you understand the difference between the rsync and
rsyncd methods?Rsyncd expects a standalone rsync daemon listening
on the client and backs up 'shares' in the rsyncd.conf setup.   The
rsync method connects over ssh to the client and either needs to
connect as root on the client or have a more convoluted sudo
configuration to have permission to read everything.

-- Les Mikesell
 lesmikes...@gmail.com

Les, thanks for your reply.



I believe I do know the difference.



I'm using the rsyncd method although I tried the rsync method which I felt
was too convoluted to bother with, and it didn't work either.



In a work environment using BackupPC, version 2.x, and  3.x, I had set up a
system that successfully backed up terabytes of info for 11 or so clients
for years using rsyncd on the clients. The only difference I specifically
remember compared to today is that

the backuppc user 6+ years ago was set up with a service UID/GID number
(<1000 for UID/GID on RedHat/Fedora)



I've since retired but have been asked to come back and set up something
along the same lines, so I figured I had better "practice" on my home
systems first with the newer version of BackupPC. And, as I mentioned, the
server is successfully backing up the

/etc and /usr/local directories using rsync with the rsyncd daemon on the
client but will not back up either of the /home/user directories.



The setup for each directory on the client system is identical, for example:



-

[local]

  comment = /usr/local directory
  path = /usr/local
  auth users = backuppc
  secrets file = /etc/rsyncd.secrets
  hosts allow = x.x.x.x

[user]

comment = home directory
path = /home/user
auth users = backuppc
secrets file = /etc/rsyncd.secrets

hosts allow = x.x.x.x

-

(I've changed the "user name")



/usr/local backs up with no unexpected errors. The user directories fail
with:

"rsync: [sender] change_dir "/" (in backuppc) failed: Permission denied
(13)"



The permissions of the user directories are identical to those I worked
with years ago, i.e., /home/user is drwx--

(This is required in this secured environment)



BackupPC version 3 had no problems entering these user directories using
rsync/rsyncd but for some reason this version gives the above error.



The reason I mention transferring the test file was to show that the "sudo
rsync" command for the backuppc user without password is working to copy a
file from one home directory to another home directory even with the
permissions set as they are.



I cannot figure out why this is happening after messing with it for hours
yesterday and today. Obviously I'm missing something and I'm assuming it
has something to do with the /home/user directory permissions but they must
remain as they are due to security issues required at the work site for the
last 10 years or so. It worked then but isn't working now and selinux,
enforcing, is giving no errors



One thing I've noticed is that rsync runs on the client system as user
nobody, so I'm assuming it's a permissions error, so I tried setting rsync
with the suid bit, but it changed  nothing..



I would have thought that the "sudo /usr/bin/rsync" would give the rsync
executable root level access but I guess not. Something has appeared to
have changed from 6 years ago and I'm not sure what it is.



(again, the sudoers file reads: "backuppc ALL= NOPASSWD:/usr/bin/rsync" )



Regards,



John C.



___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


Re: [BackupPC-users] Backup problems with /home directory

2024-04-16 Thread Iosif Fettich

Hi there,


On the client system I can sudo to the backuppc user and, as a test I ran "sudo 
rsync /home/john/testfile.txt /home/backuppc/" and it succeeds
with no errors. The file was copied to the backuppc home directory.

But it always fails when being run from the BackupPC server with the "Permission 
denied (13)" error.

I'm stumped and any help would be appreciated.


Any ACL (Access Control List) in place...?

SELinux enabled?

Maybe the sudo comand run by the server differs from the one that you are 
testing?


What if you vary the permissions on the problematic directories for a 
single run/day?


I'm curious about what you will find. ;)

Good luck!

Iosif Fettich


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


Re: [BackupPC-users] Backup problems with /home directory

2024-04-16 Thread John Cusick
On Mon, Apr 15, 2024 at 8:44 PM Les Mikesell  wrote:

> On Mon, Apr 15, 2024 at 9:10 PM John Cusick  wrote:
> >
> > I've searched multiple sites and everything I've tried just isn't
> working.
> >
> > I'm using rsyncd
> >
> > The systems I'm testing are both Fedora 39, one server and one laptop.
> >
> > I'm using the BackupPC on the server:
> > BackupPC-XS-0.62-13.fc39.x86_64
> > BackupPC-4.4.0-10.fc39.x86_64
> >
> > I named the backup user "backuppc" which has passwordless ssh login on
> both the server and laptop client.
> >
> > the sudoers file has the following entry:
> ...
>
> Are you sure you understand the difference between the rsync and
> rsyncd methods?Rsyncd expects a standalone rsync daemon listening
> on the client and backs up 'shares' in the rsyncd.conf setup.   The
> rsync method connects over ssh to the client and either needs to
> connect as root on the client or have a more convoluted sudo
> configuration to have permission to read everything.
>
> -- Les Mikesell
>  lesmikes...@gmail.com
>
>
> Les, thanks for your reply.

I believe I do know the difference.

I'm using the rsyncd method although I tried the rsync method which I felt
was too convoluted to bother with, and it didn't work either.

In a work environment using BackupPC, version 2.x, and  3.x, I had set up a
system that successfully backed up terabytes of info for 11 or so clients
for years using rsyncd on the clients. The only difference I specifically
remember compared to today is that
the backuppc user 6+ years ago was set up with a service UID/GID number
(<1000 for UID/GID on RedHat/Fedora)

I've since retired but have been asked to come back and set up something
along the same lines, so I figured I had better "practice" on my home
systems first with the newer version of BackupPC. And, as I mentioned, the
server is successfully backing up the
/etc and /usr/local directories using rsync with the rsyncd daemon on the
client but will not back up either of the /home/user directories.

The setup for each directory on the client system is identical, for example:

-
[local]
  comment = /usr/local directory
  path = /usr/local
  auth users = backuppc
  secrets file = /etc/rsyncd.secrets
  hosts allow = x.x.x.x
[user]
comment = home directory
path = /home/user
auth users = backuppc
secrets file = /etc/rsyncd.secrets
hosts allow = x.x.x.x
-
(I've changed the "user name")

/usr/local backs up with no unexpected errors. The user directories fail
with:
"rsync: [sender] change_dir "/" (in backuppc) failed: Permission denied
(13)"

The permissions of the user directories are identical to those I worked
with years ago, i.e., /home/user is drwx--
(This is required in this secured environment)

BackupPC version 3 had no problems entering these user directories using
rsync/rsyncd but for some reason this version gives the above error.

The reason I mention transferring the test file was to show that the "sudo
rsync" command for the backuppc user without password is working to copy a
file from one home directory to another home directory even with the
permissions set as they are.

I cannot figure out why this is happening after messing with it for hours
yesterday and today. Obviously I'm missing something and I'm assuming it
has something to do with the /home/user directory permissions but they must
remain as they are due to security issues required at the work site for the
last 10 years or so. It worked then but isn't working now and selinux,
enforcing, is giving no errors

One thing I've noticed is that rsync runs on the client system as user
nobody, so I'm assuming it's a permissions error, so I tried setting rsync
with the suid bit, but it changed  nothing..

I would have thought that the "sudo /usr/bin/rsync" would give the rsync
executable root level access but I guess not. Something has appeared to
have changed from 6 years ago and I'm not sure what it is.

(again, the sudoers file reads: "backuppc ALL= NOPASSWD:/usr/bin/rsync" )

Regards,

John C.


> ___
> BackupPC-users mailing list
> BackupPC-users@lists.sourceforge.net
> List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
> Wiki:https://github.com/backuppc/backuppc/wiki
> Project: https://backuppc.github.io/backuppc/
>
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


Re: [BackupPC-users] Backup problems with /home directory

2024-04-15 Thread Les Mikesell
On Mon, Apr 15, 2024 at 9:10 PM John Cusick  wrote:
>
> I've searched multiple sites and everything I've tried just isn't working.
>
> I'm using rsyncd
>
> The systems I'm testing are both Fedora 39, one server and one laptop.
>
> I'm using the BackupPC on the server:
> BackupPC-XS-0.62-13.fc39.x86_64
> BackupPC-4.4.0-10.fc39.x86_64
>
> I named the backup user "backuppc" which has passwordless ssh login on both 
> the server and laptop client.
>
> the sudoers file has the following entry:
...

Are you sure you understand the difference between the rsync and
rsyncd methods?Rsyncd expects a standalone rsync daemon listening
on the client and backs up 'shares' in the rsyncd.conf setup.   The
rsync method connects over ssh to the client and either needs to
connect as root on the client or have a more convoluted sudo
configuration to have permission to read everything.

-- Les Mikesell
 lesmikes...@gmail.com


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


[BackupPC-users] Backup problems with /home directory

2024-04-15 Thread John Cusick
I've searched multiple sites and everything I've tried just isn't working.

I'm using rsyncd

The systems I'm testing are both Fedora 39, one server and one laptop.

I'm using the BackupPC on the server:
BackupPC-XS-0.62-13.fc39.x86_64
BackupPC-4.4.0-10.fc39.x86_64

I named the backup user "backuppc" which has passwordless ssh login on both
the server and laptop client.

the sudoers file has the following entry:

# setup for backuppc to run rsync
backuppc ALL= NOPASSWD:/usr/bin/rsync

The rsyncd.conf and rsyncd.secrets files are setup correctly as far as I
can tell since both the "/usr/local" and "/etc" directories are backed up
with no problems (that I worry about :)

I'm backing up 4 directories, /etc, /usr/local, /home/john, and
/home/backuppc

No matter what I've tried so far, even though the "/etc" and "/user/local"
directories are successfully backed up, everytime backuppc tries to backup
either user directory in the /home directory I get the following error:

  rsync: [sender] change_dir "/" (in backuppc) failed: Permission denied
(13)

On the client system I can sudo to the backuppc user and, as a test I ran
"sudo rsync /home/john/testfile.txt /home/backuppc/" and it succeeds with
no errors. The file was copied to the backuppc home directory.

But it always fails when being run from the BackupPC server with the
"Permission denied (13)" error.

I'm stumped and any help would be appreciated.

Regards,

John C.
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


Re: [BackupPC-users] Problems cropping up with backups

2024-04-15 Thread Brad Alexander
On Mon, Apr 15, 2024 at 8:30 AM G.W. Haywood 
wrote:

> Hi there,
>
> On Mon, 15 Apr 2024, Brad Alexander wrote:
>
> > I am having a bit of a problem with my backuppc install that just cropped
> > up recently.
> >
> > Most of my network runs the latest version of FreeBSD 14.0-RELEASE, and
> it
> > has been running on FreeBSD for years.
>
> Noted. [1]
>
> > So my backuppc server is in a FreeBSD jail on dedicated jails server
> > (i-5 7500, 32 GB RAM), with backing storage that is NFS mounted from
> > from my TrueNAS host.
>
> Noted. [2]
>
> > I am backing up a total of 8 jails, 3 hardware servers, my desktop, my
> > laptop, all running FreeBSD 14.0. I am also backing up my wife's desktop,
> > which is running linux. I'm using rsync. Everything has been backing up
> > properly, then one day about 2 weeks ago, backups on my laptop quit
> > working. I started receiving the error message
> >
> > backup failed (rsync error: error in rsync protocol data stream...)
> >
> > R bpc_read: read past EOF; readSize = 1024, posn = 356352, fileSize = 0,
> bufferSize = 8388608
> > R bpc_read: read past EOF; readSize = 17408, posn = 0, fileSize = 0,
> bufferSize = 8388608
> > ...
> > [ skipped some lines ]
> > ...
> > R bpc_poolWrite_updateMatches: can't open candidate file
> > ...
> > Since it is only occurring on these two hosts, but none of the other 14,
> > can someone explain what is going on here?
>
> Are you running the server from UPS?  Because to me that looks like
> filesystem damage.  If I'm right it could be a lost write at a power
> failure or something, or maybe it could be that a storage medium is on
> the way out.  I'd want to know ASAP.  To start with, can you run fsck
> or something like that on the TrueNAS host?
>
> [1] I note that this has been working for years, but all the same I
> feel the need to say that in my experience NFS has been truly awful
> for this kind of thing.  Performance, reliability, everything.
>
> [2] NAS hosts have a habit of getting compromised, however from all
> you've said I have to assume that you're on top of that.  But it might
> be worth considering the possibility.  I wouldn't touch them with a
> ten metre pole.  Putting TrueNAS and NFS in the same system seem to me
> like asking for it but I guess I have to keep coming back to [1]. :/
>
> Can't really fault you for putting BackupPC in a jail, but I'd be more
> concerned about things attacking BackupPC than I would that the backup
> server might attack the rest of the network.  My personal take on it
> is to run separate hardware for the backup server.
>

Hi G.W.,

The NAS (as well as the two jail servers) are on UPS. And TrueNAS generally
does not lose writes, as the underlying
filesystem is ZFS, which is copy-on-write, plus checksums every block on
read and write. The last scrub of the zpool (checking checksums against
saved ones, was completed Apr 7:

scan: scrub repaired 0B in 16:34:41 with 0 errors on Sun Apr  7 16:34:43
2024

However,  I am running another one currently, just to be sure. Also came
back with zero errors:

scan: scrub repaired 0B in 09:24:41 with 0 errors on Mon Apr 15 20:34:02
2024

As for the other notes:

[1] My previous configuration was I had the jail running on the NAS and the
dataset mounted via nullfs mount to the jail. The strange thing is that it
is only with these two particular hosts. All of the other systems being
backed up are working fine, both jails and hardware. And initially, the
desktop was backing up, only the laptop stopped working. Once I disabled
the laptop, the desktop stopped. Now I have both disabled, and everything
else is still working.

[2] The NAS is only reachable from the internal network. I do watch network
security closely. Having said that, I don't understand  what you meant
about putting TrueNAS and NFS on the same system. TrueNAS is a
FreeBSD-based appliance for network attached storage, and where else would
you run NFS from, if the data lives on the NAS box...

And the reason that I have backuppc in a jail is that TrueNAS is an
appliance, and thus installing software (like backuppc) on the  TrueNAS OS
is contraindicated.

In addition, I have seen over the years, dating back to 2005, of people
successfully running backuppc over NFS, plus my ZFS pool says things are
okay, so I'm at a loss...

Ceers,
--b
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


Re: [BackupPC-users] Problems cropping up with backups

2024-04-15 Thread G.W. Haywood

Hi there,

On Mon, 15 Apr 2024, Brad Alexander wrote:


I am having a bit of a problem with my backuppc install that just cropped
up recently.

Most of my network runs the latest version of FreeBSD 14.0-RELEASE, and it
has been running on FreeBSD for years.


Noted. [1]


So my backuppc server is in a FreeBSD jail on dedicated jails server
(i-5 7500, 32 GB RAM), with backing storage that is NFS mounted from
from my TrueNAS host.


Noted. [2]


I am backing up a total of 8 jails, 3 hardware servers, my desktop, my
laptop, all running FreeBSD 14.0. I am also backing up my wife's desktop,
which is running linux. I'm using rsync. Everything has been backing up
properly, then one day about 2 weeks ago, backups on my laptop quit
working. I started receiving the error message

backup failed (rsync error: error in rsync protocol data stream...)

R bpc_read: read past EOF; readSize = 1024, posn = 356352, fileSize = 0, 
bufferSize = 8388608
R bpc_read: read past EOF; readSize = 17408, posn = 0, fileSize = 0, bufferSize 
= 8388608
...
[ skipped some lines ]
...
R bpc_poolWrite_updateMatches: can't open candidate file
...
Since it is only occurring on these two hosts, but none of the other 14,
can someone explain what is going on here?


Are you running the server from UPS?  Because to me that looks like
filesystem damage.  If I'm right it could be a lost write at a power
failure or something, or maybe it could be that a storage medium is on
the way out.  I'd want to know ASAP.  To start with, can you run fsck
or something like that on the TrueNAS host?

[1] I note that this has been working for years, but all the same I
feel the need to say that in my experience NFS has been truly awful
for this kind of thing.  Performance, reliability, everything.

[2] NAS hosts have a habit of getting compromised, however from all
you've said I have to assume that you're on top of that.  But it might
be worth considering the possibility.  I wouldn't touch them with a
ten metre pole.  Putting TrueNAS and NFS in the same system seem to me
like asking for it but I guess I have to keep coming back to [1]. :/

Can't really fault you for putting BackupPC in a jail, but I'd be more
concerned about things attacking BackupPC than I would that the backup
server might attack the rest of the network.  My personal take on it
is to run separate hardware for the backup server.

--

73,
Ged.


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


[BackupPC-users] Problems cropping up with backups

2024-04-14 Thread Brad Alexander
I am having a bit of a problem with my backuppc install that just cropped
up recently.

Most of my network runs the latest version of FreeBSD 14.0-RELEASE, and it
has been running on FreeBSD for years. So my backuppc server is in a
FreeBSD jail on dedicated jails server (i-5 7500, 32 GB RAM), with backing
storage that is NFS mounted from from my TrueNAS host.

I am backing up a total of 8 jails, 3 hardware servers, my desktop, my
laptop, all running FreeBSD 14.0. I am also backing up my wife's desktop,
which is running linux. I'm using rsync. Everything has been backing up
properly, then one day about 2 weeks ago, backups on my laptop quit
working. I started receiving the error message

backup failed (rsync error: error in rsync protocol data stream...)

R bpc_read: read past EOF; readSize = 1024, posn = 356352, fileSize =
0, bufferSize = 8388608
R bpc_read: read past EOF; readSize = 17408, posn = 0, fileSize = 0,
bufferSize = 8388608
R bpc_read: read past EOF; readSize = 16384, posn = 17408, fileSize =
0, bufferSize = 8388608
R bpc_read: read past EOF; readSize = 16384, posn = 33792, fileSize =
0, bufferSize = 8388608
R bpc_read: read past EOF; readSize = 17408, posn = 0, fileSize = 0,
bufferSize = 8388608
[ skipped 10 lines ]
G bpc_read: read past EOF; readSize = 263168, posn = 0, fileSize = 0,
bufferSize = 8388608
G bpc_read: read past EOF; readSize = 93296, posn = 263168, fileSize =
0, bufferSize = 8388608
G bpc_read: read past EOF; readSize = 35476, posn = 0, fileSize = 0,
bufferSize = 8388608
G bpc_read: read past EOF; readSize = 10444, posn = 0, fileSize = 0,
bufferSize = 8388608
[ skipped 13 lines ]
R bpc_lockRangeFile: lock(/var/db/BackupPC/cpool/6c/LOCK) failed (errno = 77)
R bpc_lockRangeFile: lock(/var/db/BackupPC/cpool/6c/LOCK) failed (errno = 77)
R Couldn't unmark candidate matching file
/var/db/BackupPC/cpool/6c/26/6d26699a125545199160085ff70ca52e
(skipped; errno = 77)
R bpc_poolWrite_updateMatches: can't open candidate file
/var/db/BackupPC/cpool/2c/62/2c63d079017f8c341cc1320e27c1562001 for
read
R bpc_poolWrite_addToPool: can't stat
/var/db/BackupPC/cpool/2c/62/2c63d079017f8c341cc1320e27c1562001

Since it is only occurring on these two hosts, but none of the other 14,
can someone explain what is going on here?

Thanks,
--b
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


Re: [BackupPC-users] PingCmd no longer having effect

2024-04-05 Thread Ian via BackupPC-users

On 4/5/24 17:40, Les Mikesell wrote:

You can use $Conf{ClientNameAlias} to point multiple hosts to the same
IP (or a resolvable name).


Yes, this works so long as I override the RsyncSshArgs in the host 
config to include the correct port.


Thanks___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


Re: [BackupPC-users] PingCmd no longer having effect

2024-04-05 Thread Mike Hughes
Hi Ian,

I'm not sure why it would suddenly stop working for you as that seems like a 
completely legitimate solution.
FWIW, this is the command I use for unpingable clients:
$Conf{PingCmd} = '/bin/echo $host';

Best of luck!

From: Ian via BackupPC-users 
Sent: Friday, April 5, 2024 1:27 PM
To: backuppc-users@lists.sourceforge.net 
Cc: Ian 
Subject: [BackupPC-users] PingCmd no longer having effect

Hi,

I've been using BackupPC for many years now, and have used /usr/bin/true as the 
ping command for hosts that can't respond to ping.  However after a reboot on 
January 31st, my server stopped obeying pingcmd and stopped backing up those 
hosts due to lack of ping response.  I am using BackupPC 4.4.0-5ubuntu2 amd64 
on Ubuntu 22.04.

So far I have tried:

Overriding $Conf{PingCmd}, $Conf{PingPath}, and $Conf{Ping6Path} in the global 
config from webui and config file.

Setting  $Conf{PingCmd} in the client config to either /usr/bin/true or ping 
-c1 127.0.0.1 using webui and config file.

None of the above seem to make any difference at all anymore.  No matter what I 
set, I restart the service and get the same error:

2024-04-05 13:58:38 can't ping  (client = myclient.com); exiting


However I can confirm other changes to the client config files do have an 
effect.  For example setting a ClientNameAlias in the client config works.

I also tried deleting the client config file and allowing the webui to create 
it, and doing an apt-get --reinstall install backuppc.  Same effect.

I'm wondering if anyone has noticed anything similar, or has advice on how to 
debug.

Thanks,
Ian
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


Re: [BackupPC-users] PingCmd no longer having effect

2024-04-05 Thread Les Mikesell
On Fri, Apr 5, 2024 at 3:56 PM Ian via BackupPC-users
 wrote:
>

> I guess this is my fault due to my setup.  I have several systems at a single 
> dynamic ip.  I have backupPC set up like so:

You can use $Conf{ClientNameAlias} to point multiple hosts to the same
IP (or a resolvable name).

-- 
 Les Mikesell
  lesmikes...@gmail.com


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


Re: [BackupPC-users] PingCmd no longer having effect

2024-04-05 Thread Kim Scarborough

Just add everything you want to /etc/hosts on the backuppc server.

On 4/5/24 3:53 PM, Ian via BackupPC-users wrote:

Thank you!  You're completely right. When it says

2024-04-05 15:28:10 Can't find host myhost.com via NS and netbios
2024-04-05 15:28:10 can't ping  (client = myhost.com); exiting

It seems like the first line is the real failure, and the ping is 
never attempted.


Apologies for the list to cutting the log entry too short in my 
original post.


I guess this is my fault due to my setup.  I have several systems at a 
single dynamic ip.  I have backupPC set up like so:


host1.myhost.com
host2.myhost.com
host3.myhost.com
...

The backuppc user's ssh config file has each of those hosts configured 
with different ports:


Host host1.myhost.com
  Hostname myhost.com
  Port 1
  User root

Host host2.myhost.com
  Hostname myhost.com
  Port 2
  User root

Host host3.myhost.com
  Hostname myhost.com
  Port 3
  User root

...

This way the backuppc user can ssh host3.myhost.com and be logged in 
to the proper system automatically.


I guess now my goal is to find out how to make backuppc bypass the dns 
check, or to check myhost.com instead of hostx.myhost.com.


Though perhaps I'm way off base and there's a better way of 
configuring all of this.


Ian


On 4/5/24 16:14, Robert Trevellyan wrote:
Unless I'm missing something, this seems to be important: 2024-04-05 
15:28:10 Can't find host myhost.com  via NS and 
netbios


Have you tried adding an entry to your hosts file just to get past 
this and allow further troubleshooting?


Robert Trevellyan


On Fri, Apr 5, 2024 at 3:45 PM Ian via BackupPC-users 
 wrote:


On 4/5/24 15:25, to...@tuxteam.de wrote:
> On Fri, Apr 05, 2024 at 02:27:55PM -0400, Ian via
BackupPC-users wrote:
>> Hi,
>>
>> I've been using BackupPC for many years now, and have used
/usr/bin/true as
>> the ping command [...]
> Are you sure it's supposed to be /usr/bin/true and not just
/bin/true?
>
> Cheers

Pretty sure, 'which true' returns '/usr/bin/true'.  Though, on my
system
true also exists at /bin/true, so I tried that as well just now. 
Same
result.

I've also tried placing scripts in the PingCmd field and they do not
appear to execute.

Thanks,
Ian


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/



___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project:https://backuppc.github.io/backuppc/




___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project:https://backuppc.github.io/backuppc/___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


Re: [BackupPC-users] PingCmd no longer having effect

2024-04-05 Thread Ian via BackupPC-users

Thank you!  You're completely right. When it says

   2024-04-05 15:28:10 Can't find host myhost.com via NS and netbios
   2024-04-05 15:28:10 can't ping  (client = myhost.com); exiting

It seems like the first line is the real failure, and the ping is never 
attempted.


Apologies for the list to cutting the log entry too short in my original 
post.


I guess this is my fault due to my setup.  I have several systems at a 
single dynamic ip.  I have backupPC set up like so:


   host1.myhost.com
   host2.myhost.com
   host3.myhost.com
   ...

The backuppc user's ssh config file has each of those hosts configured 
with different ports:


   Host host1.myhost.com
  Hostname myhost.com
  Port 1
  User root

   Host host2.myhost.com
  Hostname myhost.com
  Port 2
  User root

   Host host3.myhost.com
  Hostname myhost.com
  Port 3
  User root

   ...

This way the backuppc user can ssh host3.myhost.com and be logged in to 
the proper system automatically.


I guess now my goal is to find out how to make backuppc bypass the dns 
check, or to check myhost.com instead of hostx.myhost.com.


Though perhaps I'm way off base and there's a better way of configuring 
all of this.


Ian


On 4/5/24 16:14, Robert Trevellyan wrote:
Unless I'm missing something, this seems to be important: 2024-04-05 
15:28:10 Can't find host myhost.com  via NS and 
netbios


Have you tried adding an entry to your hosts file just to get past 
this and allow further troubleshooting?


Robert Trevellyan


On Fri, Apr 5, 2024 at 3:45 PM Ian via BackupPC-users 
 wrote:


On 4/5/24 15:25, to...@tuxteam.de wrote:
> On Fri, Apr 05, 2024 at 02:27:55PM -0400, Ian via BackupPC-users
wrote:
>> Hi,
>>
>> I've been using BackupPC for many years now, and have used
/usr/bin/true as
>> the ping command [...]
> Are you sure it's supposed to be /usr/bin/true and not just
/bin/true?
>
> Cheers

Pretty sure, 'which true' returns '/usr/bin/true'.  Though, on my
system
true also exists at /bin/true, so I tried that as well just now. 
Same
result.

I've also tried placing scripts in the PingCmd field and they do not
appear to execute.

Thanks,
Ian


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/



___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project:https://backuppc.github.io/backuppc/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


Re: [BackupPC-users] PingCmd no longer having effect

2024-04-05 Thread backuppc--- via BackupPC-users
Ian via BackupPC-users  wrote:

> the PingCmd field

The documentation suggests to alter PingPath rather than PingCmd:
https://backuppc.github.io/backuppc/BackupPC.html#_conf_pingpath_

Fabian


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


Re: [BackupPC-users] PingCmd no longer having effect

2024-04-05 Thread Robert Trevellyan
Unless I'm missing something, this seems to be important: 2024-04-05
15:28:10 Can't find host myhost.com via NS and netbios

Have you tried adding an entry to your hosts file just to get past this and
allow further troubleshooting?

Robert Trevellyan


On Fri, Apr 5, 2024 at 3:45 PM Ian via BackupPC-users <
backuppc-users@lists.sourceforge.net> wrote:

> On 4/5/24 15:25, to...@tuxteam.de wrote:
> > On Fri, Apr 05, 2024 at 02:27:55PM -0400, Ian via BackupPC-users wrote:
> >> Hi,
> >>
> >> I've been using BackupPC for many years now, and have used
> /usr/bin/true as
> >> the ping command [...]
> > Are you sure it's supposed to be /usr/bin/true and not just /bin/true?
> >
> > Cheers
>
> Pretty sure, 'which true' returns '/usr/bin/true'.  Though, on my system
> true also exists at /bin/true, so I tried that as well just now.  Same
> result.
>
> I've also tried placing scripts in the PingCmd field and they do not
> appear to execute.
>
> Thanks,
> Ian
>
>
> ___
> BackupPC-users mailing list
> BackupPC-users@lists.sourceforge.net
> List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
> Wiki:https://github.com/backuppc/backuppc/wiki
> Project: https://backuppc.github.io/backuppc/
>
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


Re: [BackupPC-users] PingCmd no longer having effect

2024-04-05 Thread tomas
On Fri, Apr 05, 2024 at 02:27:55PM -0400, Ian via BackupPC-users wrote:
> Hi,
> 
> I've been using BackupPC for many years now, and have used /usr/bin/true as
> the ping command [...]

Are you sure it's supposed to be /usr/bin/true and not just /bin/true?

Cheers
-- 
t


signature.asc
Description: PGP signature
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


Re: [BackupPC-users] PingCmd no longer having effect

2024-04-05 Thread Ian via BackupPC-users

On 4/5/24 15:25, to...@tuxteam.de wrote:

On Fri, Apr 05, 2024 at 02:27:55PM -0400, Ian via BackupPC-users wrote:

Hi,

I've been using BackupPC for many years now, and have used /usr/bin/true as
the ping command [...]

Are you sure it's supposed to be /usr/bin/true and not just /bin/true?

Cheers


Pretty sure, 'which true' returns '/usr/bin/true'.  Though, on my system 
true also exists at /bin/true, so I tried that as well just now.  Same 
result.


I've also tried placing scripts in the PingCmd field and they do not 
appear to execute.


Thanks,
Ian


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


Re: [BackupPC-users] PingCmd no longer having effect

2024-04-05 Thread Ian via BackupPC-users

On 4/5/24 14:52, Mike Hughes wrote:

$Conf{PingCmd} = '/bin/echo $host';


Thanks for the idea, unfortunately same result.

   2024-04-05 15:28:10 Can't find host myhost.com via NS and netbios
   2024-04-05 15:28:10 can't ping  (client = myhost.com); exiting

I also tried this

   $Conf{PingCmd} = '/var/lib/backuppc/test.sh';

Where test.sh is +x and contains

   #!/usr/bin/bash
   echo `/usr/bin/date` >> /var/lib/backuppc/testlog.txt

After restarting backuppc (and the whole server for good measure, since 
this problem is starting to feel weird), I tried backing up that host.  
No output in the text file.


However using sudo to execute the file as backuppc user works as expected.

Ian
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


[BackupPC-users] PingCmd no longer having effect

2024-04-05 Thread Ian via BackupPC-users

Hi,

I've been using BackupPC for many years now, and have used /usr/bin/true 
as the ping command for hosts that can't respond to ping.  However after 
a reboot on January 31st, my server stopped obeying pingcmd and stopped 
backing up those hosts due to lack of ping response.  I am using 
BackupPC 4.4.0-5ubuntu2 amd64 on Ubuntu 22.04.


So far I have tried:

Overriding $Conf{PingCmd}, $Conf{PingPath}, and $Conf{Ping6Path} in the 
global config from webui and config file.


Setting  $Conf{PingCmd} in the client config to either /usr/bin/true or 
ping -c1 127.0.0.1 using webui and config file.


None of the above seem to make any difference at all anymore.  No matter 
what I set, I restart the service and get the same error:


   2024-04-05 13:58:38 can't ping  (client = myclient.com); exiting

However I can confirm other changes to the client config files do have 
an effect.  For example setting a ClientNameAlias in the client config 
works.


I also tried deleting the client config file and allowing the webui to 
create it, and doing an apt-get --reinstall install backuppc. Same effect.


I'm wondering if anyone has noticed anything similar, or has advice on 
how to debug.


Thanks,
Ian___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


Re: [BackupPC-users] Backing up Windows 11

2024-03-12 Thread Michael Stowe
First, that was meant to be read as "from dealing with junctions to 
dealing with file semantics" and while you're not specific about what 
you want, the normal reason for being able to back up things like 
"Program Files" is the ability to recover an app and its configuration 
from a backup, and at the very least, samba isn't capable of backing up 
the registry (for example) due to the aforementioned file semantics, nor 
can it back up any open files.


On the other hand, if your goal is to mostly have some executable files 
in case you delete one, perhaps you're all set.


On 2024-03-12 08:42, Dave Bachmann wrote:


Yes, I'm using Samba. Why wouldn't it cover everything?

I believe I have all my file/folder permissions properly set but I 
don't understand what you meant by "junctions to file semantics". 
Please clarify.


Thanx!
-

From: Michael Stowe 
Sent: Monday, March 11, 2024 23:05
To: General list for user discussion, questions and support 


Cc: Dave Bachmann 
Subject: Re: [BackupPC-users] Backing up Windows 11

You're likely running into a few unrelated issues, from dealing with 
junctions to file semantics, to Windows permissions.


Are you using SMB/CIFS?  Because that's unlikely to cover everything 
you want.


On 2024-03-11 14:41, Dave Bachmann wrote:

I've recently added a Windows 11 machine to a home network that is 
otherwise all Linux. The single hard drive has separate CODE and DATA 
partitions The DATA partition backs up easily, but I have problems 
with the CODE. I don't want to waste the space required to backup all 
of the Windows executables, but do want backups of \Users and possibly 
\ProgramData, \Program Files, and \Program Files (x86) as well as any 
others that may be recommended.


I've tried a number of techniques using BackupFilesOnly that 
consistently backs up files for C:\ as well as from many, but not all, 
of the other folders.


I know this question must have been asked many times before, but is 
there a sample configuration that I can use to stop beating my head 
against a wall?


Thanx!

___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/ [1]




Links:
--
[1] https://backuppc.github.io/backuppc/___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


Re: [BackupPC-users] Backing up Windows 11

2024-03-12 Thread Dave Bachmann
No, I hadn't tried BackupFilesExclude as that would involve itemizing each file 
in C:\ as well as most of the folders. While I wouldn't expect new folders to 
crop up, I don't know what new files might appear in the future. In any case, 
it seems that might be my next step.

Thanx!


From: Niels Kristian Jensen via BackupPC-users 

Sent: Monday, March 11, 2024 22:20
To: General list for user discussion, questions and support 

Cc: Niels Kristian Jensen 
Subject: Re: [BackupPC-users] Backing up Windows 11

Did you try using exclude files patterns?

On Mar 11, 2024 22:41, Dave Bachmann  wrote:
I've recently added a Windows 11 machine to a home network that is otherwise 
all Linux. The single hard drive has separate CODE and DATA partitions The DATA 
partition backs up easily, but I have problems with the CODE. I don't want to 
waste the space required to backup all of the Windows executables, but do want 
backups of \Users and possibly \ProgramData, \Program Files, and \Program Files 
(x86) as well as any others that may be recommended.

I've tried a number of techniques using BackupFilesOnly that consistently backs 
up files for C:\ as well as from many, but not all, of the other folders.

I know this question must have been asked many times before, but is there a 
sample configuration that I can use to stop beating my head against a wall?

Thanx!

___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


Re: [BackupPC-users] Backing up Windows 11

2024-03-12 Thread Michael Stowe
You're likely running into a few unrelated issues, from dealing with 
junctions to file semantics, to Windows permissions.


Are you using SMB/CIFS?  Because that's unlikely to cover everything you 
want.


On 2024-03-11 14:41, Dave Bachmann wrote:

I've recently added a Windows 11 machine to a home network that is 
otherwise all Linux. The single hard drive has separate CODE and DATA 
partitions The DATA partition backs up easily, but I have problems with 
the CODE. I don't want to waste the space required to backup all of the 
Windows executables, but do want backups of \Users and possibly 
\ProgramData, \Program Files, and \Program Files (x86) as well as any 
others that may be recommended.


I've tried a number of techniques using BackupFilesOnly that 
consistently backs up files for C:\ as well as from many, but not all, 
of the other folders.


I know this question must have been asked many times before, but is 
there a sample configuration that I can use to stop beating my head 
against a wall?


Thanx!
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


Re: [BackupPC-users] Backing up Windows 11

2024-03-11 Thread Niels Kristian Jensen via BackupPC-users
Did you try using exclude files patterns?On Mar 11, 2024 22:41, Dave Bachmann  wrote:
I've recently added a Windows 11 machine to a home network that is otherwise all Linux. The single hard drive has separate CODE and DATA
 partitions The DATA partition backs up easily, but I have problems with the CODE. I don't want to waste the space required to backup all of the Windows executables, but do want backups of \Users and possibly \ProgramData, \Program Files, and \Program Files
 (x86) as well as any others that may be recommended. 


I've tried a number of techniques using BackupFilesOnly that consistently backs up files for C:\ as well as from many, but not all, of the other folders.


I know this question must have been asked many times before, but is there a sample configuration that I can use to stop beating my head against a wall?


Thanx!

___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


[BackupPC-users] Backing up Windows 11

2024-03-11 Thread Dave Bachmann
I've recently added a Windows 11 machine to a home network that is otherwise 
all Linux. The single hard drive has separate CODE and DATA partitions The DATA 
partition backs up easily, but I have problems with the CODE. I don't want to 
waste the space required to backup all of the Windows executables, but do want 
backups of \Users and possibly \ProgramData, \Program Files, and \Program Files 
(x86) as well as any others that may be recommended.

I've tried a number of techniques using BackupFilesOnly that consistently backs 
up files for C:\ as well as from many, but not all, of the other folders.

I know this question must have been asked many times before, but is there a 
sample configuration that I can use to stop beating my head against a wall?

Thanx!
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


Re: [BackupPC-users] How to run a manual backup.

2024-03-07 Thread Tony Molloy
Thanks, Les and Iosif for the headsup on that link. It explained the
problem OK.

So my plan now is rather than changing the crypto used, is to convert my
small home network to use ECDSA keys over the weekend. Hope things go Ok.

Regards,
Tony

On Wed, 6 Mar 2024 at 17:04, Iosif Fettich  wrote:

> > Thanks, yes the real problem is with the configuration of sshd on CS-9.
> It seems to be slightly different than on CS-8. So I don't have ssh working
> on the CS-9 box yet. I get the
> > following error when I try to ssh between accounts even on the laptop
> box itself.
> >
> > sshd[2608]: refusing RSA key: Invalid key length [preauth]
> > sshd[2608]: Accepted password for root from 192.168.1.8 port 35958
> ssh2
> >
> > So I was hoping for the test of BackupPC that running a manual backup
> when the ssh login failed that it would fall back and ask for a password.
> This is just a test laptop and I
> > wanted to make sure all the services I regularly use were working on it
> before I upgraded my home network.
> >
> > So it's back to sorting out sshd.
>
> Have a look for that on
>
>
> https://serverfault.com/questions/1095898/how-can-i-use-a-legacy-ssh-rsa-key-on-centos-9-stream
>
> Maybe it helps.
>
> Iosif Fettich___
> BackupPC-users mailing list
> BackupPC-users@lists.sourceforge.net
> List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
> Wiki:https://github.com/backuppc/backuppc/wiki
> Project: https://backuppc.github.io/backuppc/
>
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


Re: [BackupPC-users] How to run a manual backup.

2024-03-06 Thread Iosif Fettich

Thanks, yes the real problem is with the configuration of sshd on CS-9. It 
seems to be slightly different than on CS-8. So I don't have ssh working on the 
CS-9 box yet. I get the
following error when I try to ssh between accounts even on the laptop box 
itself.

    sshd[2608]: refusing RSA key: Invalid key length [preauth]
    sshd[2608]: Accepted password for root from 192.168.1.8 port 35958 ssh2

So I was hoping for the test of BackupPC that running a manual backup when the 
ssh login failed that it would fall back and ask for a password. This is just a 
test laptop and I
wanted to make sure all the services I regularly use were working on it before 
I upgraded my home network.

So it's back to sorting out sshd.


Have a look for that on

https://serverfault.com/questions/1095898/how-can-i-use-a-legacy-ssh-rsa-key-on-centos-9-stream

Maybe it helps.

Iosif Fettich___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


Re: [BackupPC-users] How to run a manual backup.

2024-03-06 Thread Les Mikesell
On Wed, Mar 6, 2024 at 9:18 AM Tony Molloy  wrote:
>
> Thanks, yes the real problem is with the configuration of sshd on CS-9. It 
> seems to be slightly different than on CS-8. So I don't have ssh working on 
> the CS-9 box yet. I get the following error when I try to ssh between 
> accounts even on the laptop box itself.
>
> sshd[2608]: refusing RSA key: Invalid key length [preauth]
> sshd[2608]: Accepted password for root from 192.168.1.8 port 35958 ssh2
>
> So I was hoping for the test of BackupPC that running a manual backup when 
> the ssh login failed that it would fall back and ask for a password. This is 
> just a test laptop and I wanted to make sure all the services I regularly use 
> were working on it before I upgraded my home network.
>
> So it's back to sorting out sshd.


It looks like they have changed the acceptable key pairs for sshd in
CS-9.   I found this article saying you either have to configure the
crypto policy to accept SHA1 or generate new key pairs with an
acceptable format.
https://serverfault.com/questions/1095898/how-can-i-use-a-legacy-ssh-rsa-key-on-centos-9-stream

-- 
   Les Mikesell
 lesmikes...@gmail.com


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


Re: [BackupPC-users] How to run a manual backup.

2024-03-06 Thread Tony Molloy
Thanks, yes the real problem is with the configuration of sshd on CS-9. It
seems to be slightly different than on CS-8. So I don't have ssh working on
the CS-9 box yet. I get the following error when I try to ssh between
accounts even on the laptop box itself.

sshd[2608]: refusing RSA key: Invalid key length [preauth]
sshd[2608]: Accepted password for root from 192.168.1.8 port 35958 ssh2

So I was hoping for the test of BackupPC that running a manual backup when
the ssh login failed that it would fall back and ask for a password. This
is just a test laptop and I wanted to make sure all the services I
regularly use were working on it before I upgraded my home network.

So it's back to sorting out sshd.

Regards,
Tony

On Mon, 4 Mar 2024 at 17:08, Mike Hughes  wrote:

> Hi Tony,
>
> If you're stuck at the ssh part, you won't be successful running a backup
> as making the connection is the first step.
> What happens when you try to ssh to this client from the backuppc account
> on the backup server? Assume you've already tried ssh-copy-id but it's
> failing. I'm having trouble imagining what part of an upgrade would have
> broken a functional ssh key pairing unless the IP address changed.
>
> As for a local backup you could use rsync to copy home to another
> partition:
>
> rsync -a dir1/ dir2
>
>
> https://www.digitalocean.com/community/tutorials/how-to-use-rsync-to-sync-local-and-remote-directories
> --
> *From:* Tony Molloy 
> *Sent:* Sunday, March 3, 2024 9:42 AM
> *To:* backuppc-users@lists.sourceforge.net <
> backuppc-users@lists.sourceforge.net>; Tony Molloy  >
> *Subject:* [BackupPC-users] How to run a manual backup.
>
> Is it possible to run a backup of a share from the command line. I've
> checked the manual and can't seem to find it.
>
> I've several CentOS-Stream-8 boxes backing up without  problems. I
> upgraded one box to CentOS-Stream-9 and I'm having trouble configuring sshd
> to get rsync for backuppc working. I'd just like to do a full backup of the
> home directories until I get sshd working.
>
> Thanks,
> Tony.
> ___
> BackupPC-users mailing list
> BackupPC-users@lists.sourceforge.net
> List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
> Wiki:https://github.com/backuppc/backuppc/wiki
> Project: https://backuppc.github.io/backuppc/
>
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


Re: [BackupPC-users] How to run a manual backup.

2024-03-04 Thread Mike Hughes
Hi Tony,

If you're stuck at the ssh part, you won't be successful running a backup as 
making the connection is the first step.
What happens when you try to ssh to this client from the backuppc account on 
the backup server? Assume you've already tried ssh-copy-id but it's failing. 
I'm having trouble imagining what part of an upgrade would have broken a 
functional ssh key pairing unless the IP address changed.

As for a local backup you could use rsync to copy home to another partition:

rsync -a dir1/ dir2

https://www.digitalocean.com/community/tutorials/how-to-use-rsync-to-sync-local-and-remote-directories

From: Tony Molloy 
Sent: Sunday, March 3, 2024 9:42 AM
To: backuppc-users@lists.sourceforge.net 
; Tony Molloy 
Subject: [BackupPC-users] How to run a manual backup.

Is it possible to run a backup of a share from the command line. I've checked 
the manual and can't seem to find it.

I've several CentOS-Stream-8 boxes backing up without  problems. I upgraded one 
box to CentOS-Stream-9 and I'm having trouble configuring sshd to get rsync for 
backuppc working. I'd just like to do a full backup of the home directories 
until I get sshd working.

Thanks,
Tony.
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


Re: [BackupPC-users] How to run a manual backup.

2024-03-03 Thread Norman J. Goldstein

On linux, look at

/usr/share/BackupPC/bin/BackupPC_dump


On 2024-03-03 07:42, Tony Molloy wrote:
Is it possible to run a backup of a share from the command line. I've 
checked the manual and can't seem to find it.


I've several CentOS-Stream-8 boxes backing up without problems. I 
upgraded one box to CentOS-Stream-9 and I'm having trouble configuring 
sshd to get rsync for backuppc working. I'd just like to do a full 
backup of the home directories until I get sshd working.


Thanks,
Tony.


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/




___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


[BackupPC-users] How to run a manual backup.

2024-03-03 Thread Tony Molloy
Is it possible to run a backup of a share from the command line. I've
checked the manual and can't seem to find it.

I've several CentOS-Stream-8 boxes backing up without  problems. I upgraded
one box to CentOS-Stream-9 and I'm having trouble configuring sshd to get
rsync for backuppc working. I'd just like to do a full backup of the home
directories until I get sshd working.

Thanks,
Tony.
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


[BackupPC-users] Don't start new questions as replies (was: Progress indicator for longer backups)

2024-02-22 Thread Kenneth Porter
When posting a new question, don't use "reply list" in response to an 
existing question. This causes the new question to get displayed as a 
reply to the old one, and a threading mail client won't display it to 
readers who are ignoring the old question. So start a new message, not a 
reply, when posting a new question.





___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


Re: [BackupPC-users] BackupPC4 currently unresolvable on opensuse tumbleweed

2024-02-22 Thread G.W. Haywood

Hi there,

On Thu, 22 Feb 2024, gregrwm wrote:


BackupPC4 currently shows as unresolvable for tumbleweed on
https://build.opensuse.org/package/show/home:ecsos:Backup/BackupPC4,
something about having choices for sendmail and openssl.

is there hope?


I'm sure there is.  For example I've seen Debian systems where what
appears to be Sendmail isn't actually Sendmail.  That is, you can cheat. :)


(i never have been particularly interested in it sending mail.


There can be occasions when getting a mail from BackupPC might be
important for the integrity of your backups, but it's your call.


or the gui.


Even though I'm generally not a fan of GUIs I find the BackupPC GUI
very useful, mainy for

(1) a quick daily check on the hosts page that all my machines are up
(2) an occasional check on the status page that the pool hasn't done
anything odd and
(3) occasional file/directory recoveries either to see that the thing
is still working, or to replace something accidentally deleted. :/


i love it for using rsync, for the intelligently shared and
compressed pool, and clever expiry.)


All agreed.

I see that Sendmail isn't listed as a requirement:

https://backuppc.github.io/backuppc/BackupPC.html#Requirements

and that if you give the '-t' option to BackupPC_sendEmail it will
print the email insetad of sending it.  Presumably you could get it
to print to /dev/null if you *really* will never want to see it.

https://backuppc.github.io/backuppc/BackupPC.html#Step-8:-Checking-email-delivery

HTH

--

73,
Ged.


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


Re: [BackupPC-users] Progress indicator for longer backups

2024-02-22 Thread david.pearce--- via BackupPC-users
Thank you for this information. The correct setting needs quotes:

--log-format="log: %o %i %B %8U,%8G %9l %f%L"

Dave

From: Dave Sherohman via BackupPC-users 
Sent: Thursday, February 22, 2024 3:17 AM
To: General list for user discussion, questions and support 

Cc: Dave Sherohman 
Subject: [EXTERNAL] Re: [BackupPC-users] Progress indicator for longer backups

WARNING: Email originated from an EXTERNAL source. Do NOT click links, open 
attachments or reply unless you recognize sender and know the content is safe.
When I was debugging an issue some time ago, I added a setting to RsyngArgs 
which caused all files to be listed in the XferLOGs.  I believe the relevant 
setting was:

--log-format=log: %o %i %B %8U,%8G %9l %f%L

but I can't find documentation to confirm that.  In any case, I now get entries 
in XferLOG while it works, which look like


newrecv >f.st.. rw-r-   33,   4157414 
var/log/nginx/access.log

newrecv >f.st.. rw-r-   33,   4185251 
var/log/nginx/access.log.1

pool   recv >f.st.. rw-r-   33,   4  4652 
var/log/nginx/access.log.10.gz

pool   recv >f.st.. rw-r-   33,   4  4721 
var/log/nginx/access.log.11.gz


From: david.pearce--- via BackupPC-users 
mailto:backuppc-users@lists.sourceforge.net>>
Sent: Wednesday, February 21, 2024 18:34
To: 
backuppc-users@lists.sourceforge.net
 
mailto:backuppc-users@lists.sourceforge.net>>
Cc: david.pea...@l3harris.com 
mailto:david.pea...@l3harris.com>>
Subject: [BackupPC-users] Progress indicator for longer backups


I have one backup host defined that has about 333 GB of data. The "full" job 
when it competes takes about 9 hours to run.



Right now I see no progress indicators. Even if the log file showed a list of 
files that would be great. The log level is set to five but no files are listed.



While a backup job is running, is there a log file being written somewhere?



David Pearce

Systems Administrator


CONFIDENTIALITY NOTICE: This email and any attachments are for the sole use of 
the intended recipient and may contain material that is proprietary, 
confidential, privileged or otherwise legally protected or restricted under 
applicable government laws. Any review, disclosure, distributing or other use 
without expressed permission of the sender is strictly prohibited. If you are 
not the intended recipient, please contact the sender and delete all copies 
without reading, printing, or saving.

___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


Re: [BackupPC-users] Progress indicator for longer backups

2024-02-22 Thread Dave Sherohman via BackupPC-users
When I was debugging an issue some time ago, I added a setting to RsyngArgs 
which caused all files to be listed in the XferLOGs.  I believe the relevant 
setting was:

--log-format=log: %o %i %B %8U,%8G %9l %f%L

but I can't find documentation to confirm that.  In any case, I now get entries 
in XferLOG while it works, which look like


newrecv >f.st.. rw-r-   33,   4157414 
var/log/nginx/access.log
newrecv >f.st.. rw-r-   33,   4185251 
var/log/nginx/access.log.1
pool   recv >f.st.. rw-r-   33,   4  4652 
var/log/nginx/access.log.10.gz
pool   recv >f.st.. rw-r-   33,   4  4721 
var/log/nginx/access.log.11.gz



From: david.pearce--- via BackupPC-users 
Sent: Wednesday, February 21, 2024 18:34
To: backuppc-users@lists.sourceforge.net 
Cc: david.pea...@l3harris.com 
Subject: [BackupPC-users] Progress indicator for longer backups


I have one backup host defined that has about 333 GB of data. The “full” job 
when it competes takes about 9 hours to run.



Right now I see no progress indicators. Even if the log file showed a list of 
files that would be great. The log level is set to five but no files are listed.



While a backup job is running, is there a log file being written somewhere?



David Pearce

Systems Administrator


CONFIDENTIALITY NOTICE: This email and any attachments are for the sole use of 
the intended recipient and may contain material that is proprietary, 
confidential, privileged or otherwise legally protected or restricted under 
applicable government laws. Any review, disclosure, distributing or other use 
without expressed permission of the sender is strictly prohibited. If you are 
not the intended recipient, please contact the sender and delete all copies 
without reading, printing, or saving.

___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


[BackupPC-users] BackupPC4 currently unresolvable on opensuse tumbleweed

2024-02-21 Thread gregrwm
BackupPC4 currently shows as unresolvable for tumbleweed on
https://build.opensuse.org/package/show/home:ecsos:Backup/BackupPC4,
something about having choices for sendmail and openssl.

is there hope?

(i never have been particularly interested in it sending mail.  or the
gui.  i love it for using rsync, for the intelligently shared and
compressed pool, and clever expiry.)
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


Re: [BackupPC-users] New Server Hardware; Old Data Pool--SOLVED

2024-02-21 Thread Tim Evans

On 2/21/24 15:48, Richard Shaw wrote:
On Wed, Feb 21, 2024 at 12:25 PM Tim Evans > wrote:


However, I still get the above error when trying to access the server's
web admin pages.  Further investigation shows the following error in
the
httpd (Apache) web server error_log:

[Tue Feb 20 06:36:00.553934 2024] [cgid:error] [pid 2519:tid 2670]
      (13)Permission denied: [client ::1:43404] AH01257: stderr from
      /usr/libexec/BackupPC/BackupPC_Admin: unable to connect to cgi
daemon after multiple tries

Googling "unable to connect to cgi daemon" turns up a lot of references
to the httpd 'mpm' module. Hoping that folks who are familiar with
Apache module innards might have some advice here.


How old of a system did the original install come from? The reason I 
mention is the thing I completely forgot about when upgrading my 
BackupPC from Centos 8 Stream to Fedora Server 39 is the apache 
configuration:


Just figured this out a little while ago.  It is Apache's module config. 
 In /etc/httpd/conf.modules.d, uncomment the line:


LoadModule mpm_prefork_module modules/mod_mpm_prefork.so

Comment out the line:

#LoadModule mpm_event_module modules/mod_mpm_event.so

Restart httpd and we're good, though httpd complains:

[Wed Feb 21 14:35:45.935781 2024] [http2:warn] [pid 22031:tid 22031] 
AH10034: The mpm module (prefork.c) is not supported by mod_http2. The 
mpm determines how things are processed in your server. HTTP/2 has more 
demands in this regard and the currently selected mpm will just not do. 
This is an advisory warning. Your server will continue to work, but the 
HTTP/2 protocol will be inactive.


Since the only purpose of this Apache server is BackupPC, I think I can 
ignore this.


Thanks to all.


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


Re: [BackupPC-users] New Server Hardware; Old Data Pool

2024-02-21 Thread Richard Shaw
On Wed, Feb 21, 2024 at 12:25 PM Tim Evans  wrote:

> However, I still get the above error when trying to access the server's
> web admin pages.  Further investigation shows the following error in the
> httpd (Apache) web server error_log:
>
> [Tue Feb 20 06:36:00.553934 2024] [cgid:error] [pid 2519:tid 2670]
>  (13)Permission denied: [client ::1:43404] AH01257: stderr from
>  /usr/libexec/BackupPC/BackupPC_Admin: unable to connect to cgi
> daemon after multiple tries
>
> Googling "unable to connect to cgi daemon" turns up a lot of references
> to the httpd 'mpm' module. Hoping that folks who are familiar with
> Apache module innards might have some advice here.
>

How old of a system did the original install come from? The reason I
mention is the thing I completely forgot about when upgrading my BackupPC
from Centos 8 Stream to Fedora Server 39 is the apache configuration:

 # cat BackupPC.conf

# BackupPC requires valid authentication in order for the web interface to
# function properly.  One can view the web interface without authentication
# though all functionality is disabled.
#
# htpasswd -c /etc/BackupPC/apache.users yourusername
#

AuthType Basic
AuthUserFile /etc/BackupPC/apache.users
AuthName "BackupPC"


  # Apache 2.4
  
Require valid-user

  Require ip 192.168.1.0/255.255.255.0

  


  # Apache 2.2
  order deny,allow
  deny from all
  allow from 127.0.0.1
  allow from ::1
  require valid-user





Alias   /BackupPC/images/usr/share/BackupPC/html/
ScriptAlias /BackupPC   /usr/libexec/BackupPC/BackupPC_Admin
ScriptAlias /backuppc   /usr/libexec/BackupPC/BackupPC_Admin

The key is I had to add Require ip xx.xxx.xxx.xxx/255.255.255.0 because by
default it only allows connections from the host.

Thanks,
Richard
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


Re: [BackupPC-users] New Server Hardware; Old Data Pool

2024-02-21 Thread Tim Evans

On 2/19/24 17:05, Tim Evans wrote:
I'm replacing the very old computer that has run as my local BackupPC 
server, and want to retain the server's data pool (i.e., all the 
existing backups).


The old server wrote its data (including its log files) to a network 
storage appliance via NFS mount. The NFS mount is set up 
properly--'backupc' user can write to the data pool.  I have set up the 
new machine (Fedora 39, same as the old one) and copied over all the 
server and host config files, and mounted the NFS filesystem containing 
the old backups.


Seems like this should be simple...

The new BackupPC server starts up--I can see it in process listing; 
httpd web server is working as well.  I get prompted to log in to the 
server admin page as expected, then get the following httpd "503" error:


"Service Unavailable

The server is temporarily unable to service your request due to 
maintenance downtime or capacity problems. Please try again later."


Can anyone explain this, and suggest a fix? Is there some fingerprint, 
lock file, or something similar I need to do something with?  Obviously, 
the two systems have differing hostnames and IP addresses.  Otherwise, 
the config files are all the same.


Following up with progress on resolving this. When BackuPC was installed 
on the new server, the Fedora 'dnf' install process assigned UID/GID's 
to the 'backupc' user/group that are numerically different from those on 
the old server, so all the BackuPC files (including the backup pool) had 
incorrect ownership.  Once this was corrected, the backups began to run 
properly, according to the log files.


However, I still get the above error when trying to access the server's 
web admin pages.  Further investigation shows the following error in the 
httpd (Apache) web server error_log:


[Tue Feb 20 06:36:00.553934 2024] [cgid:error] [pid 2519:tid 2670]
(13)Permission denied: [client ::1:43404] AH01257: stderr from
/usr/libexec/BackupPC/BackupPC_Admin: unable to connect to cgi 
daemon after multiple tries


Googling "unable to connect to cgi daemon" turns up a lot of references 
to the httpd 'mpm' module. Hoping that folks who are familiar with 
Apache module innards might have some advice here.


Thanks.



___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


[BackupPC-users] Progress indicator for longer backups

2024-02-21 Thread david.pearce--- via BackupPC-users
I have one backup host defined that has about 333 GB of data. The "full" job 
when it competes takes about 9 hours to run.

Right now I see no progress indicators. Even if the log file showed a list of 
files that would be great. The log level is set to five but no files are listed.

While a backup job is running, is there a log file being written somewhere?

David Pearce
Systems Administrator

  

CONFIDENTIALITY NOTICE: This email and any attachments are for the sole use of 
the intended recipient and may contain material that is proprietary, 
confidential, privileged or otherwise legally protected or restricted under 
applicable government laws. Any review, disclosure, distributing or other use 
without expressed permission of the sender is strictly prohibited. If you are 
not the intended recipient, please contact the sender and delete all copies 
without reading, printing, or saving.

___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


Re: [BackupPC-users] How to check pool?

2024-02-21 Thread G.W. Haywood

Hi there,

On Wed, 21 Feb 2024, Alexander Kobel wrote:

February 18, 2024 at 9:52 AM, Christian V?lker wrote:
> 
> I have a large v4 pool (not cpool) (1.6TB) running on top of btrfs.


For the record, that isn't a large pool for BackupPC to manage.


> Is there any chance to perform a pool check from BackupPC to verify
> all data in the pool is still ok?  I am getting some checksum errors
> from btrfs and I want to know if the backed up data is still fine.

`dmesg` will show you where the checksum errors occur. ...
...
Unfortunately, it is non-trivial and time-consuming to find where a
file/hash from the pool is referenced in backups. ...


If you have filesystem errors then you really can't depend on it.  If
this were my filesystem I'd completely replace it.  But then there are
other people, not just me, depending on those backups.

Last time we had a serious filesystem error like this was about twenty
years ago, when unfortunately I was wooed by the promises of ReiserFS.
It lasted about a week, until it unrecoverably ate a test filesystem.
The provided fsck made it worse, I ditched it and went back to ext3.

If you need your backups, don't accept anything less than perfection.

Do the supplied btrfs tools not fix the errors?

https://en.wikipedia.org/wiki/Btrfs#Checking_and_recovery
https://en.wikipedia.org/wiki/Btrfs#Checksum_tree_and_scrubbing

Note that for some of the recovery operations you're expected to be,
or to be advised by, "a developer or an experienced user" of btrfs.
If you are not, perhaps btrfs isn't for you.  I wouldn't yet trust it
with my backups.

Is this USB-connected hardware?  If so, be very careful with it; I'd
be inclined to run at least two backup systems, perhaps running them
alternately.  I'm not sure that USB is safe for backups, and I'm not
sure that btrfs is a good choice anyway.

Do you have uninterruptible power on the backup system?

--

73,
Ged.


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


Re: [BackupPC-users] How to check pool?

2024-02-20 Thread Alexander Kobel
Hi Christian,

`dmesg` will show you where the checksum errors occur. Can be combined with a 
`btrfs scrub` to get a full report over your entire volume.
If you see entries in the BackupPC pool or pc directories, that'll generally 
mean that the affected file(s) are broken and can't be repaired from within the 
backup system. Short of deep-diving on the individuals bits and hexes on the 
disk for partial recovery, not a lot you can do about it; so if possible, 
delete them and have them re-back-uped next time.
Note that without deleting them, v4 will not look at the contents of the files, 
IIUC - given the filename/overall hash, it will just assume that the pool file 
and the existing file on the client match and not retransfer. Only exception is 
if the file changed or freshly appeared on the client, in which case it will be 
compared against the pool file. So you'll usually not see a checksum error 
during backup, only on the nightly scans where the contents of the pool files 
are read and their hash is re-calculated.

Unfortunately, it is non-trivial and time-consuming to find where a file/hash 
from the pool is referenced in backups. If I remember correctly, you need to 
walk the attrib files for that.
I (think it was me who) wrote a utility for that ages ago; I can't even 
remember. But it being based on zsh looks like it's not part of the BackupPC 
distro, and could stem from me... Horrible coding, slow, documentation=code, 
certainly not industry strength, all support my authorship. ;-)
To be executed in the BackupPC topdir, as far as I remember; it should roughly 
print you where a file with a certain hash appears in your pool. But I guess my 
use case was similar to yours. Timestamp is from 2019 and I didn't seem to have 
used it since then. Which probably means it's been tested and written only with 
v3; not sure whether it still works for v4 without changes, but you can try.

Please find it attached, and check whether it helps you something. No promises, 
it might eat your data and your cat (though it shouldn't).


Cheers,
Alex


February 18, 2024 at 9:52 AM, "Christian Völker via BackupPC-users" 
mailto:backuppc-users@lists.sourceforge.net?to=%22Christian%20V%C3%B6lker%20via%20BackupPC-users%22%20%3Cbackuppc-users%40lists.sourceforge.net%3E>>
 wrote:

Hi all,


I have a large v4 pool (not cpool) (1.6TB) running on top of btrfs.


Is there any chance to perform a pool check from BackupPC to verify all 
data in the pool is still ok?


I am getting some checksum errors from btrfs and I want to know if the 
backed up data is still fine.


Thanks!


/KNEBB






___

BackupPC-users mailing list

BackupPC-users@lists.sourceforge.net
List:
https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:
https://github.com/backuppc/backuppc/wiki
Project:
https://backuppc.github.io/backuppc/



#!/bin/zsh

hash=$1
TOPDIR=$(pwd)

hashaa=$(printf %02x $((0x${hash[1,2]} & 0xfe)))

setopt nullglob

hosts=()
for i in pc/*/; do
host=${i:t}
find $TOPDIR/pc/$host/refCnt -maxdepth 1 -name poolCnt.'[01]'.$hashaa -type 
f -print0 2>/dev/null | while read -d$'\0' poolCnt; do
BackupPC_poolCntPrint $poolCnt | grep $hash > /dev/null && hosts+=$host
done
done

echo matching hosts: $hosts

typeset -A host_nums
for host in $hosts; do
nums=()
for i in pc/$host/[0-9]*/; do
num=${i:t}
find $TOPDIR/pc/$host/$num/refCnt -maxdepth 1 -name 
poolCnt.'[01]'.$hashaa -type f -print0 2>/dev/null | while read -d$'\0' 
poolCnt; do
count=$(BackupPC_poolCntPrint $poolCnt | grep $hash | wc -l)
[[ $count -gt 0 ]] && {
nums+=$num
host_nums[$host,$num]=$count
}
done
done
done

echo matching backups:
for host_num count in ${(kv)host_nums}; do
echo "  $host_num ($count occurences)" | sed -e 's/,/#/'
done | sort

echo searching backups:
for host_num count in ${(kv)host_nums}; do
host=${host_num%,*}
num=${host_num##*,}
echo "  searching $host#$num"
find $TOPDIR/pc/$host/$num -maxdepth 1 -name 'f%2f*' -type d -print0 
2>/dev/null | while read -d$'\0' sharePath; do
share=${sharePath:t}
share=${share[2,-1]}
share=${share:gs/%10/\\n}
share=${share:gs/%13/\\r}
share=${share:gs/%2f/\/}
share=${share:gs/%25/%}
echo "searching $host:$share#$num"
BackupPC_ls -R $sharePath | grep $hash
done
done
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


[BackupPC-users] rsync'ing BackupPC Pool?

2024-02-20 Thread Christian Völker via BackupPC-users

Hi,

I remember the "good old time" when it was a really bad idea to rsync a 
BackupPC pool to an off-site location. This was because of the high 
usage of hardlinks in Pool v3 version. At least a bad idea on the size 
of my pool (1.5TB) even with mostly static content.


How is this with the up-to-date v4 pool? Can I do a simple rsync 
meanwhile within a reasonable amount of time?


Or are there any other ideas of syncing the pool off-site?

Thanks a lot!

/KNEBB




___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


[BackupPC-users] New Server Hardware; Old Data Pool

2024-02-19 Thread Tim Evans
I'm replacing the very old computer that has run as my local BackupPC 
server, and want to retain the server's data pool (i.e., all the 
existing backups).


The old server wrote its data (including its log files) to a network 
storage appliance via NFS mount. The NFS mount is set up 
properly--'backupc' user can write to the data pool.  I have set up the 
new machine (Fedora 39, same as the old one) and copied over all the 
server and host config files, and mounted the NFS filesystem containing 
the old backups.


Seems like this should be simple...

The new BackupPC server starts up--I can see it in process listing; 
httpd web server is working as well.  I get prompted to log in to the 
server admin page as expected, then get the following httpd "503" error:


"Service Unavailable

The server is temporarily unable to service your request due to 
maintenance downtime or capacity problems. Please try again later."


Can anyone explain this, and suggest a fix? Is there some fingerprint, 
lock file, or something similar I need to do something with?  Obviously, 
the two systems have differing hostnames and IP addresses.  Otherwise, 
the config files are all the same.


Thanks.


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


[BackupPC-users] How to check pool?

2024-02-18 Thread Christian Völker via BackupPC-users

Hi all,

I have a large v4 pool (not cpool) (1.6TB) running on top of btrfs.

Is there any chance to perform a pool check from BackupPC to verify all 
data in the pool is still ok?


I am getting some checksum errors from btrfs and I want to know if the 
backed up data is still fine.


Thanks!

/KNEBB





___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


Re: [BackupPC-users] error restoring backup

2024-02-17 Thread daggs via BackupPC-users


> Sent: Friday, February 16, 2024 at 5:02 PM
> From: "Les Mikesell" 
> To: "daggs" 
> Cc: "General list for user discussion, questions and support" 
> 
> Subject: Re: [BackupPC-users] error restoring backup
>
> On Fri, Feb 16, 2024 at 2:31 AM daggs  wrote:
> >
> > managed to get it to work, the the -s was / and the rest was all the 
> > folders one after another as * didn't worked
> >
> 
> If you aren't familiar with the unix/linux shell, * would have to be
> enclosed in single quotes like '*'.  Otherwise it expands to the list
> of files in your current directory before the command sees it.
> 

I am familiar with the unix/linux shell, '*' didn't worked too
ragardless, now I have the backup restored.

Thanks.


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


Re: [BackupPC-users] error restoring backup

2024-02-16 Thread Les Mikesell
On Fri, Feb 16, 2024 at 2:31 AM daggs  wrote:
>
> managed to get it to work, the the -s was / and the rest was all the folders 
> one after another as * didn't worked
>

If you aren't familiar with the unix/linux shell, * would have to be
enclosed in single quotes like '*'.  Otherwise it expands to the list
of files in your current directory before the command sees it.

-- 
Les Mikesell
  lesmikes...@gmail.com


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


Re: [BackupPC-users] error restoring backup

2024-02-16 Thread daggs via BackupPC-users


> Sent: Wednesday, February 14, 2024 at 12:04 AM
> From: "Les Mikesell" 
> To: "daggs" 
> Cc: "General list for user discussion, questions and support" 
> 
> Subject: Re: [BackupPC-users] error restoring backup
>
> On Tue, Feb 13, 2024 at 1:15 PM daggs  wrote:
> >
> > I want to restore it to a mount I've attached to the backup server
> > so Backuppc_tarCreate -h host -n -1 | tar xf -C /mnt
> > will do the trick?
> >
> 
> Backuppc_tarCreate needs a '-s sharename' option which would be the
> share you used for the backup (maybe '/') and you can specify a list
> of files or directories to restore.  You can also use '-l' to just
> list the files.  I'd try that first - and maybe restore a small
> directory like /etc or a single file first to see if you are on the
> right track.   I'm retired and a little fuzzy on this myself.Also,
> is the drive mounted as /mnt or something under /mnt?   I'd cd into
> the top of that mount point to run the command instead of using -C.
> Also tar needs a '-' after the f option to tell it to read stdin.
> 
managed to get it to work, the the -s was / and the rest was all the folders 
one after another as * didn't worked

thanks for the help


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


Re: [BackupPC-users] error restoring backup

2024-02-13 Thread Les Mikesell
On Tue, Feb 13, 2024 at 1:15 PM daggs  wrote:
>
> I want to restore it to a mount I've attached to the backup server
> so Backuppc_tarCreate -h host -n -1 | tar xf -C /mnt
> will do the trick?
>

Backuppc_tarCreate needs a '-s sharename' option which would be the
share you used for the backup (maybe '/') and you can specify a list
of files or directories to restore.  You can also use '-l' to just
list the files.  I'd try that first - and maybe restore a small
directory like /etc or a single file first to see if you are on the
right track.   I'm retired and a little fuzzy on this myself.Also,
is the drive mounted as /mnt or something under /mnt?   I'd cd into
the top of that mount point to run the command instead of using -C.
Also tar needs a '-' after the f option to tell it to read stdin.

-- 
 Les Mikesell
lesmikes...@gmail.com


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


Re: [BackupPC-users] error restoring backup

2024-02-13 Thread daggs via BackupPC-users


> Sent: Sunday, February 11, 2024 at 8:26 AM
> From: "Les Mikesell" 
> To: "daggs" 
> Cc: "General list for user discussion, questions and support" 
> 
> Subject: Re: [BackupPC-users] error restoring backup
>
> On Sun, Feb 11, 2024 at 12:08 AM daggs  wrote:
> >
> >
> > > > what is the expected behavior if I restore to remote and not localhost?
> > > >
> > >
> > > That's going to depend on ssh being set up correctly on the remote.
> > > And it will use the method configured for that host for the restore.
> > > If you want the large tar image file instead you could use the web
> > > interface to download it on some other computer with space.
> > >
> >
> > both machines are headless...
> > also, I'm not sure I can place a >2 TB file anywhere on my systems.
> >
> > I assume I can use BackupPC_zcat on each file and restore it to the proper 
> > location, thing is, I have the files which are part of either full backup 
> > and incremental backup
> > and the last save is a incremental one, so is there a way to work with only 
> > the incremental one and have BackupPC_zcat know when to take it from the 
> > full backup?
> 
> Did you want to restore to the original remote host or to a mounted
> local filesystem?  If the latter, and the problem is not having space
> for the intermediate tar image file, then pipe the tarCreate command
> output to an appropriate tar restore command. Note that the extract
> will happen in your current directory unless you include a -C path
> option, and ownership is going to be set according to the numeric user
> id on the original file which may not match when on a different
> machine.
I want to restore it to a mount I've attached to the backup server
so Backuppc_tarCreate -h host -n -1 | tar xf -C /mnt
will do the trick?

> 
> -- 
>Les Mikesell
>  lesmikes...@gmail.com
>


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


Re: [BackupPC-users] error restoring backup

2024-02-10 Thread Les Mikesell
On Sun, Feb 11, 2024 at 12:08 AM daggs  wrote:
>
>
> > > what is the expected behavior if I restore to remote and not localhost?
> > >
> >
> > That's going to depend on ssh being set up correctly on the remote.
> > And it will use the method configured for that host for the restore.
> > If you want the large tar image file instead you could use the web
> > interface to download it on some other computer with space.
> >
>
> both machines are headless...
> also, I'm not sure I can place a >2 TB file anywhere on my systems.
>
> I assume I can use BackupPC_zcat on each file and restore it to the proper 
> location, thing is, I have the files which are part of either full backup and 
> incremental backup
> and the last save is a incremental one, so is there a way to work with only 
> the incremental one and have BackupPC_zcat know when to take it from the full 
> backup?

Did you want to restore to the original remote host or to a mounted
local filesystem?  If the latter, and the problem is not having space
for the intermediate tar image file, then pipe the tarCreate command
output to an appropriate tar restore command. Note that the extract
will happen in your current directory unless you include a -C path
option, and ownership is going to be set according to the numeric user
id on the original file which may not match when on a different
machine.

-- 
   Les Mikesell
 lesmikes...@gmail.com


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


Re: [BackupPC-users] error restoring backup

2024-02-10 Thread daggs via BackupPC-users


> Sent: Saturday, February 10, 2024 at 11:14 PM
> From: "Les Mikesell" 
> To: "daggs" 
> Cc: "General list for user discussion, questions and support" 
> 
> Subject: Re: [BackupPC-users] error restoring backup
>
> On Sat, Feb 10, 2024 at 1:15 PM daggs  wrote:
> >
> > what is the expected behavior if I restore to remote and not localhost?
> >
> 
> That's going to depend on ssh being set up correctly on the remote.
> And it will use the method configured for that host for the restore.
> If you want the large tar image file instead you could use the web
> interface to download it on some other computer with space.
> 

both machines are headless...
also, I'm not sure I can place a >2 TB file anywhere on my systems.

I assume I can use BackupPC_zcat on each file and restore it to the proper 
location, thing is, I have the files which are part of either full backup and 
incremental backup
and the last save is a incremental one, so is there a way to work with only the 
incremental one and have BackupPC_zcat know when to take it from the full 
backup?


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


Re: [BackupPC-users] error restoring backup

2024-02-10 Thread Les Mikesell
On Sat, Feb 10, 2024 at 1:15 PM daggs  wrote:
>
> what is the expected behavior if I restore to remote and not localhost?
>

That's going to depend on ssh being set up correctly on the remote.
And it will use the method configured for that host for the restore.
If you want the large tar image file instead you could use the web
interface to download it on some other computer with space.

-- 
  Les Mikesell
lesmikes...@gmail.com


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


Re: [BackupPC-users] error restoring backup

2024-02-10 Thread daggs via BackupPC-users
what is the expected behavior if I restore to remote and not localhost?

> Sent: Saturday, February 10, 2024 at 7:42 PM
> From: "Les Mikesell" 
> To: "General list for user discussion, questions and support" 
> 
> Cc: "daggs" 
> Subject: Re: [BackupPC-users] error restoring backup
>
> On Sat, Feb 10, 2024 at 10:53 AM daggs via BackupPC-users
>  wrote:
> >
> > the log doesn't specify the command but I think I have a clue, I saw that 
> > the cmd is something in the line of this: 
> > https://unix.stackexchange.com/questions/291402/backuppc-restore-using-command-line-tools
> >
> > so it restores it to local path, in my case the tar file should be almost 3 
> > TB of size and the local path as at most 16 GB.
> > the target path has enough space.
> > so I assume the issue is lack of space
> 
> tarCreate writes to stdout, which in that example is redirected to a
> local file.  Send it where you have space - or test again restoring
> only a small directory.
> 
> -- 
>Les Mikesell
>  lesmikes...@gmail.com
>


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


Re: [BackupPC-users] error restoring backup

2024-02-10 Thread Les Mikesell
On Sat, Feb 10, 2024 at 10:53 AM daggs via BackupPC-users
 wrote:
>
> the log doesn't specify the command but I think I have a clue, I saw that the 
> cmd is something in the line of this: 
> https://unix.stackexchange.com/questions/291402/backuppc-restore-using-command-line-tools
>
> so it restores it to local path, in my case the tar file should be almost 3 
> TB of size and the local path as at most 16 GB.
> the target path has enough space.
> so I assume the issue is lack of space

tarCreate writes to stdout, which in that example is redirected to a
local file.  Send it where you have space - or test again restoring
only a small directory.

-- 
   Les Mikesell
 lesmikes...@gmail.com


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


Re: [BackupPC-users] error restoring backup

2024-02-10 Thread daggs via BackupPC-users
the log doesn't specify the command but I think I have a clue, I saw that the 
cmd is something in the line of this: 
https://unix.stackexchange.com/questions/291402/backuppc-restore-using-command-line-tools

so it restores it to local path, in my case the tar file should be almost 3 TB 
of size and the local path as at most 16 GB.
the target path has enough space.
so I assume the issue is lack of space

> Sent: Saturday, February 10, 2024 at 3:21 AM
> From: "Norman Goldstein" 
> To: backuppc-users@lists.sourceforge.net
> Subject: Re: [BackupPC-users] error restoring backup
>
> Run tarCreate at the command prompt. The log file may have the tarCreate 
> command line that was used.
> 
> On 2024-02-09 14:27, daggs via BackupPC-users wrote:
> >> Sent: Thursday, February 08, 2024 at 11:40 PM
> >> From: "Les Mikesell" 
> >> To: "General list for user discussion, questions and support" 
> >> 
> >> Cc: "daggs" 
> >> Subject: Re: [BackupPC-users] error restoring backup
> >>
> >> On Thu, Feb 8, 2024 at 2:46 PM daggs via BackupPC-users
> >>  wrote:
> >>> any ideas? maybe to use the cli interface?
> >>>
> >> If normal permissions and mount status are OK, the next thing that
> >> could be preventing writing is selinux.  Is it enabled/enforcing?
> >>
> > no selinux but I have advanced, I've rebooted the server and tried the same 
> > flow, this time I don't get the error as before, I get an request sent but 
> > when I'm looking inside the server status tab, I see this:
> > localhost   restore backuppc2024-02-09 22:24
> > 2024-02-09 22:24BackupPC_tarCreate failed
> >
> > how can I get more info on why it failed?
> >
> >
> > ___
> > BackupPC-users mailing list
> > BackupPC-users@lists.sourceforge.net
> > List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
> > Wiki:https://github.com/backuppc/backuppc/wiki
> > Project: https://backuppc.github.io/backuppc/
> 
> 
> 
> ___
> BackupPC-users mailing list
> BackupPC-users@lists.sourceforge.net
> List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
> Wiki:https://github.com/backuppc/backuppc/wiki
> Project: https://backuppc.github.io/backuppc/
>


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


Re: [BackupPC-users] error restoring backup

2024-02-09 Thread Norman Goldstein
Run tarCreate at the command prompt. The log file may have the tarCreate 
command line that was used.


On 2024-02-09 14:27, daggs via BackupPC-users wrote:

Sent: Thursday, February 08, 2024 at 11:40 PM
From: "Les Mikesell" 
To: "General list for user discussion, questions and support" 

Cc: "daggs" 
Subject: Re: [BackupPC-users] error restoring backup

On Thu, Feb 8, 2024 at 2:46 PM daggs via BackupPC-users
 wrote:

any ideas? maybe to use the cli interface?


If normal permissions and mount status are OK, the next thing that
could be preventing writing is selinux.  Is it enabled/enforcing?


no selinux but I have advanced, I've rebooted the server and tried the same 
flow, this time I don't get the error as before, I get an request sent but when 
I'm looking inside the server status tab, I see this:
localhost   restore backuppc2024-02-09 22:24
2024-02-09 22:24BackupPC_tarCreate failed

how can I get more info on why it failed?


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/




___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


Re: [BackupPC-users] error restoring backup

2024-02-09 Thread daggs via BackupPC-users
> Sent: Thursday, February 08, 2024 at 11:40 PM
> From: "Les Mikesell" 
> To: "General list for user discussion, questions and support" 
> 
> Cc: "daggs" 
> Subject: Re: [BackupPC-users] error restoring backup
>
> On Thu, Feb 8, 2024 at 2:46 PM daggs via BackupPC-users
>  wrote:
> >
> 
> > any ideas? maybe to use the cli interface?
> >
> 
> If normal permissions and mount status are OK, the next thing that
> could be preventing writing is selinux.  Is it enabled/enforcing?
> 

no selinux but I have advanced, I've rebooted the server and tried the same 
flow, this time I don't get the error as before, I get an request sent but when 
I'm looking inside the server status tab, I see this:
localhost   restore backuppc2024-02-09 22:24
2024-02-09 22:24BackupPC_tarCreate failed

how can I get more info on why it failed?


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


Re: [BackupPC-users] error restoring backup

2024-02-08 Thread Les Mikesell
On Thu, Feb 8, 2024 at 2:46 PM daggs via BackupPC-users
 wrote:
>

> any ideas? maybe to use the cli interface?
>

If normal permissions and mount status are OK, the next thing that
could be preventing writing is selinux.  Is it enabled/enforcing?

-- 
   Les Mikesell
 lesmikes...@gmail.com


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


Re: [BackupPC-users] error restoring backup

2024-02-08 Thread daggs via BackupPC-users
> Sent: Sunday, February 04, 2024 at 4:11 PM
> From: "daggs via BackupPC-users" 
> To: backuppc-users@lists.sourceforge.net
> Cc: "daggs" , backuppc-users@lists.sourceforge.net
> Subject: Re: [BackupPC-users] error restoring backup
>
> > Sent: Sunday, February 04, 2024 at 3:58 PM
> > From: "G.W. Haywood" 
> > To: backuppc-users@lists.sourceforge.net
> > Subject: Re: [BackupPC-users] error restoring backup
> >
> > Hi there,
> >
> > > On Sun, 4 Feb 2024, Les Mikesell wrote:
> > > > On Sun, 4 Feb 2024, daggs wrote:
> > > > ...
> > > > $ cat /etc/fstab
> > > > proc/proc   procdefaults  0   0
> > > > PARTUUID=4fe29e33-01  /boot/firmware  vfatdefaults  0   
> > > > 2
> > > > PARTUUID=4fe29e33-02  /   ext4defaults,noatime  0   
> > > > 1
> > > > LABEL=backup /var/lib/backuppc/ext4defaults,noatime,ro  0   
> > > > 1
> > > > # a swapfile is not a swap partition, no line here
> > > > #   use  dphys-swapfile swap[on|off]  for that
> > > >
> > > > is there any other info required?
> > >
> > > Specifically, you need to know why the backuppc user can't write in
> > > that location.
> >
> > Looks like fstab tells us.  It doesn't matter *what* the permissions
> > say in the filesystem if you mount it read only... :/
> but if you look at mount output, you'll see it is rw as I've remounted as rw
>
> Dagg
>

any ideas? maybe to use the cli interface?


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


Re: [BackupPC-users] error restoring backup

2024-02-04 Thread daggs via BackupPC-users
> Sent: Sunday, February 04, 2024 at 3:58 PM
> From: "G.W. Haywood" 
> To: backuppc-users@lists.sourceforge.net
> Subject: Re: [BackupPC-users] error restoring backup
>
> Hi there,
>
> > On Sun, 4 Feb 2024, Les Mikesell wrote:
> > > On Sun, 4 Feb 2024, daggs wrote:
> > > ...
> > > $ cat /etc/fstab
> > > proc/proc   procdefaults  0   0
> > > PARTUUID=4fe29e33-01  /boot/firmware  vfatdefaults  0   2
> > > PARTUUID=4fe29e33-02  /   ext4defaults,noatime  0   1
> > > LABEL=backup /var/lib/backuppc/ext4defaults,noatime,ro  0   1
> > > # a swapfile is not a swap partition, no line here
> > > #   use  dphys-swapfile swap[on|off]  for that
> > >
> > > is there any other info required?
> >
> > Specifically, you need to know why the backuppc user can't write in
> > that location.
>
> Looks like fstab tells us.  It doesn't matter *what* the permissions
> say in the filesystem if you mount it read only... :/
but if you look at mount output, you'll see it is rw as I've remounted as rw

Dagg


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


Re: [BackupPC-users] error restoring backup

2024-02-04 Thread G.W. Haywood

Hi there,


On Sun, 4 Feb 2024, Les Mikesell wrote:
> On Sun, 4 Feb 2024, daggs wrote:
> ...
> $ cat /etc/fstab
> proc/proc   procdefaults  0   0
> PARTUUID=4fe29e33-01  /boot/firmware  vfatdefaults  0   2
> PARTUUID=4fe29e33-02  /   ext4defaults,noatime  0   1
> LABEL=backup /var/lib/backuppc/ext4defaults,noatime,ro  0   1
> # a swapfile is not a swap partition, no line here
> #   use  dphys-swapfile swap[on|off]  for that
> 
> is there any other info required?


Specifically, you need to know why the backuppc user can't write in
that location.


Looks like fstab tells us.  It doesn't matter *what* the permissions
say in the filesystem if you mount it read only... :/

--

73,
Ged.


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


Re: [BackupPC-users] error restoring backup

2024-02-03 Thread daggs via BackupPC-users


> Sent: Sunday, February 04, 2024 at 12:38 AM
> From: "Les Mikesell" 
> To: "General list for user discussion, questions and support" 
> 
> Cc: "daggs" 
> Subject: Re: [BackupPC-users] error restoring backup
>
> > > > Error: Can't open/create 
> > > > /var/lib/backuppc/pc/localhost/restoreReq.22495.0
>
> > is there any other info required?
>
> Specifically, you need to know why the backuppc user can't write in
> that location.
> Maybe 'ls -l /var/lib/backuppc/pc'
> or
> 'ls -ld /var/lib/backuppc/pc/localhost'
> will tell you.

$ ls -ld /var/lib/backuppc/pc/localhost
drwxr-x--- 4 backuppc backuppc 4096 Feb  1 01:00 /var/lib/backuppc/pc/localhost
$ ls -l /var/lib/backuppc/pc
total 72
drwxr--r--  5 backuppc backuppc 4096 Feb  1 01:00 dtv_server
drwxr--r-- 11 backuppc backuppc 4096 Feb  1 01:00 idesesm-pc
drwxr-x---  4 backuppc backuppc 4096 Feb  1 01:00 localhost
drwxr-x---  2 backuppc backuppc 4096 Feb  1 01:00 media
drwxr-x---  3 backuppc backuppc 4096 Feb  1 01:00 michal_desktop
drwxr--r-- 10 backuppc backuppc 4096 Feb  1 01:00 michalvirtpc
drwxr-x---  7 backuppc backuppc 4096 Feb  3 23:00 nas_server
drwxr--r-- 10 backuppc backuppc 4096 Feb  1 01:00 ncc-5001-d_confs_n_scripts
drwxr--r--  7 backuppc backuppc 4096 Feb  1 01:00 ncc-5001-d_home
drwxr--r--  5 backuppc backuppc 4096 Feb  1 01:00 ncc-5001-d_imgs
drwxr--r--  7 backuppc backuppc 4096 Feb  1 01:00 ncc-5001-d_media
drwxr-x---  5 backuppc backuppc 4096 Feb  1 01:00 ncc-5001-d_personal
drwxr--r--  7 backuppc backuppc 4096 Feb  1 01:00 ncc-5001-d_pictures
drwxr--r--  8 backuppc backuppc 4096 Feb  1 01:00 ncc-5001-d_remote_media
drwxr-x---  4 backuppc backuppc 4096 Feb  1 01:00 ncc-5001-d_snapshot
drwxr--r-- 15 backuppc backuppc 4096 Feb  3 23:00 streamer
drwxr--r--  4 backuppc backuppc 4096 Feb  1 01:00 tvheadend_server
drwxr-x---  6 backuppc backuppc 4096 Feb  3 23:00 utils_server

seems ok to me



___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


Re: [BackupPC-users] error restoring backup

2024-02-03 Thread Les Mikesell
> > > Error: Can't open/create /var/lib/backuppc/pc/localhost/restoreReq.22495.0

> is there any other info required?

Specifically, you need to know why the backuppc user can't write in
that location.
Maybe 'ls -l /var/lib/backuppc/pc'
or
'ls -ld /var/lib/backuppc/pc/localhost'
will tell you.

-- 
   Les Mikesell
  lesmikes...@gmail.com


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


[BackupPC-users] BackupPC V3 -> V4 pool migration mandatory?

2024-02-03 Thread Adam Pribyl

Do I need to migrate anything with V3 to V4 upgrade (using tar, no rsync)?

I am fine having old backups in V3, create a new ones with V4. Does 
BackupPC V4 handles this? I know there is

/usr/share/BackupPC/bin/BackupPC_migrateV3toV4 -a
but is it mandatory to continue backuppc operation?

My pool is large, server "slow".

Thanks




___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


Re: [BackupPC-users] error restoring backup

2024-02-03 Thread daggs via BackupPC-users
Greetings,

> Sent: Saturday, February 03, 2024 at 4:24 PM
> From: "G.W. Haywood" 
> To: backuppc-users@lists.sourceforge.net
> Subject: Re: [BackupPC-users] error restoring backup
>
> Hi there,
>
> On Sat, 3 Feb 2024, daggs wrote:
>
> > I want to restore a remote backup to a external device which is connected 
> > to my backup server under mount.
> > I've selected the remote host and the backup host (localhost) at path /mnt 
> > but I get the below error.
> > Error: Can't open/create /var/lib/backuppc/pc/localhost/restoreReq.22495.0
> >
> > what can be the issue?
>
> When you do *anything*, for example in this case a restore, there's a
> 'user' involved.  That user has permissions.  The permissions need at
> least to grant read access to what needs to be read and write access
> to what needs to be written.  The 'open/create' in the error message
> *seems* to be telling us that the user doesn't have permission, but I
> wouldn't rule out the possibility that the path is non-existent from
> what I've seen so far.  Is there any more to the error message?

no, that is the only error I see, what I did was to install backuppc and then 
copy the data from the old drive to the new one where backuppc runs.

>
>
> It might be as simple as giving write permission on a directory to the
> user doing the restore, but you might need to look at
>
> (a) the user ids
>- which user is doing the restore
>- where the restored files are expected to be written
>- what permissions will the user need to do whatever is required
that depends on the ui, I don't know what is the user used by the ui

>
> (b) those parts of the BackupPC configuration which concern
>- the locations of the various bits of the BackupPC system and
>- the user(s) which are allowed to run backups and restores
>
where can I find it?

> If you can give more details about how you attempted to perform the
> restore (if you used the command line, then let us see the commands),
> about your configuration, about all the different bits of equipment,
> and how they're supposed to talk to each other, we should be able to
> give you better help.  If you mounted any of the bits manually, let
> us see the mount command(s) (and the content of /etc/fstab if used).
as said, I'm using the ui to restore from an old host's data to localhost at 
/mnt/

$ mount
...
/dev/sda1 on /var/lib/backuppc type ext4 (rw,relatime)
/dev/sdb1 on /mnt type ext3 (rw,relatime)
...

$ ls -l /mnt/ -a /var/lib/backuppc
/mnt/:
total 24
drwxrwxrwx  3 root root  4096 Feb  2 14:32 .
drwxr-xr-x 18 root root  4096 Dec 11 01:24 ..
drwx--  2 root root 16384 Feb  2 14:32 lost+found

/var/lib/backuppc:
total 48
drwxr-xr-x   9 root root  4096 Jan 27 13:32 .
drwxr-xr-x  30 root root  4096 Jan 26 13:41 ..
drwxr-xr-x 146 backuppc backuppc  4096 Jan 30 20:11 cpool
drwxr-xr-x   2 backuppc www-data  4096 Jan 27 13:31 etc_backuppc
drwxr-x---   2 backuppc backuppc  4096 Feb  3 18:00 log
drwx--   4  126  126 16384 Sep  6  2015 lost+found
drwxr-xr-x  20 backuppc backuppc  4096 Aug 19  2020 pc
drwxr-xr-x   2 backuppc backuppc  4096 Sep  6  2015 pool
drwxr-   2 backuppc backuppc  4096 Jul 31  2020 trash

$ cat /etc/fstab
proc/proc   procdefaults  0   0
PARTUUID=4fe29e33-01  /boot/firmware  vfatdefaults  0   2
PARTUUID=4fe29e33-02  /   ext4defaults,noatime  0   1
LABEL=backup /var/lib/backuppc/ext4defaults,noatime,ro  0   1
# a swapfile is not a swap partition, no line here
#   use  dphys-swapfile swap[on|off]  for that

is there any other info required?

Thanks,

Dagg
>
> --
>
> 73,
> Ged.
>


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


Re: [BackupPC-users] error restoring backup

2024-02-03 Thread G.W. Haywood

Hi there,

On Sat, 3 Feb 2024, daggs wrote:


I want to restore a remote backup to a external device which is connected to my 
backup server under mount.
I've selected the remote host and the backup host (localhost) at path /mnt but 
I get the below error.
Error: Can't open/create /var/lib/backuppc/pc/localhost/restoreReq.22495.0

what can be the issue?


When you do *anything*, for example in this case a restore, there's a
'user' involved.  That user has permissions.  The permissions need at
least to grant read access to what needs to be read and write access
to what needs to be written.  The 'open/create' in the error message
*seems* to be telling us that the user doesn't have permission, but I
wouldn't rule out the possibility that the path is non-existent from
what I've seen so far.  Is there any more to the error message?

It might be as simple as giving write permission on a directory to the
user doing the restore, but you might need to look at

(a) the user ids
  - which user is doing the restore
  - where the restored files are expected to be written
  - what permissions will the user need to do whatever is required

(b) those parts of the BackupPC configuration which concern
  - the locations of the various bits of the BackupPC system and
  - the user(s) which are allowed to run backups and restores

If you can give more details about how you attempted to perform the
restore (if you used the command line, then let us see the commands),
about your configuration, about all the different bits of equipment,
and how they're supposed to talk to each other, we should be able to
give you better help.  If you mounted any of the bits manually, let
us see the mount command(s) (and the content of /etc/fstab if used).

--

73,
Ged.


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


[BackupPC-users] error restoring backup

2024-02-02 Thread daggs via BackupPC-users
Greetings,

I want to restore a remote backup to a external device which is connected to my 
backup server under mount.
I've selected the remote host and the backup host (localhost) at path /mnt but 
I get the below error.
Error: Can't open/create /var/lib/backuppc/pc/localhost/restoreReq.22495.0

what can be the issue?

Thanks,

Dagg



___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


Re: [BackupPC-users] restoring pool

2024-01-30 Thread Robert Trevellyan
It's the nightly tasks that should be disabled to ensure nothing is purged.

Robert Trevellyan


On Tue, Jan 30, 2024 at 2:56 PM daggs via BackupPC-users <
backuppc-users@lists.sourceforge.net> wrote:

> Greetings,
>
> done all the suggested, now I have access to my backups.
> the backup is mounted as rw as it is required when the config is on the
> same drive
> all the backups are disabled, can I assume they won't be deleted?
>
> Dagg
>
> > Sent: Friday, January 26, 2024 at 10:59 PM
> > From: "Christian Völker via BackupPC-users" <
> backuppc-users@lists.sourceforge.net>
> > To: "General list for user discussion, questions and support" <
> backuppc-users@lists.sourceforge.net>
> > Cc: "Christian Völker" 
> > Subject: Re: [BackupPC-users] restoring pool
> >
> > Good point.
> > I suggest to mount as Read-only. Should work.
> > Grüsse
> > Christian Völker
> >
> > > Am 26.01.2024 um 21:29 schrieb backu...@kosowsky.org:
> > >
> > > I would be careful as running BackupPC could cause certain old backups
> > > to expire that you may not want to expire.
> > > Plus, if you don't have all the hosts set properly, it could delete
> > > pool files that are needed...
> > >
> > > I would be VERY careful to:
> > > 1. Make sure I have my full config restored -- including desired
> > >   expiry times
> > > 2. That all my desired backup hosts are intact
> > > 3. That I know what I am doing before starting the daemon and risking
> > >   auto-deletion
> > >
> > > Regardless, definitely make a copy/snapshot before proceeding... so
> > > you can undo...
> > >
> > > Jeff
> > >
> > >
> > > Christian Völker via BackupPC-users wrote at about 10:41:33 +0100 on
> Friday, January 26, 2024:
> > >> Hi,
> > >>
> > >> does your HDD contain the full structure of a pool (usually the
> > >> structure below /var/lib/BackupPC)? If so I'd recommend to add all the
> > >> hosts which are visible as directory in pc/-folder. Stop BackupPC,
> mount
> > >> your hdd to /var/lib/BackupPC and start BackupPC.
> > >>
> > >> It should recon the structure and match with the hosts configuration.
> > >>
> > >> /CV
> > >>
> > >>
> > >>> Am 26.01.24 um 09:35 schrieb daggs via BackupPC-users:
> > >>> Greetings.
> > >>>
> > >>> I have a pool of backups in a external hdd, I've seems to have
> misplaced the config for them, is there a way to reconfigure backuppc so
> they can be used again?
> > >>>
> > >>> Thanks,
> > >>>
> > >>> Dagg
> > >>>
> > >>>
> > >>> ___
> > >>> BackupPC-users mailing list
> > >>> BackupPC-users@lists.sourceforge.net
> > >>> List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
> > >>> Wiki:https://github.com/backuppc/backuppc/wiki
> > >>> Project: https://backuppc.github.io/backuppc/
> > >>
> > >>
> > >>
> > >> ___
> > >> BackupPC-users mailing list
> > >> BackupPC-users@lists.sourceforge.net
> > >> List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
> > >> Wiki:https://github.com/backuppc/backuppc/wiki
> > >> Project: https://backuppc.github.io/backuppc/
> > >
> > >
> > > ___
> > > BackupPC-users mailing list
> > > BackupPC-users@lists.sourceforge.net
> > > List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
> > > Wiki:https://github.com/backuppc/backuppc/wiki
> > > Project: https://backuppc.github.io/backuppc/
> >
> >
> >
> > ___
> > BackupPC-users mailing list
> > BackupPC-users@lists.sourceforge.net
> > List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
> > Wiki:https://github.com/backuppc/backuppc/wiki
> > Project: https://backuppc.github.io/backuppc/
> >
>
>
> ___
> BackupPC-users mailing list
> BackupPC-users@lists.sourceforge.net
> List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
> Wiki:https://github.com/backuppc/backuppc/wiki
> Project: https://backuppc.github.io/backuppc/
>
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


  1   2   3   4   5   6   7   8   9   10   >