Amanda-Users

3rd time's the charm? Please help...amrecover problem?

2003-06-12 09:42:09
Subject: 3rd time's the charm? Please help...amrecover problem?
From: Glenn Sieb <ges AT lumeta DOT com>
To: amanda-users AT amanda DOT org
Date: Thu, 12 Jun 2003 09:38:22 -0400
I'm in a bind here.. I'm totally stuck and I was supposed to get these files restored 3 days ago. If I'm in the wrong place, if I'm missing some obvious thing, or if I've left out any information needed to troubleshoot this properly, please let me know. I'm stuck here. :(

I'm running FreeBSD 4.8, with Amanda Server 2.4.4, installed from /usr/ports/misc/amanda-server

We've been running some backups just fine, but when I try to restore, I get:

# amrecover -C DailySet1 -s lucy3.corp.lumeta.com -t lucy3.corp.lumeta.com -d /dev/nsa0
AMRECOVER Version 2.4.4. Contacting server on lucy3.corp.lumeta.com ...
220 lucy AMANDA index server (2.4.4) ready.
200 Access OK
Setting restore date to today (2003-06-09)
200 Working date set to 2003-06-09.
200 Config set to DailySet1.
501 Host lucy.corp.lumeta.com is not in your disklist.
Trying host lucy.corp.lumeta.com ...
501 Host lucy.corp.lumeta.com is not in your disklist.
Trying host lucy ...
501 Host lucy is not in your disklist.
Trying host lucy3 ...
200 Dump host set to lucy3.
Trying disk /usr ...
$CWD '/usr/ports/misc/amanda-server' is on disk '/usr' mounted at '/usr'.
200 Disk set to /usr.
/usr/ports/misc/amanda-server
WARNING: not on root of selected filesystem, check man-page!
amrecover> lcd /root
amrecover> setdisk /u4
200 Disk set to /u4.
cd mail
amrecover> cd mail
/u4/mail
amrecover> add username
Added /mail/username
amrecover> extract

Extracting files using tape drive /dev/nsa0 on host lucy3.corp.lumeta.com.
The following tapes are needed: DailySet1-A00004

Restoring files into directory /root
Continue [?/Y/n]?

Extracting files using tape drive /dev/nsa0 on host lucy3.corp.lumeta.com.
Load tape DailySet1-A00004 now
Continue [?/Y/n/s/t]?
amrecover: error reading tape: Connection reset by peer
extract_list - child returned non-zero status: 1
Continue [?/Y/n/r]?
amrecover>

The error reading tape is instantaneous.. it's the second I hit <Enter>. If I su - operator, and do an amtape DailySet1 current I get:

# amtape DailySet1 current
amtape: scanning current slot in tape-changer rack:
slot 36: date 20030608 label DailySet1-A00004

Any help would be greatly appreciated... Logs look like:

(after the add_file stuff) in amrecover.20030609161041.debug:
amrecover: stream_client_privileged: connected to 65.246.245.10.10083
amrecover: stream_client_privileged: our side is 0.0.0.0.964
amrecover: try_socksize: receive buffer size is 65536
amrecover: error reading tape: Connection reset by peer
amrecover: pid 11281 finish time Mon Jun  9 16:11:02 2003

amtape log:
amtape: debug 1 pid 11358 ruid 0 euid 0: start at Mon Jun  9 16:12:16 2003
amtape: running as user "root" instead of "operator"
amtape: pid 11358 finish time Mon Jun  9 16:12:16 2003

Any help would be greatly appreciated...

Thank you!
Glenn
---
Glenn E. Sieb
System Administrator
Lumeta Corporation
+1 732 357-3514 (V)
+1 732 564-0731 (Fax)