Help - Search - Members - Calendar
Full Version: 10GB backup GZ file split into several pieces on other end?!
The Planet Forums > Operating Systems > Red Hat Linux
PimpRig
First, I was just wondering if this is normal behavior, a second, I want to know how to recombine and/or just unzip all of the backup which now spans across numerous files (sort of like a multi-rar set). The numbering scheme is just odd. I watched the transfer go through to 100% completion shortly before they decommissioned by previous server. When I went to go unzip the archive to get the sites ready for action again, I noticed the odd spanning of the large "sites" archive.

Thanks in advance for any help you can provide!

This is how the main archive looks now (with each file being roughly 2GB):

sites.01-May-2009.tar.gz
sites.01-May-2009.tar.gz.1
sites.01-May-2009.tar.gz.1.1
sites.01-May-2009.tar.gz.1.1.1
sites.01-May-2009.tar.gz.1.1.1.1
sites.01-May-2009.tar.gz.1.1.1.1.1
eth00
What generated the backups? Some older systems have 2Gb file size limits which may be the cause for that.

Have you tried to extra one of them? It may auto find the next archive or ask you for the next archive's name.
PimpRig
I tried a gunzip command and eventually it gave me an "end of archive" error. Could have been a crappy command/flags though since I dont know Linux well.

THe old server had Red Hat 5 Enterprise, as does the new server as well. While watching the wget ran from new server to retrieve the 10GB file, it slowly climbed it's way to 100% completion without a hitch.
James Jhurani
QUOTE (PimpRig @ May 19 2009, 04:32 PM) *
I tried a gunzip command and eventually it gave me an "end of archive" error. Could have been a crappy command/flags though since I dont know Linux well.

THe old server had Red Hat 5 Enterprise, as does the new server as well. While watching the wget ran from new server to retrieve the 10GB file, it slowly climbed it's way to 100% completion without a hitch.



If they are indeed split, you would use cat to recombine them.

assuming sites.01-May-2009.tar.gz is the first and sites.01-May-2009.tar.gz.1.1.1.1.1 is the last... it would be.

cat sites.01-May-2009.tar.gz.1 >> sites.01-May-2009.tar.gz
cat sites.01-May-2009.tar.gz.1.1 >> sites.01-May-2009.tar.gz
cat sites.01-May-2009.tar.gz.1.1.1 >> sites.01-May-2009.tar.gz
cat sites.01-May-2009.tar.gz.1.1.1.1 >> sites.01-May-2009.tar.gz
cat sites.01-May-2009.tar.gz.1.1.1.1.1 >> sites.01-May-2009.tar.gz
tar -zxvf sites.01-May-2009.tar.gz

Make sure you keep a copy of your original sites.01-May-2009.tar.gz, just in case this doesn't work.
PimpRig
Thanks alot! Will give it a shot shortly and report back one way or the other.
PimpRig
OK, this was the result after all the Cat commands. It gets to a file named lpsvdiresources.rar and then errors out. All the cat commands went very well and the unzip got further this time. ANy other suggestions? icon_smile.gif

gzip: stdin: invalid compressed data--format violated
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now

Is it possible to change the extension for each and unzip them as a stand alone file archive?

Thanks!
PimpRig
No other suggestions? Bueller? Bueller?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.