Re: restore from vtapes written by amvault

Bernhard Erdmann <[email protected]>
Newsgroups gmane.comp.archivers.amanda.user
Message-ID <[email protected]>
Hello,

Am 06.10.20 um 21:54 schrieb Debra S Baddorf:
> Maybe try adding the exact time stamp too?   (In your orig mail)

$ /opt/amanda/sbin/amfetchdump -d vtape be-full svr '^/$' 20201004123343
No matching dumps found

> Oh, and ….  I got confused in your orig email about  be-full  and BE-full.  I hope amanda isn’t confused too.
> Maybe try the capital letter version?    But probably I just didn’t read it carefully enough.

The config name is "be-full" in lower letters. The tapes of Jan. 2000
are labeled BE-full-00 to BE-full-04 (labelstr "^BE-full-[0-9][0-9]*$").
The vtape nowadays is labeled vBE-full-001 (LABELSTR "vBE-full-[0-9]*").

Am 07.10.20 um 00:05 schrieb Nathan Stratton Treadway:
> (I assume you are running Amanda v3.5, right?)

amanda-3.5.1 is running since 29 Feb 2020.

> Looking at the source code for the "find" command, it seems that Amanda
> looks through the log.* files based on the data stamps pulled out of the
> tapelist file...  so in your case, what does
>
>   grep 20201004123343 tapelist
>
> show (for the /etc/amanda/be-full/tapelist file)?

$ grep 20201004123343 ../tapelist
20201004123343 vBE-full-001 reuse BLOCKSIZE:32 POOL:vtape STORAGE:vtape
CONFIG:be-full

$ grep 20000119 ../tapelist
20000119 BE-full-04 reuse
20000119 BE-full-03 reuse
20000119 BE-full-02 reuse
20000119 BE-full-01 reuse
20000119 BE-full-00 reuse

> Also, what do you get when you grep log.20201004123343.0 for "srv /"?
> (That should give you all the taper lines related to writing the
> "missing" dump for srv / .)

$ grep "svr / " log.20201004123343.0
PART taper "ST:vtape" vBE-full-001 2 svr / 20000119 1/-1 0 [sec
43.408733 bytes 13631488 kps 306.666403]
DONE taper "ST:vtape" svr / 20000119000000 1 0 [sec 44.000000 bytes
13631488 kps 302.545455 orig-kb 0]

$ grep "svr / " log.20000119.7
SUCCESS dumper svr / 20000119 0 [sec 40.837 kb 13312 kps 326.0 orig-kb
30860]
SUCCESS taper svr / 20000119 0 [sec 27.941 kb 13344 kps 477.6 {wr:
writers 417 rdwait 0.000 wrwait 25.417 filemark 2.237}]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.