Creating a Website Backup in your cPanel
Full Backup or Partial Backup
Before making any major changes to your site, it is recommended that you backup your website files and any databases used by your website. You can either create backups via cPanel or download files via FTP and download database backups separately (as described below). If your account is over 3GB in size, please see our article on using FTP to backup your site files. In cPanel, using the Backup Wizard, there are two different ways you can generate backups of your account. You can generate and download one backup file of your entire account, which includes all of your files and databases or you can create and download backups of these items individually. If you have software such as WordPress, your database is updated most of the time while your files generally are not changed. This means that you can download backups of your database more often than downloading the full website backup, thus saving yourself time and disk space when storing the backups. We'll start off below by showing you how to generate the full backup, and then we'll explain how to download individual backups of your files and your databases.
Creating a Full Backup of your cPanel Account
A full backup will create a compressed file (e.g.: /home/exampl3/backup-4.3.2018_10-53-25_exampl3.tar.gz) of your account that includes all of your files, databases, email forwarders, and any emails stored on the server. Once the full backup is created in cPanel, you can then download the backup to your computer. Generating the one backup file may take longer, but it ensures you have a copy of everything in your account. While this may sound great, if your website is fairly large, downloading these backups on a regular basis takes a lot of time and can take up a lot of disk space.
First, log into your cPanel and click on the Backup Manager under the Files sub-header:
Next, click on cPanel Backup Wizard:
Then, click on Back Up
And then Full Backup:
Then click on Generate Backup:
The cPanel will begin to backup your website, which places a compressed version of your files and databases in your account. Once it is complete, you will receive an email with the link to download your backup. It is also available in your cPanel for download in the "Full Backup" section:
Creating a Partial Backup of your Website
If you just want to backup your database, the files in your home folder, or your email forwarders & filters, you can do them individually.
First, log into your cPanel and click on the Backup Manager under the Files sub-header
Next, click on cPanel Backup Wizard:
Then, click on Back Up
On the next screen, instead of doing a Full Backup, on the right side you can choose to backup just your Home Directory, MySQL Databases, or Email Forwarders & Filters:
Backup your Home Directory:
Click on Home Directory, and a box will appear that will allow you to save the zipped file anywhere on your computer. This will backup all files in your home folder (which includes your public_html directory).
Backup a MySQL Database:
Select the MySQL Databases option and a list of databases on your account will appear. Select the database that you want to save and a box will appear so you can save the database to your computer.
Backup your Email Forwarders & Filters:
Select the Email Forwarders & Filters option and a list of forwarders and filters on your account will appear. Select the forwarder and/or filter that you want to save and a box will appear so you can save the partial backup to your computer. Congratulations, now you know how to create a backup of your website using cPanel!