Hi,

I managed to build a statically linked version of amrestore - very handy
when your tape server crashed and you have to grab it off your tapes
using Tom's Root Boot 1.7.205 (http://www.toms.net/rb/):

gcc -o amrestore.static amrestore.c -I../common-src -I../tape-src
-imacros ../config/config.h -L/usr/lib/amanda -lamanda -lm -lreadline
-ltermcap -lnsl -lamtape -static

But beware: due to some odd reasons, Tom's stripped down dd fails on
some DDS-2 drives. Use a statically linked dd of your favorite
distribution if you don't use amrestore.static. And do use the latest
version of restore.static (at the moment 0.4b20) to get your files from
your dump images.

Reply via email to