Amanda-Users

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

2005-09-01 10:21:14
Subject: Re: 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 13:26:32 +0200
Sebastian Kösters wrote:
Has nobody an idea?

Yes, I do.




-----Ursprüngliche Nachricht-----
Von: owner-amanda-users AT amanda DOT org [mailto:owner-amanda-users AT amanda 
DOT org] Im
Auftrag von Sebastian Kösters
Gesendet: Montag, 29. August 2005 17:00
An: 'Paul Bijnens'
Cc: amanda-users AT amanda DOT org
Betreff: AW: AW: AW: AW: AW: big Problem with restoring a backup

Sorry again.

Here it is:

amidxtaped: debug 1 pid 14662 ruid 33 euid 33: start at Mon Aug 29 15:45:33
2005
amidxtaped: version 2.4.4p4
amidxtaped: time 0.000: > SECURITY USER root
amidxtaped: time 0.001: bsd security: remote host server user root local
user amanda
amidxtaped: time 0.001: amandahosts security check passed
amidxtaped: time 0.001: > 6
amidxtaped: time 0.001: amrestore_nargs=6
amidxtaped: time 0.001: > -h
amidxtaped: time 0.001: > -p
amidxtaped: time 0.001: > DailySet104
amidxtaped: time 0.001: > ^server$
amidxtaped: time 0.001: > ^/var$
amidxtaped: time 0.001: > 20050825
amidxtaped: time 0.001: Ready to execv amrestore with:
path = /usr/sbin/amrestore
argv[0] = "amrestore"
argv[1] = "-h"
argv[2] = "-p"
argv[3] = "DailySet104"
argv[4] = "^server$"
argv[5] = "^/var$"
argv[6] = "20050825"
amrestore: could not stat DailySet104: No such file or directory

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?

The above strongly suggest that you did to amrecover something
like:  settape DailySet104
That's wrong.


amidxtaped: time 0.006: amrestore terminated normally with status: 2
amidxtaped: could not stat DailySet104: No such file or directory
amidxtaped: time 0.006: could not stat DailySet104: No such file or
directory
amidxtaped: time 0.006: pid 14662 finish time Mon Aug 29 15:45:33 2005

But in the original mail, you stated these commands:

amrecover> extract

Extracting files using tape drive file:/backup/config on host backup.
The following tapes are needed: DailySet104

Restoring files into directory /amanda
Continue [?/Y/n]? y

Extracting files using tape drive file:/backup/config on host backup.
Load tape DailySet104 now
Continue [?/Y/n/t]? y
EOF, check amidxtaped.debug file on backup.
amrecover: short block 0 bytes
UNKNOWN file
amrecover: Can't read file header
extract_list - child returned non-zero status: 1
Continue [?/Y/n]? y

But here it seems you used as tapedevice not "DailySet104", but "file:/backup/config".
That strongly makes me believe too, that the two sessions are not
from the same run, and that the two command sequences have different
error causes.

Are you sure the "file:/backup/config" directory is the root
directory of the chg-disk environment (i.e. with the slotX directories
below it?




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