Tony Del Porto writes:

> I'm testing BackupPC with a couple of machines and full backups don't 
> complete. The test machines are a Redhad 7.2 machine and an OS 10.3.9 
> machine. Both are using tar (or xtar) and ssh.  The errors in the Xfer 
> log are basically the same:
> 
> Redhat 7.2
> ...
>    pool   l 777       0/0           1 mount
>    create   600       0/0         574 ntp.keys.3204915872
>    pool     600       0/0         574 ntp.keys.3204916062
>    create   600       0/0         574 ntp.keys.3204916081
>    pool     600       0/0          29 .bash_history
>    create d 755       0/0           0 initrd
> tarExtract: Done: 0 errors, 224692 filesExist, 8825497672 sizeExist, 
> 3116053660 sizeExistComp, 252541 filesTotal, 9321259784 sizeTotal
> Got fatal error during xfer (./initrd/)
> Backup aborted (./initrd/)
> 
OS 10.3.9 + xtar
> ...
>    pool     644    501/20       25141 
> Users/tony/Sites/tony/socal/yurt_views.jpg
>    pool     644    501/20     1035594 Users/tony/Sites/tony/socal.zip
>    pool     644    501/20        3265 Users/tony/Sites/tony/thelist.html
>    pool     644    501/20      815874 Users/tony/tonybackup.tgz
> tarExtract: Done: 0 errors, 21624 filesExist, 2952991765 sizeExist, 
> 2374350093 sizeExistComp, 21666 filesTotal, 2963158042 sizeTotal
> Got fatal error during xfer (./Users/tony/tonybackup.tgz)
> Backup aborted (./Users/tony/tonybackup.tgz)

Is there a real error shown in the log file?  If not, it could
just be a problem with the exit status of tar on the mac.
Perhaps it's a minor error (eg: can't read a file) that
causes an exit status that makes BackupPC think the backup
failed.

You could run this command manually (substituting the variables):

    $sshPath -q -x -n -l root $host $tarPath -c -v -f - -C / > /dev/null

and then print the exit status (echo $status in tcsh).

Craig


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
BackupPC-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Reply via email to