Amanda-Users

Amrecover: Header Problem

2008-07-03 03:26:52
Subject: Amrecover: Header Problem
From: "Weiwei Luo" <weiwei AT blueprint DOT org>
To: amanda-users AT amanda DOT org
Date: Thu, 3 Jul 2008 12:50:45 +0800
Hi,

I'm receiving an error concerning the header when I run extract in amrecover with the windows client. I have no problems with the dump. And amrecover itself seems to be working alright. No problem with Linux clients when doing recover. The error occurs when I run the extract command on Windows (windows client 2.5.2p1). The message displayed is as follows:

amrecover: strange amanda header: "AMANDA: FILE 20080703010001 web2.blueprint.org "C://cygwin/music"  lev 1 comp N program /bin/tar
To restore, position tape at start of file and run:
        dd if=<tape> bs=32k skip=1 |        /bin/tar.exe -f - ...

"
amrecover: Expected: "lev"  Actual: "<null>"
WEIRD file
amrecover: bad header
Extractor child exited with status 1
*****************************************************************************
I use  dd if=<filename> bs=32k count=1  to check and compare the file headers, but they looks normal...

The windows backup file header:
AMANDA: FILE 20080630172611 web2.blueprint.org "C://cygwin/music" lev 0 comp N program /bin/tar
To restore, position tape at start of file and run:
dd if=<tape> bs=32k skip=1 | /bin/tar.exe -f - ...


The linux backup file header:
AMANDA: FILE 20080626010001 web1.blueprint.org /var/www/html lev 0 comp .gz program /bin/tar
To restore, position tape at start of file and run:
dd if=<tape> bs=32k skip=1 | /usr/bin/gzip -dc | /bin/tar -xpGf - ...


Thank you in advance! (Not very familiar in using mailing list...Thanks  Dustin and Jean who answer my previous question... )

Regards,
Weiwei
<Prev in Thread] Current Thread [Next in Thread>