Date: Tue, 19 Jan 1999 13:14:31 -0500 From: "John R. Jackson" <jrj@gandalf.cc.purdue.edu> To: FreeBSD Questions <freebsd@netsys.hn> Cc: "amanda-users@amanda.org" <amanda-users@amanda.org>, "freebsd-questions@FreeBSD.ORG" <freebsd-questions@FreeBSD.ORG> Subject: Re: Amanda Experts: amrecover doesn't work? Message-ID: <199901191814.NAA08828@gandalf.cc.purdue.edu> In-Reply-To: Your message of "Tue, 19 Jan 1999 09:22:14 EST." <199901191522.JAA06719@mail.netsys.hn>
next in thread | previous in thread | raw e-mail | index | archive | help
>1. I do one backup weekly on sundays. After using VOL04 the next amanda run >should go to VOL01. On Monday I went to check how amanda ran but it said >that the tape I had put on the tape drive was not an amanda tape, and of >course was VOL01. I created VOL05 and removed VOL01 from data base. Some >clue on this? Maybe the tape and/or drive is bad? What happens if you mount VOL01 and do: mt -f /dev/nrst0 rewind dd if=/dev/nrst0 bs=32k You should get one record back and it should be an Amanda volume label something like this: AMANDA: TAPESTART DATE 19981127 TAPE B00000/champion >amrestore: 0: skipping start of tape: date 19990117 label VOL02 >amrestore: 1: skipping internet.netsys.hn.sd0a.19990117.0 >amrestore: missing file header block >amrestore: 2: reached end of tape: date 19990117 This says the tape was labeled OK and that the first image was OK (as much as amrestore cared) but after it had done an "fsf 1" to get past that image it got end of tape (zero back from a read). What happens if you mount VOL02 and do this: mt -f /dev/nrst0 rewind dd if=/dev/nrst0 of=/dev/null bs=32k dd if=/dev/nrst0 of=/dev/null bs=32k dd if=/dev/nrst0 of=/dev/null bs=32k dd if=/dev/nrst0 of=/dev/null bs=32k >3. Last question. How can I recover a file that is on an older tape. ... See the "setdate" command in amrecover. >Pablo Quintana John R. Jackson, Technical Software Specialist, jrj@purdue.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901191814.NAA08828>