Amanda-Users

Re: FW: URGENT!!! System Disk recovery - UNKNOWN file. amrecover: Cant read file header

2004-08-26 11:21:11
Subject: Re: FW: URGENT!!! System Disk recovery - UNKNOWN file. amrecover: Cant read file header
From: Paul Bijnens <paul.bijnens AT xplanation DOT com>
To: Ranveer Attalia <Ranveer.Attalia AT tertio DOT com>
Date: Thu, 26 Aug 2004 17:19:27 +0200
Ranveer Attalia wrote:

amidx debug file info:
>
amidxtaped: version 2.4.4p1
amidxtaped: time 0.000: > SECURITY USER root
amidxtaped: time 0.002: bsd security: remote host telhp6.tertio.com user root local user amanda
amidxtaped: time 0.003: amandahosts security check passed
amidxtaped: time 0.003: > CONFIG=Weekly
amidxtaped: time 0.003: > LABEL=Fri3.1

Notice it asks for tape label "Fri3.1".

amidxtaped: time 0.003: > FSF=87
amidxtaped: time 0.003: > HEADER
amidxtaped: time 0.003: > DEVICE=/dev/rmt/1ubn
amidxtaped: time 0.003: > HOST=^telhp6$
amidxtaped: time 0.003: > DISK=^/usr$
amidxtaped: time 0.066: > DATESTAMP=20040820

And it asks for date"20040820".

amidxtaped: time 0.066: > END
amidxtaped: time 0.095: amrestore_nargs=0
amidxtaped: time 0.095: Ready to execv amrestore with:
path = /opt/amanda/sbin/amrestore
argv[0] = "amrestore"
argv[1] = "-p"
argv[2] = "-h"
argv[3] = "-l"
argv[4] = "Fri3.1"
argv[5] = "-f"
argv[6] = "87"
argv[7] = "/dev/rmt/1ubn"
argv[8] = "^telhp6$"
argv[9] = "^/usr$"
argv[10] = "20040820"
Wrong label: 'Jul0.1'

You see here?   amrestore asked you to load "Fri3.1", but it found
the wrong tape, and quits immediately.


--
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, *
* kill -9 1,  Alt-F4,  Ctrl-Alt-Del,  AltGr-NumLock,  Stop-A,  ...    *
* ...  "Are you sure?"  ...   YES   ...   Phew ...   I'm out          *
***********************************************************************