Hi David!

> >root@fileserver: /usr/local/sbin > ./amrecover
> The recovery will take place in the directory where you are; by doing
> what you wrote (above), you would be restoring on top of
> /usr/local/sbin.  That seems unlikely to be desired.

That´s ok, but i have tested the following
root@fileserver:> cd /test
root@fileserver:/test> /usr/local/sbin/amrecover Daily -d /dev/nst0 -t
fileserver
AMRECOVER Version 2.4.2-19991216-beta1. Contacting server on Fileserver ...
amrecover: Unexpected server end of file
root@fileserver:/test >



> >AMRECOVER Version 2.4.2-19991216-beta1. Contacting server on fileserver
...
> >amrecover: Unexpected server end of file
> >root@fileserver:/usr/local/sbin >
> Unless the version of amrecover was compiled with the proper
> information, you need to tell it the name of the tape device (on the
> amanda server).  It looks as if it already knows the name of the amanda
> server (assuming that's "fileserver").  You also need to specify the
> name of the configuration to use.
>
> >I want (must) to recover a complete directory, because it´s lost on the
> >Fileserver (and i don´t know why).
> >I have Suse-linux 6.3 with Kernel 2.4.13, Amanda is installed in
> >/usr/local/sbin (executable files)
> >I have a tape changer with 10 DLT-Tapes. The no rewind Tape is /dev/nst0,
> >the Tape device is /dev/sg5 and the changer-device is /dev/sg6.
> >The partitions that are backuped are sdd1, sdd2 and sdd3, the name of the
> >Server is fileserver.
>
> >I hope anyone can help me!
>
> So, on the machine where you want to restore the files, you need to
> login; cd to the directory where you want to restore the data; as root,
> issue
>
> amrecover CONFIG -d /dev/nst0 -t fileserver
>
> (Where "CONFIG" is the name of the configuration.)

I have done it, but i become the same error message.

Here, i have some Logfilesn after testing with amcheck and amrecover:

Logfile from amandad.debug:

amandad: debug 1 pid 822 ruid 560 euid 560 start time Fri Nov 10 12:57:26
2000
amandad: version 2.4.2-19991216-beta1
amandad: build: VERSION="Amanda-2.4.2-19991216-beta1"
amandad:        BUILT_DATE="Thu Aug 31 09:26:09 CEST 2000"
amandad:        BUILT_MACH="Linux fileserver 2.2.13 #2 SMP Mon Aug 14
09:05:57 CEST 2000 i686 unknown"
amandad:        CC="gcc"
amandad: paths: bindir="/usr/local/bin" sbindir="/usr/local/sbin"
amandad:        libexecdir="/usr/local/libexec" mandir="/usr/local/man"
amandad:        AMANDA_TMPDIR="/tmp/amanda" AMANDA_DBGDIR="/tmp/amanda"
amandad:        CONFIG_DIR="/usr/local/etc/amanda" DEV_PREFIX="/dev/"
amandad:        RDEV_PREFIX="/dev/" DUMP="/sbin/dump"
amandad:        RESTORE="/sbin/restore" SAMBA_CLIENT="/usr/bin/smbclient"
amandad:        GNUTAR="/bin/gtar" COMPRESS_PATH="/usr/bin/gzip"
amandad:        UNCOMPRESS_PATH="/usr/bin/gzip"
amandad:        MAILER="/usr/sbin/sendmail"
amandad:        listed_incr_dir="/usr/local/var/amanda/gnutar-lists"
amandad: defs:  DEFAULT_SERVER="fileserver" DEFAULT_CONFIG="Daily"
amandad:        DEFAULT_TAPE_SERVER="fileserver"
amandad:        DEFAULT_TAPE_DEVICE="/dev/null" HAVE_MMAP HAVE_SYSVSHM
amandad:        LOCKING=POSIX_FCNTL SETPGRP_VOID DEBUG_CODE BSD_SECURITY
amandad:        USE_AMANDAHOSTS CLIENT_LOGIN="amanda" FORCE_USERID HAVE_GZIP
amandad:        COMPRESS_SUFFIX=".gz" COMPRESS_FAST_OPT="--fast"
amandad:        COMPRESS_BEST_OPT="--best" UNCOMPRESS_OPT="-dc"
got packet:
--------
Amanda 2.4 REQ HANDLE 000-30A00708 SEQ 973857445
SECURITY USER amanda
SERVICE selfcheck
OPTIONS ;
DUMP sdd1 0 OPTIONS |;bsd-auth;index;
DUMP sdc1 0 OPTIONS |;bsd-auth;index;
DUMP sdb1 0 OPTIONS |;bsd-auth;index;
--------

sending ack:
----
Amanda 2.4 ACK HANDLE 000-30A00708 SEQ 973857445
----

bsd security: remote host fileserver.medienwerft.de user amanda local user
amanda
check failed: [access as amanda not allowed from
[EMAIL PROTECTED]] amandahostsauth failed
amandad: sending REP packet:
----
Amanda 2.4 REP HANDLE 000-30A00708 SEQ 973857445
ERROR [access as amanda not allowed from [EMAIL PROTECTED]]
amandahostsauth failed
----

amandad: got packet:
----
Amanda 2.4 ACK HANDLE 000-30A00708 SEQ 973857445
----

amandad: pid 822 finish time Fri Nov 10 12:57:26 2000

Logfile from  amcheck.debug
amcheck: debug 1 pid 818 ruid 560 euid 0 start time Fri Nov 10 12:57:25 2000
changer: got exit: 0 str: 3 10 1 0
changer_query: changer return was 10 1 0
changer_query: searchable = 0
changer_find: looking for Daily03 changer is searchable = 0
changer: got exit: 0 str: 3 /dev/nst0
amcheck: pid 818 finish time Fri Nov 10 12:59:36 2000

---End of file

Logfile from amidxtaped.debug

amidxtaped: debug 1 pid 656 ruid 560 euid 560 start time Fri Nov 10 12:43:45
2000
amidxtaped: version 2.4.2-19991216-beta1
>
amidxtaped: cannot parse SECURITY line

--- End of file

Logile from amindexd.debug

amindexd: debug 1 pid 7455 ruid 560 euid 560 start time Mon Nov 13 08:12:11
2000
amindexd: version 2.4.2-19991216-beta1

---End of File

Logfile from amrecover.debug

amrecover: debug 1 pid 7454 ruid 0 euid 0 start time Mon Nov 13 08:12:11
2000

---End of File

Logfiles from amtape.debug

amtape: debug 1 pid 563 ruid 560 euid 560 start time Fri Nov 10 12:25:05
2000
changer: got exit: 0 str: 2 /dev/nst0
amtape: pid 563 finish time Fri Nov 10 12:28:01 2000

---End of File

Logifle from amtrmidx.debug

amtrmidx: debug 1 pid 14111 ruid 560 euid 560 start time Wed Nov  8 07:32:57
2000
/usr/local/libexec/amtrmidx: version 2.4.2-19991216-beta1
Keeping 11 index files
fileserver sdb1
fileserver sdc1
fileserver sdd1
amtrmidx: pid 14111 finish time Wed Nov  8 07:32:57 2000

---End of File


After this, i killed all logfiles in /tmp/amanda and started amrecover new,
amanda created two logfiles, called amindexd.debug and amrecover.debug. Here
are this Logfiles:


Logfile from amindexd.debug
amindexd: debug 1 pid 7591 ruid 560 euid 560 start time Mon Nov 13 08:55:29
2000
amindexd: version 2.4.2-19991216-beta1

---End of file

Logfile from amrecover.debug

amrecover: debug 1 pid 7590 ruid 0 euid 0 start time Mon Nov 13 08:55:29
2000
Nothing else.

---End of file

i can´t see any errors, but i hope that you can help me.

Bye Juergen

Reply via email to