Ong Loeng Seng wrote:
amrecover> settape
myhost.mynetwork.com:amanda.conf:/var2/amandadumps/tape02
Using tape "amanda.conf:/var2/amandadumps/tape02" from server
myhost.mynetwork.com.
What is this??? Is that the name of your tape device???
When you are using the "FILE" driver, the name is:
myhost.mynetwork.com:file:/var2/amandadumps/tape02
(where "tape02" is the parent of the "data" subdirectory)
[...]
Continue [?/Y/n/s/t]? Y
EOF, check amidxtaped.<timestamp>.debug file on myhost.mynetwork.com
amrecover: short block 0 bytes
UNKNOWN file
amrecover: Can't read file header
Indeed, that's exactly what is to be expected.
[...]
amidxtaped: time 0.000: > DEVICE=disklist:/var2/amandadumps/tape02
THis time, you tried something else! This file is not from the same
run as the script above. But it is wrong just as well.
The backup file is definitely in /var2/amandadumps/tape02 directory.
I don't understand why amrestore says no such file or directory?
If /var2/amandadumps/tape02 has a subdirectory named "data" which
contains the backup file, then the syntax is:
settape myhost.mynetwork.com:file:/var2/amandadumps/tape02
The word "file" in the middle is not a placeholder, but is needed
litterally.
If you are using the chg-disk changer, then it is best to add these
lines to amanda.conf:
amrecover_changer "changer"
amrecover_do_fsf true
amrecover_check_label true
and then you can just do from within amrecover:
settape changer
See: http://wiki.zmanda.com/index.php/File_driver
--
Paul Bijnens, Xplanation Tel +32 16 397.511
Technologielaan 21 bus 2, B-3001 Leuven, BELGIUM Fax +32 16 397.512
http://www.xplanation.com/ email: Paul.Bijnens AT xplanation DOT com
***********************************************************************
* I think I've got the hang of it now: exit, ^D, ^C, ^\, ^Z, ^Q, ^^, *
* F6, quit, ZZ, :q, :q!, M-Z, ^X^C, logoff, logout, close, bye, /bye, *
* stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt, abort, hangup, *
* PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e, kill -1 $$, shutdown, *
* init 0, kill -9 1, Alt-F4, Ctrl-Alt-Del, AltGr-NumLock, Stop-A, ... *
* ... "Are you sure?" ... YES ... Phew ... I'm out *
***********************************************************************
|