Using the official debian packages, I am accustomed to CDing to the
desired directory, and entering "amrecover DailySet1". I go through the
process with no issue as to which tape device to use and get a good
extraction.

Using the git package, I have to specify the tape device like so:

amrecover -d chg-disk:/var/amanda/vtapes -C DailySet1

If I don't specify the device, I get:

root@amanda:~/tmp/amanda/home# amrecover 
AMRECOVER Version 3.5.1.git.19364c7b. Contacting server on localhost ...
220 amanda AMANDA index server (3.5.1.git.19364c7b) ready.
Setting restore date to today (2019-05-15)
200 Working date set to 2019-05-15.
200 Config set to DailySet1.
200 Dump host set to amanda.
Use the setdisk command to choose dump disk to recover
amrecover> setdisk /home
200 Disk set to /home.
amrecover> add charles
Added dir /charles/ at date 2019-05-15-14-17-36
amrecover> extract

Extracting files using tape drive tape:/dev/YOUR-TAPE-DEVICE-HERE on host 
localhost.
The following tapes are needed: DailySet1-001

Extracting files using tape drive tape:/dev/YOUR-TAPE-DEVICE-HERE on host 
localhost.
Load tape DailySet1-001 now
Continue [?/Y/n/s/d]? y
Can't open tape device /dev/YOUR-TAPE-DEVICE-HERE: No such file or directory
Load tape DailySet1-001 now
Continue [?/Y/n/d]? n
Got no header and data from server, check in amidxtaped.*.debug and 
amandad.*.debug files on server
amrecover> exit
200 Good bye.
root@amanda:~/tmp/amanda/home#
...


-- 
"When we talk of civilization, we are too apt to limit the meaning of
the word to its mere embellishments, such as arts and sciences; but
the true distinction between it and barbarism is, that the one
presents a state of society under the protection of just and
well-administered law, and the other is left to the chance government
of brute force."
- The Rev. James White, Eighteen Christian Centuries, 1889
Key fingerprint = CE5C 6645 A45A 64E4 94C0  809C FFF6 4C48 4ECD DFDB
https://charlescurley.com

Reply via email to