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

Re: [cobalt-security] Qube 2 OSUpdate 3.0



try this as it worked for me, because the file is just a tar archive so you
can restore your backup striping the header code of Cobalt. just create a
file called stripheader.pl (with joe, vi, pico, wathever you use) from yer
shell and give execute permisions to the file and after that use
./stripheader.pl nameofthebackupyouwannarestore.qub

code inside the file:
#start of file
#!/usr/bin/perl
# Jeff Bilicki <jeffb@xxxxxxxxxxxxx>
# removes the header out of a Qube 2 and RaQ 2 backup file

use strict;

my ($infile);
my ($outfile) = "out.tar.gz";
my ($end) = "\%\%END_INDEX";
my ($begin) = "\%\%BACKUP_HEADER";

if (@ARGV) {
$infile = $ARGV[0];
} else {
print "usage: stripheader.pl <file name>\n";
exit 1;
}

open (INFILE, $infile) or die "Can't open: $!\n";
open (OUTFILE, ">$outfile") or die "Can't open $!\n";

while (<INFILE>) {
if ( /^$begin/ ... /^$end/ ) {
next;
} else {
print OUTFILE $_;
}
}
close(INFILE);
close(OUTFILE);
exit 0;
#EOF!

good luck!
Oriol Soler
Tech Dept. Conecta 97

----- Original Message -----
From: "Rob Rosenberger" <junkmail@xxxxxxxxxxx>
To: <cobalt-security@xxxxxxxxxxxxxxx>
Sent: Thursday, July 27, 2000 6:21 AM
Subject: RE: [cobalt-security] Qube 2 OSUpdate 3.0


> Jeff, my Qube2 crashes during restores.  I mean a hard crash where you
gotta
> hit the power button.  Cobalt sent me a spare-in-the-air, which I promptly
> screwed up by putting 3.0 on it.  Day 16 has now passed with no ability to
> restore my critical business files.  I DESPERATELY need a fix so I can
> restore files -- or I need an alternate method to pull the contents from a
> .QUB file.  HELP!
>
> Rob
>
>
>
> _______________________________________________
> cobalt-security mailing list
> cobalt-security@xxxxxxxxxxxxxxx
> http://list.cobalt.com/mailman/listinfo/cobalt-security
>