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

  • 0

I am moving my sites from my old host to you guys

If that is the case, all you need to do is to submit a support ticket and request assistance. One of the ChilliWeb administrator will help you with that.

How can I do this myself? (not recommended)

If you are moving away from a host who does not give you cPanel, then the only way to move your site is by uploading and downloading the files manually with a tool such as FTP. You can also request a .CSV or .SQL backup of your databases. You need to contact your soon-to-be-ex hosting company for detailed instructions.

If you are moving from a host who uses cPanel to another cPanel account, please follow these instructions:

  1. Login to your cPanel and click the "Backup" icon.
  2. Click the "Download a Home Directory Backup" button. This will backup all of your email accounts and files.
  3. Click the "Download a MySQL Database Backup" button. Click on each database individually. This will backup each of your databases.
  4. Click the "Download Email Forwarders" button. Click on each domain and subdomain individually. This will backup each of your Email Forwarders.
  5. Click the "Download Email Filters" button. Click on each domain and subdomain individually. This will backup each of your Email Filters.

or if you prefer:

  1. Click the "Download or Generate a Full Backup" button. This will backup all of your email accounts, files, and MySQL databases.
  2. Leave the drop down on Home Directory and be sure to have a valid email address in the second box. Leave the remaining boxes empty.
  3. Click the "Generate Backup" button and wait for an email confirmation to arrive.
  4. Open the email which confirms your backup. Inside it tells you the name of your backup file.

Load it at ChilliWeb:

  1. Head to ChilliWeb and submit a support ticket requesting the transfer. We need to know the name of your backup file, and please tell us the file is saved in your Home directory.
  2. Wait for a reply from our administrators that the task is complete.
  3. Once we reply, check our work by visiting your temporary URL (Some sites will not be fully functional when using this temporary URL.) To make the site 100% functional, you must change the nameservers of your domain to the name servers ChilliWeb provides in your welcome email.
  4. All done! You may repeat this process for any more sites you wish to move.

Getting your database to work after restoring it

After you have restored your database, you might get an error when trying to view your webpage. Examples:

Error establishing a database connection
or
Warning: mysql_connect(): Access denied for user: 'user1_name1@localhost' (Using password: YES) in /home/mynick/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 your website cannot communicate with it. Now is time to assign a database username and reconfigure your website's database settings.

If that is the case, you will need to add the database user name manually, and assign it to a database.

You will also need to locate your database configuration file, on your website and make sure the database name, username and password are set correctly to this new account.

It is finally time to reconfigure your website's database settings.

ChilliWeb will always help you solve a database connection error, so please contact us via email or phone if you still have problems.


Was this answer helpful?

« Back

Powered by WHMCompleteSolution