[BackupPC-users] BackupPC 2.1.2-5 Reporting XferErrs on Successful Local Restore

2007-01-20 Thread Norbert Hoeller
I installed BackupPC 2.1.2-5 on an Ubuntu 6.10 server system for local backups. The only tailoring I needed to do was: * defined the directories to be backed up * modified $Conf{TarClientCmd} = '/usr/bin/sudo $tarPath -c -v -f - -C $shareName+' . ' --totals'; * added

Re: [BackupPC-users] BackupPC 2.1.2-5 Reporting XferErrs on Successful Local Restore

2007-01-20 Thread Craig Barratt
Norbert writes: Contents of file /var/lib/backuppc/pc/localhost/RestoreLOG.5, modified 2007-01-20 14:52:11 (Extracting only Errors) Running: /usr/bin/sudo /bin/tar -x -v -f - -C /home --totals Running: /usr/share/backuppc/bin/BackupPC_tarCreate -h localhost -n 9 -s /home -t -r /user -p

Re: [BackupPC-users] BackupPC 2.1.2-5 Reporting XferErrs on Successful Local Restore

2007-01-20 Thread Craig Barratt
Craig writes: I suspect it is the last line. In lib/BackupPC/Xfer/Tar.pm, try changing: if ( /^Total bytes written: / ) { to if ( /^Total bytes (written|read): / ) { I should mention this is another change in tar 1-16. Tar 1-15 doesn't print the string Total bytes read.

Re: [BackupPC-users] BackupPC 2.1.2-5 Reporting XferErrs on Successful Local Restore

2007-01-20 Thread Norbert Hoeller
Craig, fix to Tar.pm worked like a charm! Thanks, Norbert PS. Great application! Does everything I want it to do, with very little effort on my part. I successfully tested out archiving today as a means of creating monthly offline backups. Next step is backing up Windows