Hello everybody,

since some time I've been testing amanda-3.3.0 but I'm still experiencing some 
troubles with using amrestore.

First of all: Backups to virtual tapes do run fine and extracting backups via

dd if=/backup/tapepools/DailySet/DailySet-15/00010.MYCLIENT._var_lib_amanda.0 
bs=32k skip=1 |gzip -dc |tar xvf - ./

as specified in the header of the tapefile brings the correct and expected 
result.
However, when I try to use amrestore the way I used to run in amanda-version < 
3.0.0, the command ends with some error messages I do not understand.

For example: 

backup@MYSERVER:/backup/tapes/raid001/test$ amrestore -p 
/backup/tapepools/DailySet/DailySet-15/00001.MYCLiENT._etc_amanda.0 | tar xvf - 
./
Reading from 
'/backup/tapepools/DailySet/DailySet-15/00001.MYCLIENT._etc_amanda.0'
split dumpfile: date 20110801003001 host MYCLIENT disk /etc/amanda part 
1/UNKNOWN lev 0 comp .gz program /bin/tar
filter stderr: 
filter stderr: gzip: stdin: unexpected end of file
ERROR: /bin/gzip exited with status 1
tar: This does not look like a tar archive
tar: .: Not found in archive
tar: Exiting with failure status due to previous errors 

The tar-errors are follow-ups of the original gzip error, I guess, after 
googling some, I did not really find some threads or solutions to solve this 
problem, maybe I'm missing something? Do I have to use some other options? I 
tried -h and some other stuff, but it didn't work :/

Testing the tapefile on a system with the old c-based  amrestore, restoring 
works just fine, so I don't think the reason is the tapefile.

I know that I can still use dd but actually I was quite happy with amrestore, 
so I'd like to keep for my automated restores :)

If you need some more information please feel free to ask 

/Michael

-- 
Michael Müskens

Rule #18: It's better to seek forgiveness than ask permission.


Reply via email to