-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

>>Nicki Messerschmidt
>John R. Jackson, Technical Software Specialist, [EMAIL PROTECTED]


>>Now, when I try to restore from this tape Amanda fail, because the
>>file it retrievs is bigger than 2Gb ...
>The first question is, why are you trying to bring the file back
>from tape to disk?  Why not use the amrestore -p option to pipe the
>output directly from amrestore into your restore program (whatever
>that is)?

I discovered the problem while using amrecover and this exited with
something like: An error occured: A child exited with status: 2
I then tried to follow the procedure which I thought amrecover would
run:
1. grep the index files for the correct tapes
2. load the correct tapes
3. extract the appropriate image
4. run tar to retrieve files

And while trying point 3 the error occured and amrestore exited with
status code 2, due to the known 2 Gb limit.


>>... If it were possible to recover the zipped package
>>from the tape via amrestore or amrecover the problem would be
>>partially solved.
>As Bernhard Erdmann said, the amrestore -c option will leave the
>file in compressed form.  If it's a tar format image, you should
>then be able to use tar on it directly.

This could really solve my problem until me packed images would not
get
past the 2 Gb limit, but I really think about upgrading to kernel
2.4.x
and reiserfs... *smile*

>>I don't know how to retrieve files from tape via dd or tar
>>manually!
>As Joshua Baker-LePain said, using dd to read an Amanda tape is
>covered in docs/RESTORE.  It's also covered in:
>  http://www.backupcentral.com/amanda.html
>You can't use tar directly on an Amanda tape file, but that's all
>described in the above documentation.

Thanks! I will read the manual... *grin*

>>The question I have now is: Why does amanda unzip the file while
>>restoring from tape and does this not while anpacking/taring?
>It uncompresses the file because many backup programs cannot deal
>with compressed images (tar is the exception).  I don't understand
>the last part of your question.

The last part of my question covers amanda. I wonder why amrecover
calls
amrestore without the -p option (which, as I read passes the output
to
stdin of the extraction program). Because if this would be done
amrestore
won't exit with status code 2! I hope you understand now, what I
mean!

Cheers
Nicki

- --
Linksystem Muenchen GmbH                          [EMAIL PROTECTED]
Schloerstrasse 10                           http://www.link-m.de
80634 Muenchen                              Tel. 089 / 890 518-0
We make the Net work.                       Fax 089 / 890 518-77

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.5.3 for non-commercial use <http://www.pgp.com>

iQA/AwUBOwvMOkWtY0lMmhdQEQItwACg21Y50u7CX1uvU7c13jQxmr+IObMAoLD/
2oulj5cEc5tX80DHmbXcmwwR
=Vu2C
-----END PGP SIGNATURE-----


Reply via email to