scott wrote:
> Craig Barratt wrote:
>
>> Scott writes:
>>
>>  
>>
>>> TarClientCmd is
>>>
>>> /usr/bin/sudo /bin/tar -c -v -f - -C $shareName+ --totals
>>>
>>> and /bin/tar --version gives:
>>>
>>> tar (GNU tar) 1.15.92
>>>
>>> The backup fails with:
>>>
>>> 2007-12-04 22:09:50 full backup started for directory /data
>>> 2007-12-04 22:27:23 Got fatal error during xfer (No files dumped for
>>> share /data)
>>> 2007-12-04 22:27:28 Backup aborted (No files dumped for share /data)
>>>   
>>
>> What is in the XferLOG.bad file?
>>
>>
>>  
>>
> It starts with:
>
> Running: /usr/bin/sudo /usr/local/bin/tarCreate -v -f - -C /data 
> --totals .
> full backup started for directory /data
> Xfer PIDs are now 23492,23491
> apache2/
> assp/
> <snipped>

Turns out that while I thought I had upgraded my version of tar I had 
actually downgraded it to an earlier version which, when given the -v 
option, writes the verbose output to stdout and corrupts the archive.  
I've upgraded tar and now its fine, unless you do -f /dev/stdout instead 
of -f - as the former will cause the -v output to go to stdout as well.


-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
BackupPC-users mailing list
[email protected]
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to