I preffer to use the amrecover, which is interactive and if amanda needs
to look for chunks, amrecover will do it for you automaticly.
mario
Josh Kelley wrote:
I checked the wiki and Google and couldn't find an answer. How do I
restore from files on a holding disk if the dump has been split across
multiple chunks on the holding disk?
I have the following files:
alva._home.4 alva._home.4.2 alva._home.4.4
alva._home.4.1 alva._home.4.3 alva._home.4.5
I can restore from alva._home.4 using amrestore as normal:
amrestore -p alva._home.4 | tar xvf -
But that's obviously only part of the backup.
If I try to concatenate all of the files together, as the wiki
suggests when using amrestore to restore from a tape:
for i in `ls -1 alva._home.4*`; do dd if=$i >> wholedump.0; done
then run amrestore on wholedump.0, amrestore successfully processes
the data corresponding to alva._home.4 then gives the following
errors:
tar: Skipping to next header
gzip: stdin: invalid compressed data--crc error
gzip: stdin: invalid compressed data--length error
What's the correct procedure for restoring from holding disk files in this case?
Thank you.
Josh Kelley
--
Mario Silva
Systems Administrator
Supreme Court of New Mexico
Judicial Information Division
2905 Rodeo Park Dr. East, Bldg. #5
Santa Fe, NM 87505
Phone: (505) 476-6959 / Mobil: (505) 660-1026
Fax: (505) 476-6952
Website: http://www.nmcourts.gov
mailto: [EMAIL PROTECTED]
LEGAL DISCLAIMER:
The content of this data transmission is not considered as an offer, proposal,
understanding, or agreement unless it is confirmed in a document signed by a
legal representative of Supreme Court of the State of New Mexico or the
Judicial Information Division. The content of this data transmission is
confidential and it is intended to be delivered only to the addresses,
therefore, it shall not be distributed and/or disclosed through any mean
without the original sender's previous authorization. If you are not the
addressee you are forbidden to use it, either totally or partially, for any
purpose.
AVISO LEGAL:
El contenido de este mensaje de datos no se considera oferta, propuesta o
acuerdo, sino hasta que sea confirmado en documento por escrito que contenga
la firma autógrafa del apoderado legal de La Suprema Corte del Estado de Nuevo
Mexico o de la Division de Informatica del Estado. El contenido de este mensaje
de datos es confidencial y se entiende dirigido y para uso exclusivo del
destinatario, por lo que no podrá distribuirse y/o difundirse por ningún medio
sin la previa autorización del emisor original. Si usted no es el destinatario,
se le prohíbe su utilización total o parcial para cualquier fin.
begin:vcard
fn:Mario Silva
n:Silva;Mario
org:Supreme Court of New Mexico;Judicial Information Division
adr:;;2905 Rodeo Park Dr. East, Bldg. #5;Santa Fe;NM;87505;USA
email;internet:[EMAIL PROTECTED]
title:Systems Administrator
tel;work:(505) 476-6959
tel;fax:(505) 476-6952
tel;cell:(505) 660-1026
x-mozilla-html:TRUE
url:http://www.nmcourts.gov
version:2.1
end:vcard