Google Answers Logo
View Question
 
Q: Cobalt Raq2 ( Answered,   3 Comments )
Question  
Subject: Cobalt Raq2
Category: Computers
Asked by: billshaw-ga
List Price: $2.00
Posted: 21 Sep 2002 12:51 PDT
Expires: 21 Oct 2002 12:51 PDT
Question ID: 67618
I need a list of programs that can access a .raq file

Request for Question Clarification by alienintelligence-ga on 24 Sep 2002 01:36 PDT
Hi billshaw,

For which computer platform and operating system?

thanks,
-AI

Clarification of Question by billshaw-ga on 24 Sep 2002 07:47 PDT
I am running on xp and a amd 1ghz processor.

The Raq file came from a cobalt Raq2 web server but it is too larger to process

hope the helps
Thanks

Request for Question Clarification by duncan2-ga on 19 Oct 2002 09:35 PDT
Hi Billshaw,
I noticed that this question hasn't been given a final answer.  If
you're still working on that .raq file, can let me know what you're
trying to do with it?  Unpack it?  .raq files, like Cobalt Qube's .qub
files, are essentially compressed TAR archive files with a special
header.
Answer  
Subject: Re: Cobalt Raq2
Answered By: duncan2-ga on 20 Oct 2002 19:10 PDT
 
Hi billshaw,

.raq files, as you probably know, are backup files generated by the
Cobalt Raq.  Like their counterparts, .qub files from Cobalt Qube
devices, these backup files are actually compressed tar files that
have a proprietary Cobalt file header.

.raq files are normally handled by the Cobalt Raq device itself, using
the management tools that come with it.  But they can be pulled apart
manually using a combination of tools.  Due to the fact that Raq and
Qube devices run Linux, the easiest methods of opening .raq files are
using Linux/Unix-based utilities.

There have only been a few posts about this topic, mostly on the
cobalt support mailing lists and newsgroups.  Most of the Raq articles
point to a PERL script that removes the header from the file and
prepares it for unzipping and untarring.  This script is available in
several places on the 'net, and is mentioned here:

How To Rip Apart A .raq File
http://www.cobalthosts.com/ripraq.php

The script link on that page leads to the original, here:
ftp://ftp.cobaltnet.com/pub/users/jeffb/scripts/stripheader.pl 

(Since the PERL script is brief, I'll reproduce it here, as it appears
from this listserve posting:
http://list.cobalt.com/pipermail/cobalt-security/2000-July/000482.html
)

#!/usr/bin/perl
# Jeff Bilicki <jeffb@cobaltnet.com>
# 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;

After running this script you'll be left with a standard gzipped Tar
archive.  (Notice that the script simply looks for material between
"BACKUP_HEADER" and "END_INDEX", which is actually the gzipped-tar
archive file).  Using the standard Unix utilities (tar and gzip), you
can then open the archive and get to the files.

You mention that you're trying to get to these files from Windows. 
Well, you still can, but it's a little bit trickier.  You can get PERL
for windows and even get tar and gzip to run under Windows using
Cygwin.  (Cygwin is a great Unix environment for Windows.  It was
bought by Red Hat a few years ago.  It's completely free, and
available here: http://www.cygwin.com/ )

If Cygwin / PERL is not an option for you, you'll have to open the
file by hand.  To do this, you'll need a text editor capable of
working with really big files and a utility to unzip/untar the file. 
As the commenter below suggested, VIM for Windows is a good choice for
working with large files.  It's also very convenient to use the
shareware Winzip Utility (http://www.winzip.com ), which can open TAR
and GZIP files.

Using the text editor, you'll need to remove the header and footer,
much as the script above does.  Then rename the file to end in .TGZ so
that Winzip will read it as a gzipped-tar file.

Search Strategies:
I searched through Usenet postings via Google and Google Groups.
Search terms used included ".raq file" and "unofficial cobalt support"

Additionally, you may find the Sun Cobalt Online Knowledge Base pages
informative:
http://cobalt-knowledge.sun.com/

I hope that you find this information useful.  Regards,
Duncan2-ga
Comments  
Subject: Re: Cobalt Raq2
From: tusker-ga on 25 Sep 2002 04:37 PDT
 
gvim for windows is a very light weight windows application, and is
very good for reading very large files.

Check it out at http://www.vim.org/download.php#pc

If this is not suitable, try either TextPad or UltraEdit for their
large file capabilities.
Subject: Re: Cobalt Raq2
From: tusker-ga on 25 Sep 2002 04:41 PDT
 
From further research, it seems as though the .raq file is a backup
image for your raq server.

You can restore that backup if you wish using the personal profile
section of the RAQ web based administration.

Not sure what else you want to do with the .raq file, though finding
out the format of the backup, may let you restore it on a file by file
basis.
Subject: Re: Cobalt Raq2
From: billshaw-ga on 20 Oct 2002 11:48 PDT
 
There are important files in this backup file any help accessing this
file will alway be helpful.

Thanks

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy