>I have a FreeBSD machine that I'm in desperate need of restoring, due to
>some serious code breakage in the cvs tree n the past few days.
Sorry it's taken so long to respond.
>Here is what I'm trying:
>
>(rsh kodiak /opt/amanda/sbin/amresore /dev/rmt/c3t4d0BESTn brown ad0s2f ) |
>resore -i -f -
You don't need the parens around the rsh. However you probably do want
-n, e.g.:
rsh kodiak -n /opt/amanda/sbin/amresore /dev/rmt/c3t4d0BESTn brown ad0s2f | \
restore -i -f -
It's possible both rsh and restore are trying to read your /dev/tty
and the input is going astray. The -n tells rsh to redirect stdin to
/dev/null so it stays out of the way.
If that doesn't help, I'd try getting a catalogue of the image (restore
-t) and then extracting without interactive, e.g.
rsh kodiak -n /opt/amanda/sbin/amresore /dev/rmt/c3t4d0BESTn brown ad0s2f | \
restore -x -f - some/file another/file ...
>Stan Brown
John R. Jackson, Technical Software Specialist, [EMAIL PROTECTED]