How do I backup / restore / move from one cPanel host to another?

How do I move my sites from my old host to you guys?

If your old host is using cPanel you are in luck! If they aren't, the only way to move your site is by uploading and downloading it all manually using a tool such as FTP.

Steps to backup and move your site
1.First, login to your cPanel and click "backup" (make sure you are using x skin)
2.Once in backup, click "download a home directory backup." This will backup all of your email accounts, files, and a few other things. It will not backup your MySQL databases.
3.If you have any MySQL databases, you will download them now.
4.If you have any Aliases/Filter Backups, download them.
5.Congratulations, you have backed up your entire site and its now time to restore it.
6.Login to your cPanel with us, click "backup"
7.Under "Restore a Home Backup," click "Browse" and find the home backup you have already downloaded and click on upload.
8.Do the same for your MySQL databases.
9.Do the same for your Aliases/Filters.
10.You are done with everything and your site has been restored. Now, repeat this process for any more sites you wish to backup.

Getting your database to work after restoring it

After you have restored your database, you will get an error when trying to view it's page.

Example Error:

Warning: mysql_connect(): Access denied for user: 'bakerpe_osc1@localhost' (Using password: YES) in /home/bakerpe/public_html/catalog/includes/functions/database.php on line 19
Unable to connect to database server!

What this means is that your database now exists in cPanel, but it has no username and password assigned to it. To assign a username and password, login to your cPanel and click "MySQL Databases." Scroll down till you see the below.

  • Email, SSL
  • 14000 Users Found This Useful
Was this answer helpful?

Related Articles

Accessing Web Disk

Web disk (also known as Web Dav) is a drag-and-drop interface which allows you to access your...

Apache Error Logs

When you check the error logs, you can see many things.Some things you can ignore:File does not...

Apache modules that are on all of our shared servers

core.c mod_authn_file.c mod_authn_dbm.c mod_authn_dbd.c mod_authn_default.c mod_authn_alias.c...

Can I password protect directories?

To password protect directory: Wait! Why read this when you can watch the movie tutorial...

CGI center

The following CGI Scripts are pre-installed and ready to use on your account: Simple CGI Wrapper...