[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-developers] restoring from qube2 backup



hi john,

>>1. I have a 7 meg .qub file I'm trying to restore on a windows machine.
>>2. I tried the perl script on it, and it didn't work - it left a 504 byte
>>output.tar.gz and exited with no message.
>
>that's just what it should do - strip all headers, and leave an out.tar.gz
>that you can unpack with tar -xzvf.

well, no, a 504 byte file is not what should be left from 7 meg.

sorry, read too fast. :|

stripheader.pl strips everything between $begin and $end. normally these vars have the following values:

my ($end) = "\%\%END_INDEX";
my ($begin) = "\%\%BACKUP_HEADER";

this should work for qube2 and raq2. on a raq3 there have to be other values.

if you look into your .qub file - can you see that the text part starts with %%BACKUP_HEADER and ends up with %%END_INDEX? if not, there is the problem. you can simply change the values to your needs - maybe the backup script wrote garbage into the .qub file?

Do you mean that gunzip can ignore the text headers that are on the file and
can directly unzip the qub file?

no, first strip the headers (with a working version of stripheader.pl, or with your editor, but i really would prefer the perl script) and then use gunzip. using gunzip directly will -not- work.

using gunzip is just to be sure... normally winzip works fine with all .gz files, but i had 1 or 2 cases where it didn't.

Is there a gunzip for windows I could find somewhere?

http://www.gzip.org

cya, jonas.


____________________________________________
Jonas Pasche
Technischer Support

webagentur Domke GmbH

Rheinstr. 3 - 64283 Darmstadt - Germany

Telefon +49 6151 17742-33
Telefax +49 6151 293173

http://www.domke.de

mailto:j.pasche@xxxxxxxx
____________________________________________