If you want to perform the migration of your website from one server to another, then it can easily be done through accessing your cPanel account.
There are two main parts of the procedure:
- Backing Up Your cPanel Account
- Restoring Your cPanel Account
Backing Up Your cPanel Account:
For you to perform account transfer, first you need to back up your most important information in your old cPanel account first. Use the Partial Backup directions as given below (skip the step 5).
- Log into your cPanel account.
- Click on Backup Wizard in the Files section of cPanel.
- Click Backup.
- Choose Full Backup or Partial Backup.
Choose a Full Backup if you want to make sure you have 100% of your account data backed up.
Be aware that you cannot restore a full backup from your cPanel account. Only the server owner can restore full backups. However, if you want to keep a copy of your account offline (which we do recommend to protect against your site getting hacked) you should use a full backup as well as a partial backup (if you also want to be able to restore data yourself in cPanel).
Choose a partial backup if you want to be able to restore the backed up data using your cPanel account. If you decide to make a partial backup, go to step 6 directly.
Partial backups back up most of your data, but there are some features that aren't backed up like Mailman mailing lists or PostgreSQL databases (if you have any).
- For creating a full backup, click the Full Backup button and follow these sub-steps:
In case there are any available full backups to download (such as backups you made manually in the past), you can click their name to immediately start downloading them to your local machine. If this is all you need, you can stop now.
If you prefer to create a new full backup, you need to start by picking the backup destination.
Home Directory is the default option. This creates a backup into your home directory on the current server.
Make sure you have enough disk space in your hosting account if you plan to back up locally. Due to the way backups are made, you may need 75-125% more disk space than the current total size of your hosting account temporarily. The final backup will be compressed and the interim files will be deleted, so it probably won't take up as much space as your account does normally.
FTP, SFTP, and Secure Copy (SCP) all will send a copy of your backup to a remote location but due to the way backups are handled, you may still need 75-125% more disk space than the current total size of your hosting account temporarily. Once the transfer is complete, that space will be free again.
Enter an email address. You'll be notified by your server at this email address once the backup is complete (or if there were unrecoverable errors).
Alternately, you can choose to not have the system send you an email when the backup is complete by clicking the radio button next to this option.
Once you are certain the settings are correct, click Create Backup to immediately start a full backup process. Be patient, this may take time to complete.
When the full backup is complete, you will be able to come back to this full backup screen to download your backup if you chose to save the backup in your home directory. Alternately, you should be able to find the backup in your remote backup location if you used FTP, SFTP or SCP. You're now done unless you'd like to also create a partial backup.
- For creating a partial backup that you can restore from within your cPanel account, follow the following sub-steps:
There are three types of partial backups that you can make and all of these can be restored individually later from your cPanel account. The first is the home directory. This backup stores all of the files found in your /home/USERNAME/ directory that your cPanel user owns or is permitted to access. This includes email, web files, web statistics and some account settings. Click the Home Directory button and then click it again on the next screen in order to download a compressed copy of your home files to your local machine.
If you want to backup your MySQL or MariaDB databases, click the MySQL Databases button. This will take you to a screen listing each of your account's databases. Click on their names to download a compressed copy of each one. You cannot back up your PostgreSQL databases if you have any. Only full backups get those databases.
Finally, you can click on Email Forwarders & Filters to download the email forwarder (alias) and mail filter rule files for each domain in your account. Click each domain or filter file listed to download them to your local machine.
Alternate Backup Option
If you find the backup wizard to be needlessly busy and you want to quickly manage your backups, you can use the standard Backup feature in the Files section of cPanel. This combines full and partial backups and restores into a single screen.
Restoring Your cpanel Account:
Once you have partial backup files, you can restore your account to the new server. Keep in mind that your cPanel account must already exist on the new server if you want to restore your account data.
- Log into your cPanel account.
- Select Backup Wizard in the Files section.
- Click the Restore button.
- Choose the type of backup to restore by clicking the appropriate button.
- Upload the compressed backup by selecting it and clicking Upload.
You won't be asked to confirm your choice when you click Upload, so make sure you really want to restore the backup before clicking it. The restore will start immediately.
Restoring very large cPanel backups may take a long time and could possibly fail. If you are running into issues restoring your backups, please contact your hosting provider for assistance. If you are a HostTechno customer, reach out to us at firstname.lastname@example.org.
- Once the backup is restored, click on Back Up or Restore from the Steps: bar at the top of the screen. This will return you to the main backup wizard screen. Go back to step 3 and follow the directions again to restore one of the other backup types if you have any.
If you prefer a streamlined process for restoring backups, you can choose Backups from the Files section of cPanel (instead of Backup Wizard). This will provide a single screen which contains all of the backup restoration file upload items.