Hi, I get the following error while running amrestore after amdump and amflush are doing their jobs without any errors:
I'm running amrecover from the amanda-server machine to avoid possible filters: [EMAIL PROTECTED] amanda]# amrecover -s 192.168.154.21 -t 192.168.154.21 -d /dev/nst0 AMRECOVER Version 2.4.4p2. Contacting server on 192.168.154.21 ... 220 amanda AMANDA index server (2.4.4p2) ready. 200 Access OK Setting restore date to today (2004-03-17) 200 Working date set to 2004-03-17. Scanning /var/tmp... 20040316: found Amanda directory. 200 Config set to DailySet1. 501 Host amanda is not in your disklist. Trying host localhost.localdomain ... 501 Host localhost.localdomain is not in your disklist. Trying host localhost ... 501 Host localhost is not in your disklist. Trying host amanda ... 501 Host amanda is not in your disklist. amrecover> sethost iulian 200 Dump host set to iulian. amrecover> setdisk / 200 Disk set to /. amrecover> cd /var/www/html/usage /var/www/html/usage amrecover> ls 2004-03-17 . 2004-03-17 msfree.png 2004-03-17 webalizer.png amrecover> add msfree.png Added /var/www/html/usage/msfree.png amrecover> extract Extracting files using tape drive /dev/nst0 on host 192.168.154.21. The following tapes are needed: DailySet1-6 Restoring files into directory /tmp/amanda Continue [?/Y/n]? y Extracting files using tape drive /dev/nst0 on host 192.168.154.21. Load tape DailySet1-6 now Continue [?/Y/n/s/t]? y EOF, check amidxtaped.<timestamp>.debug file on 192.168.154.21. amrecover: short block 0 bytes UNKNOWN file amrecover: Can't read file header extract_list - child returned non-zero status: 1 Continue [?/Y/n/r]? y amrecover> exit 200 Good bye. My debug file looks like: [EMAIL PROTECTED] amanda]# cat amidxtaped.20040317173814.debug amidxtaped: debug 1 pid 30897 ruid 33 euid 33: start at Wed Mar 17 17:38:14 2004 amidxtaped: version 2.4.4p2 amidxtaped: time 0.000: > SECURITY USER root amidxtaped: time 0.002: bsd security: remote host pluto.d1.net-m.de user root local user amanda amidxtaped: time 0.003: amandahosts security check passed amidxtaped: time 0.003: > CONFIG=DailySet1 amidxtaped: time 0.003: > LABEL=DailySet1-6 amidxtaped: time 0.003: > FSF=1 amidxtaped: time 0.003: > HEADER amidxtaped: time 0.003: > DEVICE=/dev/nst0 amidxtaped: time 0.003: > HOST=^iulian$ amidxtaped: time 0.003: > DISK=^/$ amidxtaped: time 0.003: > DATESTAMP=20040317 amidxtaped: time 0.003: > END amidxtaped: time 0.006: amrestore_nargs=0 amidxtaped: time 0.006: Ready to execv amrestore with: path = /usr/local/sbin/amrestore argv[0] = "amrestore" argv[1] = "-p" argv[2] = "-h" argv[3] = "/dev/nst0" argv[4] = "^iulian$" argv[5] = "^/$" argv[6] = "20040317" amrestore: WARNING: not at start of tape, file numbers will be offset amrestore: 0: reached end of information amidxtaped: time 0.017: amrestore terminated normally with status: 1 amidxtaped: time 0.017: rewinding tape ... amidxtaped: time 2.457: done amidxtaped: time 2.457: pid 30897 finish time Wed Mar 17 17:38:16 2004 So no error. My amrecover debug file says to following: cd_glob (/var/www/html/usage) -> ^/var/www/html/usage$ add_dir_list_item: Adding "2004-03-17" "0" "DailySet1-6" "1" "/var/www/html/usage/." add_dir_list_item: Adding "2004-03-17" "0" "DailySet1-6" "1" "/var/www/html/usage/msfree.png" add_dir_list_item: Adding "2004-03-17" "0" "DailySet1-6" "1" "/var/www/html/usage/webalizer.png" add_glob (msfree.png) -> ^msfree\.png$ add_file: Looking for "msfree\.png[/]*$" add_file: Converted path="msfree\.png[/]*$" to path_on_disk="\/var\/www\/html\/usage/msfree\.png[/]*$" add_file: Pondering ditem->path="/var/www/html/usage/." add_file: Pondering ditem->path="/var/www/html/usage/msfree.png" add_file: (Successful) Added /var/www/html/usage/msfree.png add_file: Pondering ditem->path="/var/www/html/usage/webalizer.png" amrecover: stream_client_privileged: connected to 192.168.154.21.10083 amrecover: stream_client_privileged: our side is 0.0.0.0.923 amrecover: try_socksize: receive buffer size is 65536 amrecover: Can't read file header amrecover: pid 30896 finish time Wed Mar 17 17:38:16 2004 amrecover: pid 30885 finish time Wed Mar 17 17:38:24 2004 The thing is, if I'm running: [EMAIL PROTECTED] amanda]# amrestore /dev/nst0 ^iulian$ ^/$ 20040317 The dumpfile is restored corectly on the amanda-server machine. What should I look for? Thanks for your support. Regards, Iulian Topliceanu