I wrote:
> What is the command that I need to use to run the
> dump|restore|sed manually?
> Or, better yet, how do I get this info from the sendbackup*debug file?
>
> (I've included what I think are the relevent lines below)
>
> -----------------------------------------------------------------
> sendbackup: spawning /usr/sbin/ufsdump in pipeline
> sendbackup: argument list: dump 2usf 1048576 - /dev/rdsk/c0t2d0s4
> sendbackup: started index creator: "/usr/sbin/ufsrestore -tvf
> - 2>&1 | sed
> -e '
> s/^leaf[ ]*[0-9]*[ ]*\.//
> t
> /^dir[ ]/ {
> s/^dir[ ]*[0-9]*[ ]*\.//
> s%$%/%
> t
> }
> d
> '"
> -----------------------------------------------------------------
So, I went ahead and tried to do this:
$ /usr/sbin/ufsdump 2f - /dev/rdsk/c0t2d0s4 | /usr/sbin/ufsrestore -tvf - 2>&1 |
sed -e '
>s/^leaf[ ]*[0-9]*[ ]*\.//
>t
>/^dir[ ]/ {
>s/^dir[ ]*[0-9]*[ ]*\.//
>s%$%/%
>t
>}
>d
>'
in the hopes that it would show me part of what my error is. Note that I was
running this su -l'd to the amanda user. This finished with no problem
(although some of the output from sed seemed to come _after_ the final message
from dump saying that the dump was done)
How do I run it as sendbackup would? So I can see where the tee is failing...
Thanks,
Ricky