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
}

Reply via email to