I'm trying to do a full level 0 restore of a directory on our largest
backed up partition.  Amanda (2.4.1p1, BSDI 4.1, Seagate DDS4 drive) is
using gtar to back it up because I have to exclude a bunch of stuff.  The
problems I've had are as follows.  

I successfully used the amrecover technique to have Amanda restore off of
the level 0 and all of the subsequent days, however I could tell that not
everything got restored.  Trying to use "amrestore -p .. | tar ivf -"
failed, but now I realize that was because it was the default tar and not
gtar (oops).  However, after reading the gtar info pages, it seems that
their interactive mechanism is not very easy to manipulate.

e.g.
restore[25]# amrestore -p /dev/nrst0 lou /dev/sd0g | /usr/local/bin/tar
xwvf -
amrestore:   0: skipping start of tape: date 20010313 label VOL12
amrestore:   1: skipping 
amrestore:   2: skipping 
amrestore:   3: skipping 
amrestore:   4: skipping 
amrestore:   5: skipping 
amrestore:   6: skipping 
amrestore:   7: skipping 
amrestore:   8: skipping 
amrestore:   9: skipping 
amrestore:  10: skipping 
amrestore:  11: restoring lou_dev_sd0g.20010313.0
extract 07253617211/./?q

My only other option was to do a complete image restore using amrestore
and then use gtar to untar the entire image.  Am I missing something?  

As an aside, is there a way to force Amanda to accept two disklist entries
for the same partition, but with different options?  I tried once and it
complained, but I'd like to backup "/logs" on one entry and everything
else on the other.  The tape can't back up everything (it's a DDS4 tape
and the partition is 50Gb).

Thanks!
 -- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Doug Silver
619 235-2665
Quantified Systems, Inc
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~




Reply via email to