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/


Re: [BackupPC-users] config file needs language specified

2023-12-30 Thread Norman J. Goldstein
Please ignore the previous email (below).  I was using the wrong 
config.pl.  Sorry for the hassle.


On 2023-12-30 11:38, Norman J. Goldstein wrote:

Just reporting "problem" encountered and fixed.

Installed BPC 4.4.0 on a freshly installed fedora 39 x86-64.

After starting BPC with

    systemctl start  backuppc

I checked with

    systemctl -l status backuppc

and got the error message

    BackupPC[22215]: No language setting

I found this string in  Lib.pm which is looking for a "Language" line 
in config.pl:


 return "No language setting" if ( 
!defined($bpc->{Conf}{Language}) );


so I added to config.pl what I found in the example config.pl that is 
shipped with BPC:


 $Conf{Language} = 'en';

and this fixed the problem.  I suppose this newer version of BPC now 
requires this string to be present in the config.pl .  I should have 
done a merge of my old config.pl with the example config.pl, rather 
than a straight copy of my old config.pl .







___
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] config file needs language specified

2023-12-30 Thread Norman J. Goldstein

Just reporting "problem" encountered and fixed.

Installed BPC 4.4.0 on a freshly installed fedora 39 x86-64.

After starting BPC with

    systemctl start  backuppc

I checked with

    systemctl -l status backuppc

and got the error message

    BackupPC[22215]: No language setting

I found this string in  Lib.pm which is looking for a "Language" line in 
config.pl:


 return "No language setting" if ( !defined($bpc->{Conf}{Language}) );

so I added to config.pl what I found in the example config.pl that is 
shipped with BPC:


 $Conf{Language} = 'en';

and this fixed the problem.  I suppose this newer version of BPC now 
requires this string to be present in the config.pl .  I should have 
done a merge of my old config.pl with the example config.pl, rather than 
a straight copy of my old config.pl .





___
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] Outdated Files in Backup?

2023-11-14 Thread Norman J. Goldstein
Are you saying that your full backup, 666, contains files that *were* 
not in your local directory at the time of the backup?



On 2023-11-14 11:09, Christian Völker via BackupPC-users wrote:

Hi,

I have BackupPC 4.x running on a Debian system. Works like a champ 
since years now.


One of my clients is an Apple Mac with current up-to-date MacOS. rsync 
is installed:


username@macos Documents % rsync --version
rsync  version 2.6.9  protocol version 29
Copyright (C) 1996-2006 by Andrew Tridgell, Wayne Davison, and others.
So far it works fine. It does the backupsand all is good. I am backing 
up the Users-Folder as "$RsyncShareName": "/Users/username" and 
excluded some unneeded directories.


See macos.pl:
$Conf{BackupPCNightlyPeriod} = 1;
$Conf{RsyncShareName} = [
   '/Users/username'
];
$Conf{RsyncSshArgs} = [
   '-e',
   '$sshPath -l username'
];
$Conf{BackupFilesExclude} = {
   '/Users/username/.Trash' => [
     ''
   ],
   '/Users/username/Library/Accounts' => [
     ''
   ],
   '/Users/username/Library/Application Support' => [
     ''
   ],
   '/Users/username/Library/Assistant' => [
     ''
   ],
   '/Users/username/Library/Autosave Information' => [
     ''
   ],
   '/Users/username/Library/Biome' => [
     ''
   ],
   '/Users/username/Library/Caches' => [
     ''
   ],
   '/Users/username/Library/Containers' => [
     ''
   ],
   '/Users/username/Library/Cookies' => [
     ''
   ],
   '/Users/username/Library/CoreFollowUps' => [
     ''
   ],
   '/Users/username/Library/Group Containers' => [
     ''
   ],
   '/Users/username/Library/HomeKit' => [
     ''
   ]
};
$Conf{RsyncArgs} = [
   '--super',
   '--recursive',
   '--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',
   '-z',
   '-v'
];


Now I took a look at BackupPC and was going to the last backup 
(through "Browse backups"). I see the last succesful backup from today.


But when I compare the files in the backup with the ones existing on 
my MacOS there is a hughe difference!
There are so many additional file in the backup which I already 
deleted weeks, if not months ago!

This is the list of the current backups until the last full one:
669 
 
	incr 	yes 	1 	2023-11-13 23:17 	72.8 	0.9 	





668 
 
	incr 	no 	1 	2023-11-12 20:06 	205.0 	2.0 	





667 
 
	incr 	no 	1 	2023-11-10 23:03 	90.0 	3.9 	





666 
 
	full 	yes 	0 	2023-11-08 23:49 	710.0 	5.8




Checking my local directory I do not see many of the files (As I have 
them deleted months ago!).


Why do I have files in my backupc which do not exist on the backed up 
client?


Thanks for ideas!

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


Re: [BackupPC-users] After upgrade from Debian Buster to Bookworm backuppc service will not start

2023-07-08 Thread Norman J. Goldstein
Glad to hear you are all fixed up!  Are you still getting these 
messages?  If so, how do you initiate the command you are running, and 
in which log file do the messages occur, please?


On 2023-07-08 07:53, spindles seven wrote:

On 08 July 2023 15:22 Norman J. Goldstein wrote:

I am no perl expert, but here is my take on the messages in the logs.  If the
messages are all warnings, I don't think that would be why BPC is exiting.
Nonetheless, here is how I think the messages can be eliminated, but without 
having
tested the suggestions (sorry!).

It looks like removing "my" from the three lines (226, 227 and 228) will 
eliminate the
message about masking, although the programmer probably meant to remove the
"my" declarations of these variables a few lines earlier.

As for the message about %poolMapper, this is explained in
https://www.perlmonks.org/?node_id=188283 and
https://www.oreilly.com/library/view/advanced-perl-
programming/1565922204/ch04.html
"References to Anonymous Subroutines"
i.e. change the declaration "sub generatePool" to be anonymous at line 93.  
Then,
the two references to "generatePool" need to be altered, accordingly, at lines 
110
and 111.

Thanks Norman for your reply.   After some more digging I realised that I had 
initially installed BackupPC manually rather than using the Debian distro 
package.   So after cleaning up the manual install, I reinstalled using 
Debian's Bookworm package of BackupPC along with its dependencies.   After some 
more tweaking of the configuration files in /etc/backuppc and /etc/apache2/ I 
got it working again.

Thanks.

Spindles7



___
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] After upgrade from Debian Buster to Bookworm backuppc service will not start

2023-07-08 Thread Norman J. Goldstein
I am no perl expert, but here is my take on the messages in the logs.  
If the messages are all warnings, I don't think that would be why BPC is 
exiting. Nonetheless, here is how I think the messages can be 
eliminated, but without having tested the suggestions (sorry!).


It looks like removing "my" from the three lines (226, 227 and 228) will 
eliminate the message about masking, although the programmer probably 
meant to remove the "my" declarations of these variables a few lines 
earlier.


As for the message about %poolMapper, this is explained in
https://www.perlmonks.org/?node_id=188283 and
https://www.oreilly.com/library/view/advanced-perl-programming/1565922204/ch04.html 
"References to Anonymous Subroutines"
i.e. change the declaration "sub generatePool" to be anonymous at line 
93.  Then, the two references to "generatePool" need to be altered, 
accordingly, at lines 110 and 111.







On 2023-07-08 05:01, spindles seven wrote:

I upgraded the Debian Buster to Bookworm and the backuppc.service now will no 
longer start.  In the logs I see:

2023-07-08 12:17:05 Reading hosts file
2023-07-08 12:17:05 BackupPC 4.4.0 (Perl v5.32.1) started, pid 93
2023-07-08 12:17:05 Running BackupPC_Admin_SCGI (pid=184)
2023-07-08 12:17:05 Next wakeup is 2023-07-08 13:00:00
Variable "%poolMapper" will not stay shared at 
/usr/local/BackupPC/lib/BackupPC/CGI/Metrics.pm line 98.
"my" variable $hostState masks earlier declaration in same scope at 
/usr/local/BackupPC/lib/BackupPC/CGI/Metrics.pm line 226.
"my" variable $hostLastAttempt masks earlier declaration in same scope at 
/usr/local/BackupPC/lib/BackupPC/CGI/Metrics.pm line 227.
"my" variable $hostDisabled masks earlier declaration in same scope at 
/usr/local/BackupPC/lib/BackupPC/CGI/Metrics.pm line 228.
2023-07-08 12:48:11 Got signal TERM... cleaning up (exit code = 0)

Any advice how to resolve this will be appreciated.

Thanks,

Spindles7



___
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] Different strategies on same host

2023-06-28 Thread Norman J. Goldstein
I want to have a different strategy for backing up photos than for 
backing up documents that I am editing.  Basically, it would be a rare 
event to do a full backup of my photos.   I assume that the host name, 
say myPC, must correspond to myPC.pl in the pc folder. Does it sound 
reasonable to make myPC_photo an alias host name for myPC, and then 
myPC_photo.pl would list its own folders and strategy for backing up?



___
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 backup a single file using rsyncd

2023-05-25 Thread Norman J. Goldstein

I just mention the files by name, and they get backed up e.g.
/etc/fstab
This is in the same list having folders e.g.
/etc/Backuppc
so, do you have more clues regarding the failed backup of the files?  
What is in the transfer log (3rd column of the "Xfer Error Summary" table.



On 2023-05-25 14:01, Ed Burgstaler via BackupPC-users wrote:


I just decided to backup the entire /etc directory for sake of time 
spent trying to figure out how to backup only select files.


-Ed

*From:*Ed Burgstaler via BackupPC-users 


*Sent:* May 25, 2023 1:10 PM
*To:* backuppc-users@lists.sourceforge.net
*Cc:* Ed Burgstaler 
*Subject:* [BackupPC-users] How to backup a single file using rsyncd

I have folders backing up fine but I want to back up single files like 
/etc/passwd and /etc/shadow and a few others.


I know it must be something really simple I’m missing in the config of 
rsyncsharename section of the per pc config file.


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 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 Debian 11.6 backuppc problem

2023-01-21 Thread Norman J. Goldstein
Relevant information is needed from the log files accessible from the 
host main page:

Server log file -- in the server menu
Host log file -- in the host menu
Transfer log file -- one of the tables (Xfer Error Summary).  It sounds 
like this is the main one for this situation.  How many errors are 
indicated in the table?


On 2023-01-21 12:03, gen...@wp.pl wrote:


Hi,


there is a problem, backup is staring, making some part of backup, but 
then it shows:




Non-zero exit status from smbclient


root@Backup2:~# smbclient --version
Version 4.13.13-Debian

uname -a
Linux Backup2 5.10.0-20-amd64 #1 SMP Debian 5.10.158-2 (2022-12-13) 
x86_64 GNU/Linux


smbclient command:

$smbClientPath \\$host\$shareName $I_option -U $userName -E -d 1 -c 
tarmode\ full -Tc$X_option - $fileList




Could somebody help with it?


Regards

Andrzej



___
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] Recover older backups - UI says "Error: Directory /var/lib/backuppc//pc/ip/300 is empty"

2023-01-08 Thread Norman J. Goldstein

There are various log files to look at:
Server log file
Host log file
and sometimes a transfer log file.
Where does the error show up in these?

Running the restore, manually, can also be helpful:
https://backuppc.sourceforge.net/faq/BackupPC.html#Restore-functions

Who are the owners of the data on the backup hardware?

For what it is worth, by backups file has 25 columns, running 
BackupPC-4.4.0-8.fc37



On 2023-01-08 07:15, Samual Flossie wrote:
Hello all - How can I recover backups when the UI says "Error: 
Directory /var/lib/backuppc//pc/ip/300 is empty" ?


I have an old computer that has been offline for a few years with full 
backups from mid to late 2019 and want to recover files.


Details
This computer has been offline for last few years and not in the list 
of hosts. The backups were done in mid to late 2019 with backuppc 
4.3.0 and then removed it from hosts.


Same backuppc server and data but backuppc upgraded last year, 
currently running 4.4.0. backuppc server running on ubuntu. Backups 
and restores for current hosts continue to work.


Recently, I added the computer to hosts as usual, and the backups are 
listed. When I navigate into each of the backups, it shows "Error: 
Directory /var/lib/backuppc//pc/ip/300 is empty".  Each of the backups 
for this computer shows empty.


Note that the extra slash in the directory is from $TopDir 
(/var/lib/backuppc/) and seems to come back after removing the 
trailing slash and saving in UI.  The extra / doesn't appear to impact 
other restores or backups.


Currently running backuppc 4.4.0.  Have been running backuppc for 5+ 
years and upgraded as new backuppc releases came out.


The host directory (/var/lib/backuppc//pc/ip) exists with permissions 
(755) and the permissions and the file structure appear consistent 
with other computers and backups. The backup directories exist i.e. 
(/var/lib/backuppc//pc/ip/300) with permissions (750) and the 
permissions and the file structure appear consistent with other 
computers and backups.


It looks like the file /var/lib/backuppc//pc/ip/backups has fewer 
columns in it vs the host/backups file for current hosts… and this may 
because currently 4.4.0 and other was v4.3.0.


How can I diagnose the issue and recover the files in the backups?

Sammy


___
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] Help with unraid install..

2022-12-02 Thread Norman J. Goldstein
I'm not familiar with slackware, but if rc.backuppc needs to be there, 
and it is not, I agree it could be permissions.  What happens when you 
do, "cd ~backuppc"?  It should take you to "/var/lib/BackupPC", the home 
directory.  In my /etc/passwd file I also see that the login shell is 
"/sbin/nologin".  These settings may be required for the installation.



On 2022-12-02 13:14, Mister Ed wrote:
With the service running in the docker tab, when I try to access the 
web gui I get a 403 error.  Sounds like permissions?


On Fri, Dec 2, 2022 at 3:12 PM Mister Ed <112759...@gmail.com> wrote:

Oddly enough from the container console systemctl is not found in
the container.  From the unraid server console systemctl is not
found.  The server runs slackware and in the /etc/rc.d directory
there is not an rc.backuppc file.

On Fri, Dec 2, 2022 at 2:48 PM Norman J. Goldstein
 wrote:

I suggest checking manually on the status of the backuppc
server.  On my linux box, I do, as root,

systemctl status backuppc

to get some reassuring feedback (or not :-)).  Instead of
"status", you can also do "start" and other commands outlined
in the "-h" option.  If the status shows not running, the
feedback from the "start" command might indicate why.  The
"-l" flag gives more details.



On 2022-12-02 12:27, Mister Ed wrote:

So, I did create that user and I still do not get a webui...
here are my logs from a fresh restart.

2022-12-02.14:24:03 [NOTICE] ** [container-init] Detected
Container that has been restarted - Cleaning
'/tmp/.container' files
2022-12-02.14:24:03 [NOTICE] ** [monitoring] Container
configured for monitoring with 'zabbix modern'
2022-12-02.14:24:03 [NOTICE] ** [scheduling] Container
configured for scheduled tasks with 'cron'
2022-12-02.14:24:03 [NOTICE] ** [messaging] Container
configured to route mail via SMTP to 'postfix-relay'
2022-12-02.14:24:04 [NOTICE] ** [backuppc] First run of the
container. BackupPC will be installed.
2022-12-02.14:24:04 [NOTICE] ** [backuppc] If exist,
configuration and data will be reused and upgraded as needed.
2022-12-02.14:24:04 [INFO] ** [backuppc] Container
initialization complete
2022-12-02.14:24:04 [STARTING] ** [fcgiwrap] [1] Starting
fcgiwrap
2022-12-02.14:24:04 [STARTING] ** [nginx] [1] Starting nginx
1.23.2
2022-12-02.14:24:04 [STARTING] ** [backuppc] [1] Starting
BackupPC 4.4.0
2022-12-02.14:24:04 [STARTING] ** [monitoring] [1] Starting
Zabbix Agent (modern) 6.2.4
2022-12-02.14:24:04 [STARTING] ** [scheduling] [1] Starting cron
2022-12-02.14:24:05 [STARTING] ** [backuppc] [2] Starting
BackupPC 4.4.0

omitted 3-49 to keep this shorter.

2022-12-02.14:24:53 [STARTING] ** [backuppc] [50] Starting
BackupPC 4.4.0
2022-12-02.14:24:54 [ERROR] ** [backuppc] POTENTIAL RUNWAY
DETECTECTED: Disabling 20-backuppc service because it has
tried restarting '50' times

On Fri, Dec 2, 2022 at 2:22 PM Norman J. Goldstein
 wrote:

It is my understanding that most installers create the user,
"backuppc".  If logging out and back in does not fix
this, then the
docker installation omitted this step.  Creating the
user, manually,
should fix this.

On 2022-12-02 09:41, Mister Ed wrote:
> I have installed the BackupPC docker container on my
Unraid server
> running version 6.11.5 and it is failing to start.  I
have never run
> this application and it looks very useful as it should
handle my linux
> and windows systems.
>
> I think the problem is likely at the top of my logs,
but I am not sure
> if I need to create a user or use the existing root user...
>
> chown: unknown user backuppc
> chown: unknown user/group backuppc:backuppc
> tar: can't open 'BackupPC-4.4.0.tar.gz': No such file
or directory
> /etc/cont-init.d/20-backuppc: line 33: cd:
/usr/src/BackupPC-4.4.0: No
> such file or directory
>
>
> ___
> 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:/

Re: [BackupPC-users] Help with unraid install..

2022-12-02 Thread Norman J. Goldstein
I suggest checking manually on the status of the backuppc server.  On my 
linux box, I do, as root,


systemctl status backuppc

to get some reassuring feedback (or not :-)).  Instead of "status", you 
can also do "start" and other commands outlined in the "-h" option.  If 
the status shows not running, the feedback from the "start" command 
might indicate why.  The "-l" flag gives more details.




On 2022-12-02 12:27, Mister Ed wrote:
So, I did create that user and I still do not get a webui... here are 
my logs from a fresh restart.


2022-12-02.14:24:03 [NOTICE] ** [container-init] Detected Container 
that has been restarted - Cleaning '/tmp/.container' files
2022-12-02.14:24:03 [NOTICE] ** [monitoring] Container configured for 
monitoring with 'zabbix modern'
2022-12-02.14:24:03 [NOTICE] ** [scheduling] Container configured for 
scheduled tasks with 'cron'
2022-12-02.14:24:03 [NOTICE] ** [messaging] Container configured to 
route mail via SMTP to 'postfix-relay'
2022-12-02.14:24:04 [NOTICE] ** [backuppc] First run of the container. 
BackupPC will be installed.
2022-12-02.14:24:04 [NOTICE] ** [backuppc] If exist, configuration and 
data will be reused and upgraded as needed.

2022-12-02.14:24:04 [INFO] ** [backuppc] Container initialization complete
2022-12-02.14:24:04 [STARTING] ** [fcgiwrap] [1] Starting fcgiwrap
2022-12-02.14:24:04 [STARTING] ** [nginx] [1] Starting nginx 1.23.2
2022-12-02.14:24:04 [STARTING] ** [backuppc] [1] Starting BackupPC 4.4.0
2022-12-02.14:24:04 [STARTING] ** [monitoring] [1] Starting Zabbix 
Agent (modern) 6.2.4

2022-12-02.14:24:04 [STARTING] ** [scheduling] [1] Starting cron
2022-12-02.14:24:05 [STARTING] ** [backuppc] [2] Starting BackupPC 4.4.0

omitted 3-49 to keep this shorter.

2022-12-02.14:24:53 [STARTING] ** [backuppc] [50] Starting BackupPC 4.4.0
2022-12-02.14:24:54 [ERROR] ** [backuppc] POTENTIAL RUNWAY 
DETECTECTED: Disabling 20-backuppc service because it has tried 
restarting '50' times


On Fri, Dec 2, 2022 at 2:22 PM Norman J. Goldstein  
wrote:


It is my understanding that most installers create the user,
"backuppc".  If logging out and back in does not fix this, then the
docker installation omitted this step.  Creating the user, manually,
should fix this.

On 2022-12-02 09:41, Mister Ed wrote:
> I have installed the BackupPC docker container on my Unraid server
> running version 6.11.5 and it is failing to start.  I have never
run
> this application and it looks very useful as it should handle my
linux
> and windows systems.
>
> I think the problem is likely at the top of my logs, but I am
not sure
> if I need to create a user or use the existing root user...
>
> chown: unknown user backuppc
> chown: unknown user/group backuppc:backuppc
> tar: can't open 'BackupPC-4.4.0.tar.gz': No such file or directory
> /etc/cont-init.d/20-backuppc: line 33: cd:
/usr/src/BackupPC-4.4.0: No
> such file or directory
>
>
> ___
> 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] Help with unraid install..

2022-12-02 Thread Norman J. Goldstein
It is my understanding that most installers create the user, 
"backuppc".  If logging out and back in does not fix this, then the  
docker installation omitted this step.  Creating the user, manually, 
should fix this.


On 2022-12-02 09:41, Mister Ed wrote:
I have installed the BackupPC docker container on my Unraid server 
running version 6.11.5 and it is failing to start.  I have never run 
this application and it looks very useful as it should handle my linux 
and windows systems.


I think the problem is likely at the top of my logs, but I am not sure 
if I need to create a user or use the existing root user...


chown: unknown user backuppc
chown: unknown user/group backuppc:backuppc
tar: can't open 'BackupPC-4.4.0.tar.gz': No such file or directory
/etc/cont-init.d/20-backuppc: line 33: cd: /usr/src/BackupPC-4.4.0: No 
such file or directory



___
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] backuppc4 just idle, no backups

2022-05-06 Thread Norman J. Goldstein
I have found it useful at times to run 
/usr/share/BackupPC/bin/BackupPC_dump from the command line e.g.


   BackupPC_dump -f -v CLIENTNAME

for a full backup with verbose messages.  Run this as the backuppc user.


On 2022-05-06 16:22, gregrwm wrote:

thanks for your reply
they're all 0 already
any other ideas?


On Fri, May 6, 2022 at 6:07 PM Norman Goldstein  wrote:

If you have clients with dhcp set to 1 in the /etc/BackupPC/hosts
file, try setting the dhcp to 0.  I had a similar problem, and
this worked for my situation.


On 2022-05-06 15:59, gregrwm wrote:

when i invoke BackupPC_dump it always just says "nothing to do". 
why would it be doing that?


On Fri, May 6, 2022 at 4:51 PM gregrwm  wrote:

i'm trying to get backuppc4 working on manjaro.  it's up and
sends me mail like if i remove a host from the hosts file,
but it's not backing up any hosts.  The logs look mostly
normal, mentioning wakeups, nightly, and pool cleaning, but
there's no mention of even trying to do any backups.  Any
ideas like what to try or what to look for?

$Conf{IncrPeriod} = 0.97;
$Conf{BackupsDisable} = 0;
$Conf{BlackoutGoodCnt} = -1;




___
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] Needed patch for BackupPC::Storage::Text.pm

2022-04-09 Thread Norman J. Goldstein
Thank you for the heads-up.  This may have been what happened to me a 
few weeks ago (on Fedora 35), when I was modifying the ping parameters 
to ensure ping used IPv4. However, I would like to hear back from 
others, too, before making the code change.


Norm


On 2022-04-09 03:00, Iosif Fettich wrote:

Hi BackupPC list members,

just to let you know:

BackupPC::Storage::Text.pm needs a patch.

To be more exact, within sub ConfigFileMerge, the line reading

    my $d = Data::Dumper->new([$newConf->{$var}], [*value]);

should become

    my $d = Data::Dumper->new([$newConf->{$var}]);

(just omit tle ast argument in the call).

That's a timebomb sitting there, as the existent code works fine only 
as long as the installed Data::Dumper on the system is somewhat older, 
(probably) having version below 2.182_51.


(See a somewhat more detailed discussion about it at 
https://www.perlmonks.org/?node_id=11142844.)


Without the patch, as soon as Data::Dumper will be upgraded/refreshed, 
any further attempt to edit BackupPC config variables will ruin any 
config.pl files touched within /etc/BackupPC.


Happend to me on an up-to-date Fedora 35 system.

I've tried to get in touch with Craig Barrat (the BackupPC author and 
maintainer, afaik), but haven't succeded yet.


Thanks,

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/


[BackupPC-users] log file verbosity

2022-02-22 Thread Norman J. Goldstein

In my host LOG file, I get the line

  2022-02-22 20:12:24 can't ping melodic 
 (client = melodic 
); exiting


but would like to see the actual command line that was used (I ping just 
fine from an xterm). There is a parameter XferLogLevel, but I did not 
see anything for the host log file.


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] Can't access older backups after upgrade

2021-11-04 Thread Norman J. Goldstein

On 2021-11-04 17:00, Anthony Chavez wrote:

On 11/4/21 3:09 PM, Norman Goldstein wrote:

On 2021-11-04 07:36, Les Mikesell wrote:
On Thu, Nov 4, 2021 at 4:16 AM Anthony Chavez  
wrote:

Namely?

I use NFS for a lot of things. And apart from an abysmal security 
model (that can fortunately be hardened with a lot of extra work), 
I've had no complaints.

Think about the network activity that has to happen when you rsync a
file with small changes when it is stored over an NFS mount. The
whole thing has to be read over the network to find the differences -
when most of the point of rsync is to avoid that network traffic.
That's not your immediate problem but something to consider when
putting the backuppc pool on NFS.
Which NAS OS'es/protocols have worked best with backupc, in your 
experience?
I have been using NFS on a NAS for years, as the pool location for 
backuppc.  It has had its ups and downs. 


Seems to me that Les is talking about simply making good use of 
bandwidth here.


I think the point he is making is that ANY network filesystem would 
effectively double (or worse) the amount of traffic generated by 
rsync. And it seems obvious that ideally, the storage pool should 
reside on the same machine as the one running BackupPC and NFS, CIFS, 
DFS, gluster, ceph, or any other network filesystem should be avoided 
in general.


HOWEVER, what I neglected to mention in my initial post is that in MY 
case, the NFS daemon is running on the host whereas the NFS client is 
running in a VM *on*the*same*hardware.* So in my case, the performance 
hit should have been more or less negligible, especially because this 
hardware is dedicated to backups only.


Unfortunately, I'm not sure bhyve (FreeBSD's hypervisor) supports 
virtio-9p yet so NFS is necessary in order to mount an external ZFS 
dataset inside a VM. Last I checked into it, support was "just around 
the corner" but regardless, TrueNAS's UI does not provide access to 
that functionality.




___
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/
I see.  Thanks for the explanation.  Bandwidth has not been a problem, 
yet, but I will keep that in mind.  I like having the backup isolated on 
separate hardware.  It seems it makes most sense to have the pool on the 
disk of the backuppc server when the server is dedicated to backups i.e. 
it behaves as a fancy NAS that can run backuppc server :-)___
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] Is all in order?

2021-11-02 Thread Norman J. Goldstein
I suppose it depends what "idle" signifies.  From your response (thank 
you), I understand that "idle" is the correct state for the system to be 
in i.e. it does not signify a process that is waiting to complete 
something it is currently unable to complete.



On 2021-11-02 00:53, Dave Sherohman via BackupPC-users wrote:


What seems suspicious to you about it?  It's not currently in the 
process of backing up files or doing anything with the host right this 
minute; it is idle.


On 11/2/21 7:47 AM, Norman Goldstein wrote:

My question is in the last line of this email.

I was having errors backing up, so I decided to start with a fresh, 
empty /var/lib/BackupPC , and started a manual full backup.  
Afterwards, I was able to access various backup files, as a sanity 
check.  Also ...


The server log file looks good:
2021-11-01 22:24:50 User backuppc requested backup ofmelodic  
  (melodic  
)
2021-11-01 22:24:51 Started full backup onmelodic  
  (pid=14098, share=/)
2021-11-01 22:24:52 Started full backup onmelodic  
  (pid=14098, share=/home)
2021-11-01 22:55:52 Finished full backup onmelodic  


The host log file looks good:

2021-11-01 22:24:51 full backup started for directory /
2021-11-01 22:24:52 full backup started for directory /home
2021-11-01 22:55:35 full backup 0 complete, 20167 files, 5521522076 bytes, 0 
xferErrs (0 bad files, 0 bad shares, 0 other)

The server Status page looks good (no running jobs).

The server Host Summary page has an idle entry:
 
Host 
User 
Comment 
#Full 	Full Age 
(days) 	Full Size 
(GiB) 	Speed 
(MiB/s) 
#Incr 	Incr Age 
(days) 	Last Backup 
(days) 
State 	#Xfer 
errs 	Last 
attempt

melodic   backuppc
1   0.1 5.142.860   0.1 idle0   
idle

This idle entry looks suspicious to me. Is this something I can ignore?


___
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] bpc_poolWrite_unmarkPendingDelete problem?

2021-10-10 Thread Norman J. Goldstein
I get this in my log of an incremental backup.  Is it a problem that 
needs fixing?


R 
bpc_poolWrite_unmarkPendingDelete(/var/lib/BackupPC//cpool/1c/a6/1da694c9347eb6ab49812ac56d645a6d)
 failed; errno = 1

The file exists, is rwx for all, as is the folder it is in.
Here is the summary of the backup process:

incr backup 347 complete, 20033 files, 5506367594 bytes, 204 xferErrs (0 bad 
files, 0 bad shares, 204 other)

Not sure what to make of this.

This is on fedora 34 x86-64
Name : BackupPC
Version  : 4.4.0

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] backuppc errors

2021-03-31 Thread Norman J. Goldstein

An error log would help.

On 2021-03-31 9:57 a.m., s.chimere--- via BackupPC-users wrote:

Hello anyone ?

Do I need to shed more light ?

On Mar 26, 2021 3:52 PM, "s.chimere--- via BackupPC-users" 
 wrote:


Hello Everyone,

i have been using backuppc for almost a year now with no problems
when all of a sudden all my backupps started failing, i have 6
windows servers that i have been backing up and now not a single
one backs up successfully.

Please any form of assistance will be highly appreciated .

i have attached error logs for one of the hosts.

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 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 web interface error

2021-03-31 Thread Norman J. Goldstein

On 2021-03-31 7:02 a.m., SRIRAM--- via BackupPC-users wrote:


Dear team,

I have upgraded backuppc from 4.3.2 to 4.4.0

I have something strange.

backuppc started but on the Web Interface I get

*Error: Unable to connect to BackupPC server*

*This CGI script (/BackupPC_Admin) is unable to connect to the 
BackupPC server on backuppc port -1.*


*The error was: unix connect to /var/run/BackupPC/BackupPC.sock: No 
such file or directory.*


*Perhaps the BackupPC server is not running or there is a 
configuration error. Please report this to your Sys Admin.*


Any idea what could be wrong?

Many thanks

sriram .p


Did you check the folder and file are there:

*/var/run/BackupPC/BackupPC.sock*



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