Hi All,
After pouring through the docs the best I can, I've been unable to
figure out how to enable logging of the backup command
I'm rebuilding a backuppc server...
The localhost backup is failing and I can't figure out why, since the
command isn't logged
localhost log:
2025-03-14 21:05:43 Renaming /var/lib/backuppc/pc/localhost
<http://192.168.5.164:8080/backuppc/index.cgi?host=localhost>/XferLOG.0.z ->
/var/lib/backuppc/pc/localhost
<http://192.168.5.164:8080/backuppc/index.cgi?host=localhost>/XferLOG.0.z.tmp
2025-03-14 21:05:43 incr backup started back to 2025-03-14 20:00:00 (backup #0)
for directory /etc
2025-03-14 21:05:46 Got fatal error during xfer (Tar exited with error 32512 ()
status)
2025-03-14 21:05:51 Backup aborted (Tar exited with error 32512 () status)
2025-03-14 21:09:00 Renaming /var/lib/backuppc/pc/localhost
<http://192.168.5.164:8080/backuppc/index.cgi?host=localhost>/XferLOG.0.z ->
/var/lib/backuppc/pc/localhost
<http://192.168.5.164:8080/backuppc/index.cgi?host=localhost>/XferLOG.0.z.tmp
2025-03-14 21:09:00 incr backup started back to 2025-03-14 20:05:43 (backup #0)
for directory /etc
2025-03-14 21:09:03 Got fatal error during xfer (Tar exited with error 32512 ()
status)
2025-03-14 21:09:09 Backup aborted (Tar exited with error 32512 () status)
localhost config
#
# Local server backup of /etc as user backuppc
#
$Conf{XferMethod} = 'tar';
$Conf{TarShareName} = [
'/etc'
];
$Conf{TarClientCmd} = '/usr/bin/env LC_ALL=C $tarPath -c -v -f - -C
$shareName --totals';
# remove extra shell escapes ($fileList+ etc.) that are
# needed for remote backups but may break local ones
$Conf{TarFullArgs} = '$fileList';
$Conf{TarIncrArgs} = '--newer=$incrDate $fileList';
$Conf{BackupPCNightlyPeriod} = 1;
$Conf{TarClientPath} = 'sudo /bin/tar';
$Conf{XferLogLevel} = 2;
_______________________________________________
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/