I am trying to restore Windows-NT computer from the archive that was
created using Amanda-2.4.2 however seem to be having a problem using
amrecover.
Here is wat I trying:
amrecover -C test
AMRECOVER Version 2.4.2. Contacting server on gbsun1 ...
220 gbsun1 AMANDA index server (2.4.2) ready.
200 Access OK
Setting restore date to today (2001-01-26)
200 Working date set to 2001-01-26.
200 Config set to test.
200 Dump host set to gbsun1.
Can't determine disk and mount point from $CWD
amrecover>set disk //gbprr4/test
200 Disk set to //gbprr4/test.
amrecover>ls
2001-01-17 texte/
amrecover>setmode smb
SAMBA dumps will be extracted using smbclient
amrecover>add texte
Added dir /texte at date 2001-01-17
amrecover>extract
Extracting files using tape drive /dev/rmt/1lbn on host gbsun1.
The following tapes are needed: test-01
Restoring files into directory /export/home
(unless it is a Samba backup, that will go through to the SMB server)
Continue? [Y/n]: y
Load tape test-01 now
Continue? [Y/n]: y
amrecover>exit
200 Good bye.
#
Here what appears in amrecover.debug
# less /tmp/amanda/amrecover.debug
amrecover: debug 1 pid 559 ruid 0 euid 0 start time Fri Jan 26 08:23:38
2001
add_dir_list_item: Adding "2001-01-17" "0" "test-01" "/texte/"
add_glob (texte) -> ^texte$
add_file: Looking for "texte[/]*$"
add_file: Converted path="texte[/]*$" to path_on_disk="/texte[/]*$"
add_file: Pondering ditem->path="/texte/"
add_file: (Successful) Added dir /texte at date 2001-01-17
Started amidxtaped with arguments "6 -h -p /dev/rmt/1lbn gbsun1
^//gbprr4/test$ 2001
0117"
Exec'ing /usr/local/bin/smbclient with arguments:
smbclient
//gbprr4/test
XXXXX
tihhheoeie12
-W
IAEW
-d0
-Tx
-
./texte
amrecover: pid 559 finish time Fri Jan 26 08:32:38 2001
#
No error message, however are appropriate files not in the local
directory (//gbprr4/test)
into which it sould be written back
Thanks for help
_______________________________________________________________________
Robert Piront Institut fuer
Elektrische
Anlagen und
Energiewirtschaft
RWTH-Aachen
Schinkelstrasse 6
mailto:[EMAIL PROTECTED] D-52056 Aachen