Is there a way to verify backuppc’s configuration?
I was hoping an invalid option would be detected on start up or reload but my
simple test says this is not the case.
Snipped from testing.pl
$Conf{BlackoutPeriods} = [];
$Conf{RsyncClientCmd} = '$sshPath -C -q -x -l rsyncbackup $host $rsyncPath
$argList+';
$Conf{BadCmdOption} = ’Testing invalid conf’;
And my testing host is in the hosts file
# /etc/init.d/backuppc reload
* Reloading backuppc configuration files... [ OK ]
# /etc/init.d/backuppc stop
* Stopping backuppc... [ OK ]
# /etc/init.d/backuppc start
* Starting backuppc... [ OK
]
--
Bob Tanner <[email protected]<mailto:[email protected]>> | Phone :
(952)943-8700
https://keybase.io/basictheprogram | http://www.real-time.com
Key fingerprint = F785 DDFC CF94 7CE8 AA87 3A9D 3895 26F1 0DDB E378
_______________________________________________
BackupPC-users mailing list
[email protected]
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/