How to Backup & Restore a Website in cPanel?

 

C-Panel is one of the easiest tools to manage a website and cPanel backup system offers several choices for backing up and restoring your website. A Full Backup is a full backup that contains your home directory, Your MySQL databases as well as your email forwarders and filters. You can use Full backup option if you are planning to move to another cPanel Linux VPS server.

Taking the backup of the website:

While taking the backup of the website you can neither take the full backup or partial backup.

By opting to take a full backup, you can take the full backup of your account where the files related to the website and configuration. It is generally used when the website needs to be moved to another server. You also keep the backup in your local system as a copy.  

By opting to take a Partial Backup, you have the opportunity to back up the Home directory and restore any of the following: The Home Directory containing the public_html folder that includes your website’s file, the  Databases, Email Forwarders, Email filters.

Follow the below steps to take backup of your website:

Step 1:  Log into your cPanel of your hosting account, you can do that by pointing your browser to http://your_ip_address:2083 and utilizing the credentials given for your Linux VPS server.



Step 2: After you login into your c-panel in the main screen of cPanel >> Under files section >> click on backup

 



Step 3: After clicking on backup >> as per requirement you can choose full backup or partial backup. For full backup click on >> Download a full website backup.

For partial backup go to Partial Backups section >> click on the Home Directory option. After you click on  Home Directory button >> a pop up will appear to download backup on your local system. You need to choose the location where you wish to download your backup and press OK button.

 



The backup of your Home Directory will be compressed and downloaded to the local system of your Linux VPS server. Following the above steps, you can take the backup of your website.

It is always recommended that to take the backup before you make any changes in the configuration or website. And it is not recommended to store the backup in the file manager. The backup will be created in the form of a zip file (compressed file) which can be downloaded into your local computer for storage. It is always best to maintain your own backup (complete backup of your website)on your local system if even if the backups are taken at the server end as it would ensure that the website files and emails are safe.

Restore Website using cpanel

For restoring the website there are two options available to restore.

>> Restore a Home Directory Backup

>> Restore a MySQL Database Backup

Follow the below steps to restore your website:

Step 1: Log into your cPanel of your hosting account, you can do that by pointing your browser to http://your_ip_address:2083 and utilizing the credentials given for your Linux VPS server.

 C-panel  login

Step 2: After you login into your c-panel in the main screen of cPanel >> Under files section >> click on backup

Step 2.1: Follow the below steps to restore a Home Directory Backup

Step 1: To restore your website’s files >>go to the Restore a Home Directory Backup option >> and click on Choose File and the files which has to be uploaded

Step 2: You need to upload the file from your local system to your server.

Home directory backup

Step 2.2:  Follow the below steps to restore a MySQL Database Backup

Step 1: To restore only the MySQL database >> go to the Restore a MySQL Database option >> and click on Choose Files >> next choose the file from your local system and upload it to your Linux VPS server.

Step 2: After the MySQL database is restored in your server you will get the below message “Congrats! Ideally restoring your database to a previous working form that you have backed up, has effectively brought back your missing information or enabled your site to work again properly.”

If you are facing any issue while restoring the website or while taking up the backup, feel free to contact our support team via live chat, email, toll-free or ticket system and our support team is available 24/7.