> I want to restore the file usr/local/sbin/exec, which is mounted
> on "root" ("/").
> 
> For that i'm using the following command:
> 
> amrestore -p /dev/st0 gretel / | tar -xvf - ./usr/local/sbin/exec

Please specify / as /. The filesystem is interpreted as a regular
expression, so you'll have to write '^/$' (' for/against the shell).
And please do use /dev/nst0, just forget /dev/st0:

amrestore -p /dev/nst0 gretel '^/$' | tar -xvf - ./usr/local/sbin/exec

...will do the trick

Reply via email to