I just recently left my webhosting company, and uploaded my tar.gz backup file to my new webhosting company, but I'm not sure where to go from there...How do I unzip this file, and have everything go back to where it's supposed to? Or is that not possible. I'm sorry. I have never done this sort of thing, so I'm not really sure what to say. Any help would be greatly appreciated, thankyou!
BTW I did a search for tar.gz, but didn't really find any information about it either...
What's in the tar file? Just html/php files and graphics? Or is this a whole dump of your site possibly containing databases and/or other services things?
If it's just plain files, here's what I'd do: First I assume you have SSH access to the new host. if not, you'll probably need to expand everything on another box and ftp it over.
If you have SSH, I'd make a new temp directory:
Copy the tar file into it (assuming you're in the directory with the tar file).
cp thisissomefilename.tar.gz ./footemp
(By expanding it in a new directory, we make sure we're not going to clobber anything of our own. Later we can move the expanded contents to where they belong.)
Expand the gz part:
Now untar it:
tar -xvf thisissomefilename.tar
(yes, it's possible to combine these steps through a pipe, but I've had cases there it "overflowed" and broke, and since I have no idea how big this tar file is, two steps will work just fine)
Now check out what's been created in the directory. You can now 'mv' or 'cp' the contents to where they belong on the new server. You probably will need to poke around since I swear every host seems to put their webroots in different locations...
Untarring it and putting everything back in it's place are two different things. Untarring it will dump everything in his home directory, but the backup restore in cpanel or the host would be able to restore the account totally and put mysql databases etc where they belong.