Re: restore from vtapes written by amvault

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

Am 07.10.20 um 23:50 schrieb Nathan Stratton Treadway:
> Hmmm, the one thing that seems a little strange is the extra zeros at
> the end of the datetimestamp string on the DONE line....

you were well unterstood while first reading.

Original logfile:

$ 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]

$ amadmin be-full find svr /

date       host disk lv storage pool    tape or file file part status
2000-01-19 svr  /     0 be-full be-full BE-full-00      2 1/-1 OK


Modified logfile:

$ 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 / 20000119 1 0 [sec 44.000000 bytes 13631488
kps 302.545455 orig-kb 0]

$ amadmin be-full find svr /

date       host disk lv storage pool    tape or file file part status
2000-01-19 svr  /     0 vtape   vtape   vBE-full-001    2  1/1 OK
2000-01-19 svr  /     0 be-full be-full BE-full-00      2 1/-1 OK


But amfetchdump still does not know about tape vBE-full-001:

$ amfetchdump -d vtape be-full svr '^/$' 20000119
1 volume(s) needed for restoration
The following volumes are needed: BE-full-00

Press enter when ready

File 0 not found

Insert volume labeled 'BE-full-00' in vtape
and press enter, or ^D to abort.

File 0 not found

Insert volume labeled 'BE-full-00' in vtape
and press enter, or ^D to abort.
Aborted by user

$ amfetchdump be-full svr '^/$' 20000119
1 volume(s) needed for restoration
The following volumes are needed: BE-full-00

Press enter when ready

Source Volume 'BE-full-00' not found

Insert volume labeled 'BE-full-00' in
chg-multi:{/dev/nst0,/dev/nst1,/dev/nst2}
and press enter, or ^D to abort.
Aborted by user
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.