Tried to restore using amrestore and dd but am unable to extract the zip
file not in windows and not in linux.
The output file is ~25GB.
Amrestore --version
Amrestore-3.3.1
The header of the file from the amanda backup:
AMANDA: SPLIT_FILE 20120302011501 HOST "DISK" part 1/-1 lev 0 comp N
program pkzip
ORIGSIZE=40545280
DLE=<<ENDDLE
<dle>
<program>DUMP</program>
<disk>DISK</disk>
<level>0</level>
<auth>bsdtcp</auth>
<compress>FAST</compress>
<record>YES</record>
<index>YES</index>
</dle>
ENDDLE
To restore, position tape at start of file and run:
dd if=<tape> bs=32k skip=1 | Extract with zmanda windows client
or unzip program
The DD command:
dd if=00003.HOST.DISK.0 bs=32k skip=1 > file.zip
Linux unzip output:
Archive: file.zip
Warning [file.zip]: 21945303747 extra bytes at beginning or within zipfile
(attempting to process anyway)
Error [file.zip]: Start of central directory not found;
zipfile corrupt.
(please check that you have transferred or created the zipfile in the
appropriate BINARY mode and that you have compiled UnZip properly)
7zip output:
7-Zip 9.04 beta Copyright (c) 1999-2009 Igor Pavlov 2009-05-30
p7zip Version 9.04 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,2 CPUs)
Processing archive: file.zip
Error: Can not open file as archive
Please assist...