Hi,

in a same idea you can use (many) dd to create a buffer
 

BackupPC_tarCreate -h pontiac -n -1 -s \* . | gzip -c | dd obs=512k | dd 
obs=512k of=/dev/nst0

Need to be tested as well.

Dan Smisko wrote:
> I would try the "buffer" util.  It will reblock and buffer the
> input data.  The default blocksize is 10k, which can be changed.
> The -S option prints a message every so many bytes.
> I haven't used it for a while, but ...
>
> BackupPC_tarCreate -h pontiac -n -1 -s \* . |
> gzip |
> buffer -o /dev/nst0 -S 10M
>
> Dan Smisko
>
>
> Stian Jordet wrote:
>   
>> Nils Breunese (Lemonbit) wrote:
>>   
>>     
>>> Stian Jordet wrote:
>>>
>>>     
>>>       
>>>> First, I can't get it to work at all:
>>>>
>>>> cat /etc/apt/sources.list|tar -cf test.tar
>>>> tar: Cowardly refusing to create an empty archive
>>>> Try `tar --help' or `tar --usage' for more information.
>>>>       
>>>>         
>>> If you check 'tar --help' you'll see this is not correct usage of tar. 
>>> Don't use standard in, but just specify file names as arguments:
>>>
>>> $ tar -cf test.tar /etc/apt/sources.list
>>>     
>>>       
>> Hehe. I'm very well aware of that. I was just replying to Ali Bendriss 
>> that this did not work. What I'm trying to do is this:
>>
>> [EMAIL PROTECTED]:~$ /usr/share/backuppc/bin/BackupPC_tarCreate -h pontiac 
>> -n -1 -s \* . | /bin/gzip >> /dev/nst0
>> which is what backuppc tries to do when archiving to tape. And this does 
>> not work.
>>
>> -Stian
>>
>>   
>>     
Ali


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
BackupPC-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Reply via email to