CPANEL backup TAR.GZ uncompresses under UNIX but not under W
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?
6 Replies
http://en.wikipedia.org/wiki/FileAllocationTable
> The maximum possible size for a file on a FAT32 volume is 4 GiB minus 1 byte (2^32-1 bytes).
I wanted to clarify something else for you, though:
@linodevirgin:
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.
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
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