Hello,
We are doing a disaster recover check, and we would like to test amanda
restoration without amanda being present. I have followed the directions
in 'Unix Backup and Recovery' (O'Reilly) by W. Curtis Preston (a very
good book... well worth the money), but I can't get any further than
reading the amanda header that contains the backup info. Here's what I
do:
[root@reg root]# dd if=/dev/st0 bs=32k skip=2 count=1
AMANDA: FILE 20020304 reg /root lev 0 comp N program /bin/tar
To restore, position tape at start of file and run:
dd if=$tape bs=32k skip=1 | /bin/tar -f... -
1+0 records in
1+0 records out
[root@reg root]#
So, I cd to a /tmp directory and try to run the command as it appeared
in the amanda header, but I always get a tar error.
I think I am probably overlooking something simple in tar, but I don't
know what. I've never done this before, so please don't flame me too
much if I'm doing something stupid.
Thank you,
Brad