Ano-Tech Computers
Enter keyword:

AMANDA: Using amrecover with tapetype HARD-DISK
Problem:
When trying to recover files from a backup, amrecover says: "EOF, check amidxtaped..debug file on localhost." "amrecover: short block 0 bytes" "UNKNOWN file" "amrecover: Can't read file header" "extract_list - child returned non-zero status: 1"
 
Solution:
Use the 'setdisk' command in amrecover to specify the exact file on the virtual tape that you want to use, e.g. if I am recovering files from virtual tape 03 to device 'hda1' on host name 'atlas':

"settape tapeserver:/home/amanda/tape03/data/00004.atlas.hda1.0"

You will have to check the virtual tape for the exact filename to use.

There may be a more 'proper' way to do this, but it works...
 
Discuss this solution
Did this article solve your problem? Yes No Did not apply

We welcome anyone who is willing to contribute to this public knowledge base, contact siteadmin@atc.no if you have information you would like to share. The idea is not to replace the commercial support sites, but to publish those hard-to-find solutions you've found yourself looking for over and over again.

Show all articles