I *think* I recall:
I amvaulted my files twice — from tapedrive 1 to a hard disk, move hard disk to
another machine
which has tapedrive 2. Vault again to put them on the 2nd tape drive.
To access the vaulted files on the hard disk, I had to look for the date on
which I had amvaulted.
Try repeating this command:
$ /opt/amanda/sbin/amfetchdump -d vtape be-full svr '^/$’ 20000119
using the data of the vault, 20201004
Deb Baddorf
Fermilab
> On Oct 6, 2020, at 11:49 AM, Bernhard Erdmann <[email protected]> wrote:
>
> Hello,
>
> recently I amvaulted from 20 years old DDS tapes to vtapes on hard disk.
> Now I would like to restore from these vtapes.
>
> "amadmin CONF find" does not locate the dumps on vtape (labeled
> vBE-full-001), only on original tapes (labeled BE-full-00 to BE-full-04).
>
> $ 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
>
> $ ll /var/lib/vtape/be-full/slot1
> total 7643100
> -rw------- 1 amanda disk 32768 Oct 4 12:34 00000.vBE-full-001
> [...]
> -rw------- 1 amanda disk 13664256 Oct 4 12:35 00002.svr._.0
> [...]
>
> The logdir contains the original logfiles of 19 Jan 2000 as well as the
> logfile log.20201004123343.0 describing the amvaulting to vBE-full-001.
>
> $ /opt/amanda/sbin/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
>
> Some snippets from amanda.conf:
>
> tpchanger "chg-multi:{/dev/nst0,/dev/nst1,/dev/nst2}"
> property "changerfile" "chg-multi.state"
> runtapes 2
> autoflush yes
>
> define changer vtape {
> tpchanger "chg-disk:/var/lib/vtape/be-full"
> property "num-slot" "200"
> property "auto-create-slot" "yes"
> }
>
> define taperscan taper_lexical {
> comment "lexical"
> plugin "lexical"
> }
>
> DEFINE STORAGE vtape {
> TPCHANGER "vtape"
> LABELSTR "vBE-full-[0-9]*"
> AUTOLABEL "vBE-full-%%%"
> TAPEPOOL "vtape"
> RUNTAPES 1
> TAPERSCAN "taper_lexical"
> TAPERALGO FIRST
> AUTOFLUSH yes
> FLUSH-THRESHOLD-DUMPED 100
> FLUSH-THRESHOLD-SCHEDULED 100
> }