Amanda-Users

Re: AW: AW: AW: AW: AW: AW: big Problem with restoring a backup

2005-09-01 10:14:00
Subject: Re: AW: AW: AW: AW: AW: AW: big Problem with restoring a backup
From: Paul Bijnens <paul.bijnens AT xplanation DOT com>
To: Sebastian Kösters <skoesters AT sino DOT de>
Date: Thu, 01 Sep 2005 15:20:36 +0200
Sebastian Kösters wrote:

In a previous message you said you "loaded the tape manually".
OK, these are vtapes.  How did you load the tape "manually".
How did you do that?


amtape config slot 4 (4 = DailySet104)

OK, that is the correct way to do it.



i loaded the correct tape (here: DailySet104) with the command amtape config
slot 4.
Then i started amrecover -t ... -s .... -C ....
-sethost
-setdisk
-setdate
-ls
-add ....
-extract

Then i get the error (like i said only with the level 0 which is
DailySet104. DailySet106 which is a Level 1 Backup works fine).

But you can only get the error "amrestore: could not stat DailySet104"
when pass that file as tapedevice, be it from "amrecover -t DailySet104"
or with the settape command inside amrecover.  For vtapes the tapedevice
should be "file:/backup/config", as I understand from your config, just
like you did on the first run.

I still believe that the first time you simply did not rewind the vtape.
Because many people do forget that, amanda has some options to
do that automatically.  I suggested to add the "amrecover_do_fsf yes"
and "amrecover_check_label yes" to amanda.conf, which you did not
do yet, otherwise, I would have seen the options passed to amrestore.

I would like to see a typescript from the exact commands, without
crucial information replaced by dotdotdot, together with the debug file
from amidxtaped from the same run.

  "It works when I do it". (tm)


--
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          *
***********************************************************************



<Prev in Thread] Current Thread [Next in Thread>