Backing up your website is essential to protect against data loss caused by server failures, hacking, or accidental deletions. Fortunately, cPanel offers multiple backup options, including full, partial, and database-specific backups. In this guide, you’ll learn how to create, download, and restore various types of backups using cPanel.
1. Types of Backups in cPanel
cPanel supports the following backup types:
-
Full Backup: A complete backup of your entire account, including website files, databases, emails, and settings.
-
Partial Backup: A backup of selected components such as:
-
Database Backup: An export of an individual MySQL database.
2. How to Create Backups in cPanel
A. Creating a Full Backup
-
Log in to cPanel via yourdomain.com/cpanel
or through the Imageleet Members Area → Product → Login to cPanel.
-
Navigate to the Files section and click Backup.
-
Under Full Backup, click Download a Full Website Backup.
-
Choose a backup destination:
-
Home Directory (stored in your account)
-
Remote FTP
-
Remote FTP (Passive Mode)
-
SCP (Secure Copy Protocol)
-
Optionally, enter an email address to receive a notification upon completion.
-
Click Generate Backup.
-
Once the process is complete, the backup will be saved in the selected location.
B. Creating Partial Backups
-
In cPanel, go to the Backup section.
-
Under Partial Backups, choose the component you want to back up:
-
Click the Download button next to the desired item.
-
The selected backup will be saved directly to your computer.
C. Creating a Database Backup
-
Go to the Databases section in cPanel and click MySQL Databases or phpMyAdmin.
-
Locate the database you wish to back up.
-
Use one of the following methods:
-
In phpMyAdmin: Click Export, choose the format (usually SQL), then click Go to download.
-
In cPanel's Backup section: Click the database name to download it.
3. How to Download Backups
-
Full backups stored in the Home Directory: Go to File Manager > backups
folder, then download the .tar.gz
or .zip
file.
-
Partial backups: These are downloaded immediately when selected.
-
Remote backups (FTP/SCP): Access the designated remote server to retrieve the backup files.
4. How to Restore Backups in cPanel
A. Restoring a Full Backup
Note: Full backups usually require assistance from your hosting provider to restore properly unless you have root access.
-
In cPanel, go to the Backup section.
-
Under Restore a Full Backup/cpmove File, click Choose File.
-
Upload the .tar.gz
or .cpmove
file.
-
Click Upload and wait for the process to complete.
B. Restoring Partial Backups
Restoring the Home Directory
-
Go to File Manager in cPanel.
-
Upload the .tar.gz
file.
-
Right-click the file and select Extract to restore your website files.
Restoring a MySQL Database
-
Go to MySQL Databases in cPanel.
-
Use the Import option to upload the .sql
file.
Or via phpMyAdmin:
-
Select the desired database.
-
Click Import → Choose File → Go.
Restoring Email Forwarders & Filters
-
Navigate to the Backup section in cPanel.
-
Under Restore, select Email Forwarders or Filters.
-
Upload the corresponding backup file.
5. Best Practices for Website Backups
-
Schedule Regular Backups: Automate using cPanel’s Backup Wizard or a cron job.
-
Store Backups Offsite: Use FTP, SCP, or cloud services for added security.
-
Test Backup Restorations: Periodically restore backups on a staging server to ensure they work.
-
Keep Multiple Backup Versions: Avoid overwriting older backups—maintain several recovery points.
By following these steps, you can confidently manage your website's backups and ensure that your data remains secure and recoverable.