[BackupPC-users] RFE: Report backup job runtmie and retry count

2021-08-01 Thread Kenneth Porter
I'm trying to look for problems in my large backup list, like a job that 
runs too long and times out, or prevents other jobs from running soon 
enough. I'd then know to break that job up into smaller jobs. It would be 
useful to know the runtime of currently-running backup jobs. Additionally, 
if the job had failed on previous runs, I'd like to know how many times it 
has failed, ie. a retry count.




___
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] Reason for new RPM 4.4.0-5 available

2021-08-01 Thread Kenneth Porter
I saw a new release in my daily yum update check on CentOS 7 and wondered 
what changed. It turns out to be a change to the systemd invocations in the 
RPM package scripts that start and stop the service. So nothing in the 
actual BackupPC code changed. It's just packaging cleanup. No need to rush 
to update. Here's the recent RPM changelog:



* Wed Jul 21 2021 Fedora Release Engineering  - 
4.4.0-5

- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild

* Tue Mar 02 2021 Zbigniew J drzejewski-Szmek  - 4.4.0-4
- Rebuilt for updated systemd-rpm-macros
 See https://pagure.io/fesco/issue/2583.

* Mon Jan 25 2021 Fedora Release Engineering  - 
4.4.0-3

- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild

* Mon Jul 27 2020 Fedora Release Engineering  - 
4.4.0-2

- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild

* Sun Jun 21 2020 Richard Shaw  - 4.4.0-1
- Update to 4.4.0.



___
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] Lost config.pl file during full backup

2021-08-01 Thread Kenneth Porter
I highly recommend installing etckeeper. It puts all of /etc under 
revision control. I use CentOS which is based on yum/dnf/rpm and it will 
perform an auto-commit of changed files before updating. I disable that 
feature so that yum won't update until I manually commit any outstanding 
configuration changes, to make sure they get a proper change comment. 
etckeeper uses git by default but you can use another revision control 
system if you prefer. A minimal knowledge of git is handy for doing 
manual commits and inspecting your change history.


Your distribution should include an etckeeper package.

https://www.tecmint.com/manage-etc-with-version-control-using-etckeeper/




___
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] Lost config.pl file during full backup

2021-08-01 Thread backuppc


Your warning is vague and completely unhelpful...

Assuming you are using a well-maintained distro and a supported
backuppc set of packages, it is extremely unlikely that running system
updates and backuppc simultaneously would cause any problems.

Since you didn't mention the distro or the maintainer of your backuppc
packages, let alone the versions of each or let alone which specific
updates were run and whether the problem is reproducible, your advice
is vague to the point of irrelevancy...


oetschi.ex...@bluewin.ch wrote at about 16:27:51 +0200 on Sunday, August 1, 
2021:
 > Hello backuppc,
 > This is a message to warn all users:
 > During a full backup of all my clients the backuppc task went crazy and I 
 > could read in the log file that backuppc wanted to start a backup every 
 > minute until I stopped the task. After that backuppc did not start anymore. 
 > After some days troubleshooting and an advice from google I checked all 
 > client config.pl for correct permissions. I saw that there was only a 
 > config.pl.old file with the creation date of that last full backup but there 
 > was no config.pl file anymore. I copied back the config.pl.old file to 
 > config.pl. and to my astonishment backuppc is running again. Somehow during 
 > that "fatal" full backup the system installed some updates. So it could be 
 > that system update and full backup don't like each other and do things they 
 > shouldn't. 
 > So backuppc users please do not make (full-) backups and system updates 
 > together. You could lose some time in investigating and not be able to use 
 > backuppc.
 > Kind regards
 > Chris Koenig
 > ___
 > 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] Lost config.pl file during full backup

2021-08-01 Thread Les Mikesell
On Sun, Aug 1, 2021 at 9:30 AM oetschi.ex...@bluewin.ch
 wrote:
>
>
> So backuppc users please do not make (full-) backups and system updates 
> together. You could lose some time in investigating and not be able to use 
> backuppc.
>

This report might be more useful if you mentioned 'which' system you
are talking about.  I'd guess it was some linux distribution, but
their packaging and updates work differently.

-- 
   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] Lost config.pl file during full backup

2021-08-01 Thread oetschi.ex...@bluewin.ch
Hello backuppc,
This is a message to warn all users:
During a full backup of all my clients the backuppc task went crazy and I could 
read in the log file that backuppc wanted to start a backup every minute until 
I stopped the task. After that backuppc did not start anymore. After some days 
troubleshooting and an advice from google I checked all client config.pl for 
correct permissions. I saw that there was only a config.pl.old file with the 
creation date of that last full backup but there was no config.pl file anymore. 
I copied back the config.pl.old file to config.pl. and to my astonishment 
backuppc is running again. Somehow during that "fatal" full backup the system 
installed some updates. So it could be that system update and full backup don't 
like each other and do things they shouldn't. 
So backuppc users please do not make (full-) backups and system updates 
together. You could lose some time in investigating and not be able to use 
backuppc.
Kind regards
Chris Koenig
___
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] File include using "do" not working after V4 migration ?

2021-08-01 Thread Adam Cecile
Hello,

I used to include common parameters using "do" in PCs .pl files, e.g:
do "/etc/backuppc/template/default-retention.pl";

It seems to be ignored now with V4 versions, for instance I saw BackupPC 
deleting all backups because it ignored the retention set in included file and 
falled back to default FullCnt == 1.

Is that expected ? Did I miss something ?

Best regards, Adam.___
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/