Amanda-Users

amrecover problems

2003-05-19 23:33:31
Subject: amrecover problems
From: "Tim" <info AT theluttmans DOT com>
To: <amanda-users AT amanda DOT org>
Date: Mon, 19 May 2003 21:35:53 -0600
Hello all,

>>I am a new user to Amanda.  I have the backups working properly but
when I go to restore with amrecover it seems to hang.  I get a far as
this before it hangs:

[root@cougar ~]# amrecover -C DailySet2
AMRECOVER Version 2.4.2. Contacting server on cougar.monarch.net ...
220 cougar AMANDA index server (2.4.2) ready.
200 Access OK
Setting restore date to today (2003-05-19)
200 Working date set to 2003-05-19.
200 Config set to DailySet2.
200 Dump host set to cougar.monarch.net.
Can't determine disk and mount point from $CWD
amrecover> setdate 2003-05-18
200 Working date set to 2003-05-18.
amrecover> setdisk /home/users
Scanning /dumps/amanda/primary...
200 Disk set to /home/users.
amrecover> quit
200 Good bye.
[root@cougar ~]# amrecover -C DailySet2
AMRECOVER Version 2.4.2. Contacting server on cougar.monarch.net ...
220 cougar AMANDA index server (2.4.2) ready.
200 Access OK
Setting restore date to today (2003-05-19)
200 Working date set to 2003-05-19.
200 Config set to DailySet2.
200 Dump host set to cougar.monarch.net.
Can't determine disk and mount point from $CWD
amrecover> settape /dev/nst0
Using tape /dev/nst0 from server cougar.monarch.net.
amrecover> setdate 2003--5-18
Invalid command - parse error
amrecover> setdate 2003-5-18
200 Working date set to 2003-05-18.
amrecover> setdisk /home/users
Warning: no log files found for tape BackupTapeOffice07 written    0-
00-00
Warning: no log files found for tape BackupTapeOffice06 written    0-
00-00
Warning: no log files found for tape BackupTapeOffice05 written    0-
00-00
Warning: no log files found for tape BackupTapeOffice04 written    0-
00-00
Warning: no log files found for tape BackupTapeOffice03 written    0-
00-00
Warning: no log files found for tape BackupTapeOffice00 written    0-
00-00
Scanning /dumps/amanda/primary...
200 Disk set to /home/users.
amrecover> cd tim
/home/users/tim
amrecover> add DELL-PV122T.txt
Added /tim/DELL-PV122T.txt
amrecover> extract

Extracting files using tape drive /dev/nst0 on host
cougar.monarch.net.
The following tapes are needed: BackupTapeOffice01

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

Load tape BackupTapeOffice01 now
Continue? [Y/n]: y

>>This is the output form the amrecover-debug log:

add_file: Converted path="DELL-PV122T\.txt[/]*$" to
path_on_disk="\/tim/DELL-PV122T\.txt[/]*$"
add_file: Pondering ditem->path="/tim/."
add_file: Pondering ditem->path="/tim/Adobe/"
add_file: Pondering ditem->path="/tim/Backups/"
add_file: Pondering ditem->path="/tim/CDM Project/"
add_file: Pondering ditem->path="/tim/Completed Projects/"
add_file: Pondering ditem->path="/tim/Crystal Reports/"
add_file: Pondering ditem->path="/tim/DELL-PV122T.txt"
add_file: (Successful) Added /tim/DELL-PV122T.txt
add_file: Pondering ditem->path="/tim/Downloads/"
add_file: Pondering ditem->path="/tim/Faxes Sent/"
add_file: Pondering ditem->path="/tim/IBM/"
add_file: Pondering ditem->path="/tim/Memo's Sent/"
add_file: Pondering ditem->path="/tim/My Pictures/"
add_file: Pondering ditem->path="/tim/Not Filed/"
add_file: Pondering ditem->path="/tim/On Call Lists/"
add_file: Pondering ditem->path="/tim/PDF Files/"
add_file: Pondering ditem->path="/tim/Staff Appraisals/"
add_file: Pondering ditem->path="/tim/Templates/"
add_file: Pondering ditem->path="/tim/TestPrep Software/"
add_file: Pondering ditem->path="/tim/Thumbs.db"
add_file: Pondering ditem->path="/tim/Windows 2003/"
add_file: Pondering ditem->path="/tim/Work In Progress/"
add_file: Pondering ditem->path="/tim/filelib/"
Started amidxtaped with arguments "6 -h -p /dev/nst0
cougar.monarch.net ^/home/users$ 20030518"

>> This is the output from the amindexd.debug log:

amindexd: debug 1 pid 5943 ruid 0 euid 0 start time Mon May 19
21:19:29 2003
amindexd: version 2.4.2
< 220 cougar AMANDA index server (2.4.2) ready.
> SECURITY USER root
bsd security: remote host acougar user root local user root
amandahosts security check passed
< 200 Access OK
> 6
< 500 Command not recognised/incorrect: 6
> -h
< 500 Command not recognised/incorrect: -h
> -p
< 500 Command not recognised/incorrect: -p
> /dev/nst0
< 500 Command not recognised/incorrect: /dev/nst0
> cougar.monarch.net
< 500 Command not recognised/incorrect: cougar.monarch.net
> ^/home/users$
< 500 Command not recognised/incorrect: ^/home/users$
> 20030518
< 500 Command not recognised/incorrect: 20030518
? unexpected EOF
amindexd: pid 5943 finish time Mon May 19 21:20:24 2003

>> As you can see it is not recognizing the arguments from amrecover.

Any ideas?

Tim


<Prev in Thread] Current Thread [Next in Thread>
  • amrecover problems, Tim <=