This cPanel feature is very useful for your website. We can use the backup function to transfer our website to the new host. If we are making a change to the website's files or database, we can create a backup of the website. So that if something wrong happens to the site in the future during the change, we can always restore it to how it was before. If you have a problem with the hosting provider, you will always have a copy of the website.
cPanel Backup creates a compressed copy of the entire website or part of your website. There are two types of backups in your cPanel backups.
Full backup #
complete creates a compressed copy of the entire website and cPanel account. Includes all files you own or have access to. It also includes all databases, email accounts, email lists, subdomains, etc.
Full backups cannot be restored via the cPanel interface. It is used only when transferring the current host to the new host. You need to upload this zipped backup to your home directory and ask your hosting provider to restore it.
To download the full backup of your website, follow these steps -
Step 1 - Open Backup cPanel by clicking Backup from the Files section in cPanel Home.
Above, you will find the full backup as shown below -
Step 2 - Click on the big blue button that says “Download a full website backup” and you will be taken to this screen.
Step 3: Select the backup destination, leave it as the root directory. This will create a backup in your home directory, from where you can download it later. Enter the email address, to which you want to be notified, when the full website backup is ready to be downloaded. As full website backup takes time to generate.
Step 4: Click Generate Backup and a Backup in Progress message will be displayed.
To download the full website backup, you can always return to this page after receiving your email notification and you will see a screen similar to the one shown below.
Download the backup by clicking the backup link.
Partial backup #
partial The partial backup is created and can be downloaded immediately. With partial backup, you can download your home directory, databases, email forwarders, and mail filters separately. You can restore downloaded backups at any time by uploading them to cPanel using the same interface.
To use this feature, open the Backup section using the same method used above in step 1, scroll down and you will see a similar interface shown here, the interface will vary based on your domain and data.
You can click the Root Directory button to download the root directory backup. To restore the home directory, you can upload the same file in the right interface on which Restore a home directory backup is written.
You can do the same with databases, email forwarders, and email filters.