{"id":17441,"date":"2021-06-14T12:39:12","date_gmt":"2021-06-14T12:39:12","guid":{"rendered":"https:\/\/supporthost.com\/?post_type=tutorial&#038;p=17441"},"modified":"2024-05-15T16:50:41","modified_gmt":"2024-05-15T16:50:41","slug":"cpanel-backup","status":"publish","type":"tutorial","link":"https:\/\/supporthost.com\/tutorial\/cpanel-backup\/","title":{"rendered":"cPanel Backup: create and restore backups"},"content":{"rendered":"\n<p>cPanel&#8217;s backup function enables us to create a full or partial backup of our site. Through this function integrated into the cPanel, we can also restore files and databases starting from partial backups.<\/p>\n\n\n\n<div class=\"wp-block-rank-math-toc-block\" id=\"rank-math-toc\"><h2>Table of Contents<\/h2><nav><ul><li><a href=\"#c-panel-backup-how-to-obtain-a-full-backup\">cPanel backup: how to obtain a full backup<\/a><\/li><li><a href=\"#c-panel-backup-how-to-make-a-partial-backup\">cPanel backup: how to make a partial backup<\/a><\/li><li><a href=\"#restoring-a-partial-backup\">Restoring a Partial Backup<\/a><\/li><\/ul><\/nav><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"c-panel-backup-how-to-obtain-a-full-backup\">cPanel backup: how to obtain a full backup<\/h2>\n\n\n\n<p>cPanel provides us with two different functions for backup: Backup and <a href=\"https:\/\/supporthost.com\/tutorial\/cpanel-backup-wizard\/\" class=\"rank-math-link\">Backup Wizard<\/a>, the latter is a simplified version of the backup function.<\/p>\n\n\n\n<p>After <a aria-label=\" (opens in a new tab)\" rel=\"noreferrer noopener\" href=\"https:\/\/supporthost.com\/tutorial\/cpanel-login\/\" target=\"_blank\" class=\"rank-math-link\">logging into the panel<\/a>, scroll down to the File section and click on <strong>Backup<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"201\" src=\"https:\/\/supporthost.com\/wp-content\/uploads\/2021\/05\/cpanel-backup-1024x201.png\" alt=\"Cpanel Backup\" class=\"wp-image-17442\" srcset=\"https:\/\/supporthost.com\/wp-content\/uploads\/2021\/05\/cpanel-backup-1024x201.png 1024w, https:\/\/supporthost.com\/wp-content\/uploads\/2021\/05\/cpanel-backup-300x59.png 300w, https:\/\/supporthost.com\/wp-content\/uploads\/2021\/05\/cpanel-backup-768x150.png 768w, https:\/\/supporthost.com\/wp-content\/uploads\/2021\/05\/cpanel-backup-120x24.png 120w, https:\/\/supporthost.com\/wp-content\/uploads\/2021\/05\/cpanel-backup.png 1200w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>From this section, we can create and download a full backup of the site which will include files, databases, and so on.<\/p>\n\n\n\n<p>Click on <em>Download a Full Account Backup<\/em>.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"311\" height=\"170\" src=\"https:\/\/supporthost.com\/wp-content\/uploads\/2021\/05\/full-account-backup.png\" alt=\"Full Account Backup\" class=\"wp-image-17443\" srcset=\"https:\/\/supporthost.com\/wp-content\/uploads\/2021\/05\/full-account-backup.png 311w, https:\/\/supporthost.com\/wp-content\/uploads\/2021\/05\/full-account-backup-300x164.png 300w, https:\/\/supporthost.com\/wp-content\/uploads\/2021\/05\/full-account-backup-115x63.png 115w\" sizes=\"auto, (max-width: 311px) 100vw, 311px\" \/><\/figure>\n\n\n\n<p>It will bring us to the full backups section. Above we are shown the Backups available for download, only if we have already generated a backup previously, as in this case:<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"594\" height=\"114\" src=\"https:\/\/supporthost.com\/wp-content\/uploads\/2021\/05\/backups-aviable.png\" alt=\"Backups Aviable\" class=\"wp-image-17444\" srcset=\"https:\/\/supporthost.com\/wp-content\/uploads\/2021\/05\/backups-aviable.png 594w, https:\/\/supporthost.com\/wp-content\/uploads\/2021\/05\/backups-aviable-300x58.png 300w, https:\/\/supporthost.com\/wp-content\/uploads\/2021\/05\/backups-aviable-120x23.png 120w\" sizes=\"auto, (max-width: 594px) 100vw, 594px\" \/><\/figure>\n\n\n\n<p>If we click on the backup name (indicated in blue), we can download that full backup to our computer.<\/p>\n\n\n\n<p>In the section below, however, we can generate a new backup. Under <em>Backup destination<\/em>, there&#8217;s a drop-down menu from which to choose where to save our backup.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"797\" height=\"309\" src=\"https:\/\/supporthost.com\/wp-content\/uploads\/2021\/05\/generate-a-full-backup.png\" alt=\"Generate A Full Backup\" class=\"wp-image-17445\" srcset=\"https:\/\/supporthost.com\/wp-content\/uploads\/2021\/05\/generate-a-full-backup.png 797w, https:\/\/supporthost.com\/wp-content\/uploads\/2021\/05\/generate-a-full-backup-300x116.png 300w, https:\/\/supporthost.com\/wp-content\/uploads\/2021\/05\/generate-a-full-backup-768x298.png 768w, https:\/\/supporthost.com\/wp-content\/uploads\/2021\/05\/generate-a-full-backup-120x47.png 120w\" sizes=\"auto, (max-width: 797px) 100vw, 797px\" \/><\/figure>\n\n\n\n<p>By choosing the <em>Home directory<\/em>, the backup will be saved on the server, which is the option we are interested in using. Otherwise, it is also possible to save the backup on a remote server using the <a href=\"https:\/\/supporthost.com\/tutorial\/ftp-account\/\" target=\"_blank\" aria-label=\"FTP (opens in a new tab)\" rel=\"noreferrer noopener\" class=\"rank-math-link\">FTP<\/a> or SCP protocols.<\/p>\n\n\n\n<p>In this case, we must also fill in the fields that will appear with the information necessary to access the remote server.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"796\" height=\"711\" src=\"https:\/\/supporthost.com\/wp-content\/uploads\/2021\/05\/full-backup-ftp.png\" alt=\"Full Backup Ftp\" class=\"wp-image-17446\" srcset=\"https:\/\/supporthost.com\/wp-content\/uploads\/2021\/05\/full-backup-ftp.png 796w, https:\/\/supporthost.com\/wp-content\/uploads\/2021\/05\/full-backup-ftp-300x268.png 300w, https:\/\/supporthost.com\/wp-content\/uploads\/2021\/05\/full-backup-ftp-768x686.png 768w, https:\/\/supporthost.com\/wp-content\/uploads\/2021\/05\/full-backup-ftp-71x63.png 71w\" sizes=\"auto, (max-width: 796px) 100vw, 796px\" \/><\/figure>\n\n\n\n<p>In the email address field, we just need to enter our email address. When the backup is ready, we will be notified with an email. If we do not want to receive it, we must select <em>Do not send email notification of backup completion<\/em>.<\/p>\n\n\n\n<p>Then click on <strong>Generate backup<\/strong>.<\/p>\n\n\n\n<p>While the system creates our backup file, we can see the file appear in the list of available backups, but a note next to the file (in progress) indicates that the generation is still in progress.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"701\" height=\"137\" src=\"https:\/\/supporthost.com\/wp-content\/uploads\/2021\/05\/backup-in-progress.png\" alt=\"Backup In Progress\" class=\"wp-image-17447\" srcset=\"https:\/\/supporthost.com\/wp-content\/uploads\/2021\/05\/backup-in-progress.png 701w, https:\/\/supporthost.com\/wp-content\/uploads\/2021\/05\/backup-in-progress-300x59.png 300w, https:\/\/supporthost.com\/wp-content\/uploads\/2021\/05\/backup-in-progress-120x23.png 120w\" sizes=\"auto, (max-width: 701px) 100vw, 701px\" \/><\/figure>\n\n\n\n<p>Once the backup is created, we can download it by clicking on the file name that appears in the <strong>Backups available for download<\/strong> list, as we have seen before.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"c-panel-backup-how-to-make-a-partial-backup\">cPanel backup: how to make a partial backup<\/h2>\n\n\n\n<p>By clicking on Backup from the File section of cPanel, we can also choose to perform a partial backup. The cPanel backup feature allows us to download a backup of files, databases, email forwarders, and email filters.<\/p>\n\n\n\n<p>To download a backup of the files, click on the<em> Home directory<\/em>, this way, we can download all the files in a .tar.gz archive.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"492\" height=\"194\" src=\"https:\/\/supporthost.com\/wp-content\/uploads\/2021\/05\/download-partial-backup.png\" alt=\"Download Partial Backup\" class=\"wp-image-17448\" srcset=\"https:\/\/supporthost.com\/wp-content\/uploads\/2021\/05\/download-partial-backup.png 492w, https:\/\/supporthost.com\/wp-content\/uploads\/2021\/05\/download-partial-backup-300x118.png 300w, https:\/\/supporthost.com\/wp-content\/uploads\/2021\/05\/download-partial-backup-120x47.png 120w\" sizes=\"auto, (max-width: 492px) 100vw, 492px\" \/><\/figure>\n\n\n\n<p>To download the backup of a MySQL database, we have to choose one (in case there is more than one) and click on the name.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"499\" height=\"173\" src=\"https:\/\/supporthost.com\/wp-content\/uploads\/2021\/05\/download-database-backup.png\" alt=\"Download Database Backup\" class=\"wp-image-17452\" srcset=\"https:\/\/supporthost.com\/wp-content\/uploads\/2021\/05\/download-database-backup.png 499w, https:\/\/supporthost.com\/wp-content\/uploads\/2021\/05\/download-database-backup-300x104.png 300w, https:\/\/supporthost.com\/wp-content\/uploads\/2021\/05\/download-database-backup-120x42.png 120w\" sizes=\"auto, (max-width: 499px) 100vw, 499px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"restoring-a-partial-backup\">Restoring a Partial Backup<\/h2>\n\n\n\n<p>The cPanel backup feature allows us to restore only partial backups. The full backup can therefore only be used as a backup and not for recovery.<\/p>\n\n\n\n<p>Let&#8217;s see how to restore the backup of a MySQL database.<\/p>\n\n\n\n<p>In the section Restore a MySQL database backup, we see a button to choose files. Click on it and select the database backup from our computer.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"453\" height=\"150\" src=\"https:\/\/supporthost.com\/wp-content\/uploads\/2021\/05\/restore-mysql-database-backup.png\" alt=\"Restore Mysql Database Backup\" class=\"wp-image-17449\" srcset=\"https:\/\/supporthost.com\/wp-content\/uploads\/2021\/05\/restore-mysql-database-backup.png 453w, https:\/\/supporthost.com\/wp-content\/uploads\/2021\/05\/restore-mysql-database-backup-300x99.png 300w, https:\/\/supporthost.com\/wp-content\/uploads\/2021\/05\/restore-mysql-database-backup-120x40.png 120w\" sizes=\"auto, (max-width: 453px) 100vw, 453px\" \/><\/figure>\n\n\n\n<p>Then click on Upload.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"459\" height=\"151\" src=\"https:\/\/supporthost.com\/wp-content\/uploads\/2021\/05\/restore-mysql-database-backup-upload.png\" alt=\"Restore Mysql Database Backup Upload\" class=\"wp-image-17450\" srcset=\"https:\/\/supporthost.com\/wp-content\/uploads\/2021\/05\/restore-mysql-database-backup-upload.png 459w, https:\/\/supporthost.com\/wp-content\/uploads\/2021\/05\/restore-mysql-database-backup-upload-300x99.png 300w, https:\/\/supporthost.com\/wp-content\/uploads\/2021\/05\/restore-mysql-database-backup-upload-120x39.png 120w\" sizes=\"auto, (max-width: 459px) 100vw, 459px\" \/><\/figure>\n\n\n\n<p>At the end of the restoration, a notice like this will inform us that the operation was successful.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"793\" height=\"208\" src=\"https:\/\/supporthost.com\/wp-content\/uploads\/2021\/05\/database-successfully-restored.png\" alt=\"Database Successfully Restored\" class=\"wp-image-17451\" srcset=\"https:\/\/supporthost.com\/wp-content\/uploads\/2021\/05\/database-successfully-restored.png 793w, https:\/\/supporthost.com\/wp-content\/uploads\/2021\/05\/database-successfully-restored-300x79.png 300w, https:\/\/supporthost.com\/wp-content\/uploads\/2021\/05\/database-successfully-restored-768x201.png 768w, https:\/\/supporthost.com\/wp-content\/uploads\/2021\/05\/database-successfully-restored-120x31.png 120w\" sizes=\"auto, (max-width: 793px) 100vw, 793px\" \/><\/figure>\n\n\n\n<p>The same procedure can be performed to restore the other partial backups by uploading the backup files to the appropriate sections.<\/p>\n","protected":false},"author":1,"featured_media":43855,"template":"","tutorial-cat":[13],"class_list":["post-17441","tutorial","type-tutorial","status-publish","has-post-thumbnail","hentry","tutorial-cat-backup"],"acf":[],"_links":{"self":[{"href":"https:\/\/supporthost.com\/wp-json\/wp\/v2\/tutorial\/17441","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/supporthost.com\/wp-json\/wp\/v2\/tutorial"}],"about":[{"href":"https:\/\/supporthost.com\/wp-json\/wp\/v2\/types\/tutorial"}],"author":[{"embeddable":true,"href":"https:\/\/supporthost.com\/wp-json\/wp\/v2\/users\/1"}],"version-history":[{"count":0,"href":"https:\/\/supporthost.com\/wp-json\/wp\/v2\/tutorial\/17441\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/supporthost.com\/wp-json\/wp\/v2\/media\/43855"}],"wp:attachment":[{"href":"https:\/\/supporthost.com\/wp-json\/wp\/v2\/media?parent=17441"}],"wp:term":[{"taxonomy":"tutorial-cat","embeddable":true,"href":"https:\/\/supporthost.com\/wp-json\/wp\/v2\/tutorial-cat?post=17441"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}