Re: which tape is which ???
On Tue, Jul 15, 2003 at 11:31:21AM -0400, Kurt Yoder wrote: > > Michael D. Schleif said: > > That's my problem: if I knew which of these tapes is the ``most > > recently-written one'' [...] > > Ah. Put one in and do "dd if= of=test_header bs=32k". For a list of the tape's contents, use amrestore. Ask it to restore some nonexistent host. It'll fail of course, but as a side effect, it will print a list of all the DLEs it's skipping over in the process. -- | | /\ |-_|/ > Eric Siegerman, Toronto, Ont.[EMAIL PROTECTED] | | / When I came back around from the dark side, there in front of me would be the landing area where the crew was, and the Earth, all in the view of my window. I couldn't help but think that there in front of me was all of humanity, except me. - Michael Collins, Apollo 11 Command Module Pilot
Re: which tape is which ???
Also sprach Kurt Yoder (Tue 15 Jul 02003 at 11:31:21AM -0400): > > Michael D. Schleif said: > > > > > That's my problem: if I knew which of these tapes is the ``most > > recently-written one'', then I would know which is in the current > > cycle > > ;< > > > > So, how do I determine that? > > Ah. Put one in and do "dd if= of=test_header bs=32k". > This will grab the amanda tape header and put it in the file > test_header. In this file you will then see the date of the dump on > this tape. Perhaps, that should be: dd if=/dev/nst0 of=~/test_hdr bs=32k count=1 Thank you. -- Best Regards, mds mds resource 877.596.8237 - Dare to fix things before they break . . . - Our capacity for understanding is inversely proportional to how much we think we know. The more I know, the more I know I don't know . . . -- pgp0.pgp Description: PGP signature
Re: which tape is which ???
Michael D. Schleif said: > That's my problem: if I knew which of these tapes is the ``most > recently-written one'', then I would know which is in the current > cycle > ;< > > So, how do I determine that? Ah. Put one in and do "dd if= of=test_header bs=32k". This will grab the amanda tape header and put it in the file test_header. In this file you will then see the date of the dump on this tape. -- Kurt Yoder Sport & Health network administrator
Re: which tape is which ???
Also sprach Kurt Yoder (Tue 15 Jul 02003 at 11:10:34AM -0400): > I believe both of them will be accepted by amanda when it's looking > for "backup.005". So just pick the most recently-written one to use > as the "real" backup.005. Then erase the other one using mt or dd, > and treat it as a blank tape. > > Michael D. Schleif said: > > I have been using amanda for several weeks. Initially, I tested > > various > > configurations; but, now I am supposed to be ``in production'' ;> > > > > Somehow, I find myself with two (2) identically labeled tapes: > > backup.005 ;< > > > > amcheck finds both to be valid. > > > > tapelist shows one (1) entry for backup.005. > > > > How can I find out which of these is really in the current backup > > cycle? That's my problem: if I knew which of these tapes is the ``most recently-written one'', then I would know which is in the current cycle ;< So, how do I determine that? -- Best Regards, mds mds resource 877.596.8237 - Dare to fix things before they break . . . - Our capacity for understanding is inversely proportional to how much we think we know. The more I know, the more I know I don't know . . . -- pgp0.pgp Description: PGP signature
Re: which tape is which ???
I believe both of them will be accepted by amanda when it's looking for "backup.005". So just pick the most recently-written one to use as the "real" backup.005. Then erase the other one using mt or dd, and treat it as a blank tape. Michael D. Schleif said: > I have been using amanda for several weeks. Initially, I tested > various > configurations; but, now I am supposed to be ``in production'' ;> > > Somehow, I find myself with two (2) identically labeled tapes: > backup.005 ;< > > amcheck finds both to be valid. > > tapelist shows one (1) entry for backup.005. > > How can I find out which of these is really in the current backup > cycle? -- Kurt Yoder Sport & Health network administrator