> > > > amrestore ody shows: > > amrestore: could not open tape ody: No such file or directory > > That's not the proper syntax to amrestore. It needs to know the tape > device, i.e. 'amrestore /dev/rmt/0bn'. It doesn't care about a config > file.
[2:20pm chip]# mt rewind [2:20pm chip]# amrestore /dev/rmt/0bn amrestore: missing file header block amrestore: WARNING: not at start of tape, file numbers will be offset amrestore: 0: reached end of tape: date > > any other methods of getting info from this tape. > > (dd ufsrestore etc)(I've tried, but no sucess) > > Are you using the correct device? Were you using hardware compression > before? Do you need the 'b' in there? Just going from memory from before, I've tried with and without the "b" > > Try this: > > mt rewind > mt fsf 1 (the first file on the tape is just an AMANDA tape header) > dd if=/dev/rmt/0bn of=image1.header bs=32k count=1 [2:20pm chip]# mt rewind [2:21pm chip]# mt fsf 1 [2:21pm chip]# dd if=/dev/rmt/0bn of=image1.header bs=32k count=1 0+0 records in 0+0 records out > > The file image1.header should then contain a string indicating the date, > time, level, client, filesystem, etc of the backup. You can grab the rest > of the image by doing: > > dd if=/dev/rmt/0bn of=image1 bs=32k [2:22pm chip]# dd if=/dev/rmt/0bn of=image1 bs=32k 0+0 records in 0+0 records out > Or, to just grab the image directly, do this in place of the first 'dd' > command above: > > dd if=/dev/rmt/0bn of=image1 bs=32k skip=1 [2:22pm chip]# dd if=/dev/rmt/0bn of=image1 bs=32k skip=1 dd: cannot skip past end-of-file I'm doing everything possible to not tell myself there is nothing on this tape. I admit I didn't run verify, but amanda reports from when it was working reported everything normal, took several hours to backup stuff (as expected) Brad
