PDA

View Full Version : cPanel Backup


Jose
2003-08-31, 01:13 AM
Been reading the threads here at SB and am a bit uneasy about backups.

I wish to move one of my web sites over to my SB server. It's currently being hosted elsewhere. I used the cPanel to download a tar.gz backup of my site at the hosting place and wish to know if this will work. Is this how you do it? I am hoping it will as I want something simple that will work.

I have RH9, Cpanel and WHM. Thanks SB people.

charlie
2003-08-31, 13:34 PM
yup, downloading the tar will work.

i'll tell you what i do...

watch your drive space, but if you have plenty to spare like me (for now), i use whm to create a daily, weekly, and monthly backup of each site.

considering how often your want backups offsite, you can set up a simple ftp script to download and log the transfers to either your home or another server.

if you don't have many changes except from some files, then do a differential, or just write a simple script to only compress those files that change often and have those transferred.

the other thing i try to make sure i do is make those mysql backups. all in all it's not very difficult, you just have to judge first what do you want to backup, how often, where, and how. consider bandwidth usage, drive space usage, file changes, database files...

Jose
2003-08-31, 14:11 PM
Thanks for the reply. I was concerned about the restore part of the backing up. For now downloading the tar.gz will do. I guess it could get hairy if I have alot of accounts (home backups) to backup.

So to restore I just go to cpanel, backup, click on browse in the "Restore a Home Backup" , reference the tar.gz file on my local drive and then click on upload. Correct? I ask because you mention WHM, I am trying to do with with cpanel. WHM's way of doing it is a little too much for my knowledge level as of now. I hope to get up to par soon.

Jose
2003-09-01, 00:23 AM
Let me rephrase that last question. I believe I was not clear. Looks like I made a statement and not a question in that last thread.

"For those of you who have backed up home directories (not the full backup), has the restoration been successfull? Using the
'Restore a Home Backup" in the cpanel?

What I want to do is use a Home Backup from my old server to move my site to my SB server. I don't have root access to the old server, it's a hosting company.

chakorules
2003-09-05, 10:02 AM
I've done this:

I have a site:

www.gsubc.org

that is hosted at hostingmatters.com. They have Cpanel installed on their servers. I did a backup using Cpanel backup tool and downloaded "Today's backup".

Then, I came to my own server, made a new account called gsubc. I logged into Cpanel using the gsubc account I created in WHM. Then I used the same backup tool on my own Cpanel server here at server beach only I did a restore...

It worked like a champ! When I created the account at my own server at here at Sever Beach, I used the SAME user name. That way all my CGI Scripts, PHP Scripts path names matched. I did not have to reconfigure any of my scripts! It was soooooo kewl....

So to answer your questions, Ive done it, and it worked like a champ for me.

I also did each backup. Alias, database ones...etc.....

If you need help post back.

Jose
2003-09-05, 10:48 AM
chakorules

I also have my sites at Hostingmatters. I had a big problem moving my databases over and those with whom I was going to share my server (and expenses) have opted out. So for now, I will leave my sites at good old hostingmatters. Thanks for you help.

chakorules
2003-09-05, 11:13 AM
That's too bad. You seemed to run into people like that all the time, atleast I do. They are all TALK about someone else spending the money but when it comes down to it, they all chicken out. I've dealt with that all my life. Matter of fact I have a situation simliar, but not of a hosting issue.

Anyway. Just a reminder....the "Today's backup" does not include the database backup. You have to do that separatley using the database backup tool.

I re-created my database names the SAME names on my server here at the beach, with the SAME user names etc for each database...then I used the RESTORE a database feature in CPanel logged in as a user account. It went without a hitch.

Good luck

Infopro
2003-09-06, 10:46 AM
I have used the backup in cPanel and it works fine for smaller sites. Bigger ones had problems.
When I moved here I did use the WHM to move from one server to the other on most all of the accounts and that worked pretty good too. (two large accounts failed for some reason.)
I had to reset accounts cPanel themes to a new one, and set ownership of account after, but it really made things quite painless.