Total
0
Shares
Backups in cPanel - A Complete Guide

Backups in cPanel Complete Guide step by step

cPanel includes a comprehensive set of backup tools. We’ll go over how to use these Backups in cPanel utilities to backup and restore files on your cPanel account in the sections below.

  • Creating cPanel Backups
  • Backup Wizard
  • Other Tools
  • Restore From Backups

Creating a Full Backups in cPanel

This useful utility will generate a compressed file, which you can then save to your local computer. Please be aware that we do not permit anyone to store backups in File Manager; you must keep them off the server.

1. Steps of Creating a Backups in cPanel

  • Login to your cPanel
  • Click the Backup Manager button in the Files section of cPanel.
Backups in cPanel
  • Under Other cPanel Backup Plugins, click on cPanel Backups.
backup manager cpanel backups by f60 host 1
  • In the Full Backup section, click the Download a Full Account Backup button.
full backup download by f60 host 1
  • On the next screen make sure the Home Directory option is selected.
select home directory backup by f60 host 1
  • If you want an email notification when the backup completes, enter your email address. If you do not want an email, select the box next to Do not send email notification of backup completion.
  • Click the Generate Backup button to begin the Full cPanel Backup. You will then see a message stating “Full Backup in Progress…” Allow some time for the backup to complete, you will receive an email notification upon completion (if you entered your email address in the last step).
generate backup by f60 host 2
  • Download the file from your cPanel. It will be located in your /home directory, begin with backup, and include the date. For example backup-10.26.2020_15-51-32_example.tar.gz

2. Downloading Home Directory Backups in cPanel

  • Log into cPanel.
  • Click the Backup Manager link in the Files section.
backup manager by f60 host 1
  • Under Other cPanel Backup Manager, click on cPanel Backups.
backup manager cpanel backups by f60 host 1
  • Click the Home Directory button under the Download a Home Directory Backup section. You will then begin downloading a backup of your Home Directory. This can take several minutes to complete depending on the size of your site.
full backup download by f60 host 1
  • You can then access the file in your browser’s download directory. In this example, the home directory backup is named backup-example.com-10-4-2017.tar.gz.

You should now have successfully backed up your website files by downloading a partial home directory backup in cPanel.

3. Retrieve a Standard Database Backups in cPanel

  • Log into cPanel.
  • Click the Backup Manager link in the Files section.
backup manager by f60 host 1
  • Under Other cPanel Backup Manager, click on cPanel Backups.
backup manager cpanel backups by f60 host 1
  • Now under the Download, a MySQL Database Backup section, click on the name of the database you wish to download. If you aren’t sure which database is associated with your site, check the name in the site’s configuration data.
cpanel database backup by f60 host
  • On your local machine, go to the folder your web browser downloaded the database backup and you should now see the compressed .sql.gz file.

You now have a good working copy of your database stored locally and securely on your own computer. If you accidentally delete something or experience any other database issues, you can restore your database from that good backup.

Backup Wizard

The Backup Wizard offers the same functionality as standard cPanel Backups, with the exception that the options are organized by section. This is useful if you are still getting used to the backup process and want to make sure you aren’t forgetting anything, or if you are only backing up a single item.

1. Create a Backup in Backup Wizard

  • Log into cPanel.
  • Click the Backup Manager link in the Files section.
Backups in cPanel
  • Click on the blue button labeled Back Up.
backup wizard backup button by f60 host
  • Choose your type of backup: Full Backup or select a Partial Backup. These options let you download a smaller file with exactly what you need. Home Directory creates a backup consisting of everything in the user’s Home Directory. The other options will limit you to only databases (MySQL Databases) or email data (Email Forwarders & Filters), while the Full Backup option is essentially the same as the full backup above.
backup wizard menu by f60 host
  • Determine the destination of the backup. Click the drop-down arrow and select either Home Directory, Remote FTP server, Remote FTP server (passive mode transfer), or Secure Copy (SCP).
backup wizard DropDown menu
  • Enter the email address to receive notification of the backup completion. If no notification is required, click that radial button.
  • Click on Generate Backup.
  • When the backup completes you will see a link that says Backups Available for Download. Click the link to download the backup file.

Other Tools

Create a custom Database Backup in phpMyAdmin

  • Once you have logged into cPanel, click on the icon “phpMyAdmin” in the databases section.
phpMyAdmin by f60 host
Once you have done that you should see a screen like the one below.
phpMyAdmin screen by f60 host
  • Select the database you wish to export by clicking on the database name in the sidebar as indicated in the graphic below.
phpMyAdmin Click Name by f60 host
  • Click on Export in the menu at the top of the phpMySQL screen. This will bring up the options for export and also give you a confirmation of where the export is coming from.
export button by f60 host
  • We are using the Quick export method. This exports the file in SQL format. If you need to select specific options for the export, then click on Custom and select your options. You should only select this if you are familiar with exporting MYSQL databases. Click on Go to complete the export.
  • You will see a screen that asks where you want to save the export file. You also have the option to name the database backup file. When you save the file, make sure that it is saved to a safe location once the export is complete.

Restore From Backups

These procedures are only applicable if you have previously saved one or more backups locally. If your backup is not yet on your account but is saved somewhere else, please see the Uploading section below. If you have made changes to an account or directory since creating a backup, save any newly added or edited files before restoring. For example, if you have a new file on your website, such as /public html/index2.html, that did not exist in the backup, these files will not be overwritten during a restoration.

When you restore a partial home directory backup, such as the one we’re going over below, it will overwrite any existing files on your account. So, if you have a /public html/index.html file on your account and a backup of that file, the backup file will be restored over the current live file.

Restore a Home Directory Backups in cPanel

Following the steps below you can learn how to restore a partial backup of your website including all the files in your home directory.

  • Log into cPanel.
  • Click the Backup Manager link in the Files section.
backup manager by f60 host 1
  • Under Other cPanel Backup Manager, click on cPanel Backups.
backup manager cpanel backups by f60 host 1
  • Under Restore a Home Directory Backup, click on Choose File.
restore home directory by f60 host
  • Find the appropriate file on your computer and click Open.
  • The name of your backup should now be displayed, so click on Upload.
  • You should then see the progress of your files being restored.

A Recommendation for Restoring MySQL and PostgreSQL Databases

You can restore databases within their respective cPanel applications if your database is under 50MB:

  • Import MySQL databases in phpMyAdmin
  • Import PostgreSQL databases in phpPgAdmin

If over 50MB, you can import the database with SSH or request technical support for data recovery assistance. For technical assistance, you must upload the database file to your cPanel account, then submit a ticket to support with the database file path and name of the database you want it restored to.

Total
0
Shares
Total
0
Share