Forums.ATC.no

Teknisk => Generelt teknisk => Emne startet av: ATC på 27. ſeptember 2008, 18:24 pm

Tittel: AMANDA: Using amrecover with tapetype HARD-DISK
Skrevet av: ATC27. ſeptember 2008, 18:24 pm
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"
Tittel: [Solved] AMANDA: Using amrecover with tapetype HARD-DISK
Skrevet av: ATC27. ſeptember 2008, 18:24 pm
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...