Backup and Restore a website in cPanel

  cPanel

Backing up your website files and databases is one of the most important tasks you should undertake. Your web site can get compromised by malwares, a server might go down, hackers can take down your database and a myriad of other uncertainties can happen. When any of them happens and finds you not prepared with a backup, you’ll certainly have a hard time redesigning your website from scratch.

Setting up your website afresh is time consuming. If your entire website’s files went missing, your site will fall off from search engine search results. You may lose visitors and your websites traffic will drop substantially.

cPanel makes it easier for you to backup and/restore your entire site, or do a partial backup/restoration.

In this article we’ll see how to backup and restore a website in cPanel. We will talk about taking a Full Website Backup, Partial Website Backup, Email backup & databases backup. Partial backup allows you to backup and restore home directory, databases, email forwarders and email filters.

You can backup and restore a website in cPanel entirely or partially.

1. Backup the entire website.

  1. Log into cPanel.
  2. In the search box in your cPanel, type “Backup” – without the quotes of course.
  3. In the Files section, click on the Backup icon.
  4. From the page that appears, under Full Backup section, click on Generate/ Download a Full Website Backup.
  5. On the next page, select the Home Directory option from the Backup Destination drop-down menu.
  6. Email Address textbox allows you to specify the email address you wish to use to receive a notification on completion.
  7. “Do not send email notification of backup completion.” Lets you specify whether you want to receive a notification on backup completion.
  8. Click on Generate Backup.

2. Backup and restore home directory Only.

Backup home directory

  1. Once you have logged into your cPanel, locate and click on Backup as described above.
  2. Navigate to Partial Backups section.
  3. Click on Home Directory button.
  4. Your browser should prompt that a new file file will be downloaded.
  5. Click Yes/Ok.
  6. Wait for the download to complete.

Restore home directory

  1. Under Partial Backups section, locate “Restore a Home Directory Backup”
  2. Click on Browse button to select a backup file from your computer.
  3. Click on Upload and wait for the upload to finish.

Backup And Restore MySQL Databases in cPanel.

How to backup MySql Databases in cPanel

  1. Under Partial Backups section, locate “Download a Mysql Database Backup.”
  2. All your website’s databases will be listed.
  3. Click on the database you wish to backup and your browser should launch a download.

You can also use phpMyAdmin to backup MySql databases in cPanel. You can read on How to export a MySql database using phpMyAdmin.

How to restore MySql Databases in cPanel

  1. Under Partial Backups section, locate and click on “Restore a MySQL Database Backup.”
  2. Click on Browse button to select a backed up database from your computer.
  3. Click on upload button and wait for the restoration to complete.

How to Backup Email Forwarders.

  1. Under Partial Backups section, locate and click on “Download to Backup Email Forwarders.”
  2. Your domain and all its subdomains will be should be listed here.
  3. Click on the domain or subdomain you want to do a backup for.
  4. Your browser should automatically start a download.

How to restore Email Forwarders.

  1. Under Partial Backups section, locate “Restore Email Forwarders.”
  2. Click on Browse button to select a backed up file from your computer
  3. Click on Upload button
  4. Wait until the restoration finishes.

Using this guides, you can now backup and restore a website in cPanel. We wish you a happy hosting experience.

PS: If you haven’t hosted with ShujaaHost, you’re missing out on a lot. Order our hosting here >> https://shujaahost.co.ke

LEAVE A COMMENT