Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Fri Feb 27, 2009 12:26 pm 
Offline
Newbie

Joined: Fri Feb 27, 2009 10:11 am
Posts: 3
I have this 4GIG backup of my site from my shared host created by the CPANEL.
When I decompress I see that inside this TAR.GZ there is something called homedir.tar
This is basicly all my html files from public_html
I dont know why they put 1 TAR inside another TAR.

The problem is decompressing homedir.tar under UNIX works and gets all my subdiretories but not under Windows. I tried WINZIP, WINRAR, 7-ZIP. It gives errors about corruption of the arichive, or simply doesn't show the files.

Could there be a specific reason for this?


Top
   
 Post subject:
PostPosted: Fri Feb 27, 2009 1:44 pm 
Offline
Junior Member

Joined: Wed Mar 05, 2008 8:15 pm
Posts: 21
Website: http://www.slaxer.com
It's possibly choking on the size of the archive. You could try zipping it up on Linux, then transferring it to Windows that way.


Top
   
 Post subject:
PostPosted: Fri Feb 27, 2009 5:31 pm 
Offline
Senior Member

Joined: Fri Dec 07, 2007 1:37 am
Posts: 385
Location: NC, USA
Is your windows system using FAT32 by any chance?

http://en.wikipedia.org/wiki/File_Allocation_Table
Quote:
The maximum possible size for a file on a FAT32 volume is 4 GiB minus 1 byte (2^32-1 bytes).


Top
   
PostPosted: Fri Feb 27, 2009 6:24 pm 
Offline
Junior Member

Joined: Sun Nov 16, 2008 4:35 am
Posts: 38
Others have hit the likely cause: The archive is probably too big for Windows to handle on a FAT32 filesystem. I would double check that you're using the latest version of the software you're trying to extract it with, though, just to be sure -- if it's more than a few years old, it's possible it can't handle >2 or >4GB files regardless of whether you're using FAT32 or NTFS.


I wanted to clarify something else for you, though:

linodevirgin wrote:
I dont know why they put 1 TAR inside another TAR.


They don't. .tar.gz isn't one extension -- it's two. This is a "gzipped tarball".

tar is an uncompressed archive format originating when the primary way of moving lots of data around was magnetic tape (tape archive). These days, in practice, it doesn't do very much besides copy the contents of all your files into one big file, usually with the extension ".tar".

Then a compression program -- typically gzip (.gz) or bzip2 (.bz2) -- is used to compress that file (though typically on-the-fly, rather than writing out a .tar and then compressing it separately).

From the perspective of winzip/winrar/7zip, what you've got is a tar file inside a gzip file, and that's exactly how they present it. It's not very user-friendly, but it's technically correct.


Top
   
 Post subject:
PostPosted: Sat Feb 28, 2009 3:33 am 
Offline
Newbie

Joined: Fri Feb 27, 2009 10:11 am
Posts: 3
I am using NTFS.

I think its a thing from CPANEL. They upgraded to CPANEL 11 and it does that from now on when creating backups.

I know after I decompress the .GZ I get the TAR, but then inside that TAR there is all these directories (bandwidth, counters, cp, dnszones, mysql, etc, etc) from cpanel and something called homedir.tar

homedir.tar suppose contain all my html files. It appears as 5GIGs. 5 GIGS should be OK with NTFS

This homedir.tar is what craps out in Vista or Win2K (Yes I use a dinosaur) however it seems fine under Unix.


Also if I open homedir.tar in WINRAR first thing I notice is a directory named "." (without the quotes) I can go inside that directory, it has two directories and its missing all my html. Their suppose to be at that level.

I read somewhere something about CPANEL upgrade that does this in an improper way. Not sure what I should be more mad at, CPANEL or WINDOWS :)


Top
   
 Post subject:
PostPosted: Sat Feb 28, 2009 10:05 am 
Offline
Senior Member
User avatar

Joined: Mon Jul 21, 2008 1:26 pm
Posts: 171
Website: http://www.rejecttheherd.net
Location: Seattle
I used to run into the Windows crapping out on tarballs all the time at work, then I was able to run Linux as my Corp Workstation, solved the problems 8)

Anyway you'll run into a number of issues with extracting Unix and Linux tarballs on NTFS, easiest route to go is if possible keep it on a *nix box ;)

_________________
Image
Where "Thought Crime" is commited
http://www.rejecttheherd.net


Top
   
 Post subject:
PostPosted: Sat Feb 28, 2009 10:12 am 
Offline
Senior Member
User avatar

Joined: Sat Oct 16, 2004 11:13 am
Posts: 176
You could try GNU tar/bzip2/gzip:

http://gnuwin32.sourceforge.net/


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group