Are you backing up Windows or *nix machines?

"Jyrki Hämäläinen" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hi all!

I have a problem with amrestore/amrecover.

I managed succesfully backup and tape all filesystems I wanted. When
tried to recover some files I however encountered problem.

If I got it right amanda reads through tape trying to find right file
and then finds problem with its own headers and quits trying.
Or are there any timing parameters involved with amrestore that can be
fiddled with. That sould be last choise anyway.

However amrecover didn't get even far enough to find right file from tape.

Two last taped tarballs are over 2GB large. I was wondering if that
could be the cause. I am able to restore files with amrestore from
other taped tarballs in the same tape.

amrestore command line used:
[root@nfs jyka]# amrecover Monthly -s dogbert -t dogbert -d /dev/nst0

I tried manually restoring those two last directories with:
mt -f /dev/nst0 rewind
mt -f /dev/nst0 fsf 19
dd if=/dev/nst0 bs=32k skip=1 | tar zxf -

mt -f /dev/nst0 rewind
mt -f /dev/nst0 fsf 20
dd if=/dev/nst0 bs=32k skip=1 | tar zxf -

and this worked so it cannot be in os level, right?

both systems (dogbert and nfs) are redhat 7.2 based. Amanda version
2.4.2p2 is compiled from sources.
Tapedriver is Seagate Tapestor travan 20GB USB.

------- amrestore output ---------

AMRECOVER Version 2.4.2p2. Contacting server on dogbert ...
220 dogbert AMANDA index server (2.4.2p2)
ready.local/amanda/sbin/amrecover_old
200 Access OK
Setting restore date to today (2002-12-16)
200 Working date set to 2002-12-16.
200 Config set to Monthly.
501 No index records for host: nfs.intra.tre-multivisions.fi. Invalid?
Trying nfs.intra.tre-multivisions.fi ...
501 No index records for host: nfs.intra.tre-multivisions.fi. Invalid?
amrecover> sethost nfs
200 Dump host set to nfs.
amrecover> setdisk /shares/userhomes
Scanning /mnt/tmp/holding2...
   20021211: found Amanda directory.
Scanning /mnt/holding...
   lost+found: skipping cruft directory, perhaps you should delete it.
   20021125: found Amanda directory.
   20021211: found Amanda directory.
200 Disk set to /shares/userhomes.
amrecover> setdate 2002-12-14
200 Working date set to 2002-12-14.
amrecover> cd jyka
/shares/userhomes/jyka
amrecover> ls
2002-12-14 .
2002-12-14 testfile

Reply via email to