On Tuesday, March 26, 2002, at 11:11 AM, John R. Jackson wrote:

>> Exec'ing /sbin/restore with arguments:
>>         restore
>>         xbf
>>         2
>>         -
>>         /amanda_dev.init
>> ...
>> So was the call:
>>> restore -x 2 -b - -f /amanda_dev.init
>> or was it
>>> restore -xbf 2 - /amanda_dev.init
>
> Neither.  This is the equivalent interactive command:
>
>   /sbin/restore xbf 2 - /amanda_dev.init
>
> So start with that (you need to give it the image on stdin).  It should
> give you the same "Block size must be a positive integer" error.
> Then see if you can figure out what it's whining about.  It might be
> it wants a larger block size (e.g. '4').  Or it might not like the 'b'
> (and '2') option at all.  Or it might want more parameters.

If I issue the command as you've given it above, I get the same block 
size error.  If I change the 2 to a 4, it does the same.  If I remove 
the b and the 2 all-together, it them waits for the image file from 
stdin (I guess).  I'm a little ignorant as far as `restore` goes and am 
not sure how to feed it the image file in this situation.

I'm sorry about needing to be spoon fed.  Hopefully I can still work 
through this issue.

> What OS are you running on the client?  What type of dump/restore/fstype
> (i.e.  "plain", "vdump", "xfsdump", etc)?

This is Digital Unix 4.0 (with the dump patch applied).  It is using the 
plain system dump/restore as far as I know--/sbin/dump and /sbin/restore.


EZ

Reply via email to