{"id":167,"date":"2024-05-05T18:25:09","date_gmt":"2024-05-05T18:25:09","guid":{"rendered":"https:\/\/zalvis.com\/docs\/?p=167"},"modified":"2024-05-05T18:25:09","modified_gmt":"2024-05-05T18:25:09","slug":"how-to-configure-backup-for-whm-cpanel","status":"publish","type":"post","link":"https:\/\/zalvis.com\/docs\/how-to-configure-backup-for-whm-cpanel.html","title":{"rendered":"How to Configure Backup for WHM\/cPanel"},"content":{"rendered":"<p>The data on your server should always have a backup as the chances of data loss is higher when you are working on the maintenance of the server or sometimes other faults on the server may cause a data loss. The backup will help to restore your valuable\u00a0 data efficiently and support your server in decreasing downtime and protect you from permanent data loss<\/p>\n<p>Here we can discuss the configuration of backup on the Cpanel server, the Cpanel server offers the backup on a daily and weekly basis, and it also provides the feature to save your backup to a remote server and local server.<\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_81 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/zalvis.com\/docs\/how-to-configure-backup-for-whm-cpanel.html\/#What_is_cPanelWHM\" >What is cPanel\/WHM?<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/zalvis.com\/docs\/how-to-configure-backup-for-whm-cpanel.html\/#Here_are_the_cPanel_backup_configuration_steps_in_detail\" >Here are the cPanel backup configuration steps in detail<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/zalvis.com\/docs\/how-to-configure-backup-for-whm-cpanel.html\/#Files\" >Files<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/zalvis.com\/docs\/how-to-configure-backup-for-whm-cpanel.html\/#Here_you_can_select_the_file_you_need_to_backup\" >Here you can select the file you need to backup<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n<h3 class=\"fusion-responsive-typography-calculated\" data-fontsize=\"32\" data-lineheight=\"41.599998px\"><span class=\"ez-toc-section\" id=\"What_is_cPanelWHM\"><\/span>What is <b>cPanel\/WHM?<\/b><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Its world\u2019s one of the most used control panels which offer plenty of features that can be performed through a graphical interface and any beginner can handle it very easily.<\/p>\n<h2 class=\"fusion-responsive-typography-calculated\" data-fontsize=\"40\" data-lineheight=\"48px\"><span class=\"ez-toc-section\" id=\"Here_are_the_cPanel_backup_configuration_steps_in_detail\"><\/span>Here are the cPanel backup configuration steps in detail<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<ol>\n<li>Login to your <b>WHM.<\/b><\/li>\n<li>Select the backup configuration option on WHM<\/li>\n<li>On the backup status option select \u201c<b>Enable Backups<\/b>\u201d to enable the backup<\/li>\n<li>Scroll down to the \u201cGlobal\u201d Settings option<\/li>\n<\/ol>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-168\" src=\"https:\/\/zalvis.com\/docs\/wp-content\/uploads\/2024\/05\/IMG_7899.png\" alt=\"\" width=\"512\" height=\"253\" srcset=\"https:\/\/zalvis.com\/docs\/wp-content\/uploads\/2024\/05\/IMG_7899.png 512w, https:\/\/zalvis.com\/docs\/wp-content\/uploads\/2024\/05\/IMG_7899-300x148.png 300w\" sizes=\"auto, (max-width: 512px) 100vw, 512px\" \/><\/p>\n<p>You have 3 options there<\/p>\n<ol>\n<li><b>Compressed: <\/b>With the compressed option, you can back up the data in compressed size. It will take more time to create a backup than the uncompressed form. It is preferred for servers with lower disk sizes.<\/li>\n<li><b>Uncompressed<\/b>: It will create a backup of the same size as the original data. It is faster and consumes more disk space. And restoring data from the uncompressed backup can be done easily<\/li>\n<li><b>Incremental<\/b>: The incremental backup help to backup the data that has changed since your last backup.<\/li>\n<\/ol>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-169\" src=\"https:\/\/zalvis.com\/docs\/wp-content\/uploads\/2024\/05\/IMG_7900.png\" alt=\"\" width=\"512\" height=\"222\" srcset=\"https:\/\/zalvis.com\/docs\/wp-content\/uploads\/2024\/05\/IMG_7900.png 512w, https:\/\/zalvis.com\/docs\/wp-content\/uploads\/2024\/05\/IMG_7900-300x130.png 300w\" sizes=\"auto, (max-width: 512px) 100vw, 512px\" \/><\/p>\n<p><strong>Check the available disk space option<\/strong><\/p>\n<p>If you select the available disk space option the system won\u2019t run an automatic backup if the server space is below the mentioned space.<\/p>\n<p><em><b>Maximum destination backup timeout<\/b><\/em> and <em><b>Maximum backup restoration time out <\/b><\/em>will help you to set a maximum time limit to backup or restore, If it won\u2019t end in a limited time the backup process will complete automatically.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-170\" src=\"https:\/\/zalvis.com\/docs\/wp-content\/uploads\/2024\/05\/IMG_7901.webp\" alt=\"\" width=\"512\" height=\"253\" srcset=\"https:\/\/zalvis.com\/docs\/wp-content\/uploads\/2024\/05\/IMG_7901.webp 512w, https:\/\/zalvis.com\/docs\/wp-content\/uploads\/2024\/05\/IMG_7901-300x148.webp 300w\" sizes=\"auto, (max-width: 512px) 100vw, 512px\" \/><\/p>\n<p><b>Scheduling and Retention\u00a0<\/b><\/p>\n<p>This option helps you to select the daily, weekly, or monthly backup option as your wish,and here you can add the number of backups you wish to keep at a time.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-171\" src=\"https:\/\/zalvis.com\/docs\/wp-content\/uploads\/2024\/05\/IMG_7902.png\" alt=\"\" width=\"512\" height=\"217\" srcset=\"https:\/\/zalvis.com\/docs\/wp-content\/uploads\/2024\/05\/IMG_7902.png 512w, https:\/\/zalvis.com\/docs\/wp-content\/uploads\/2024\/05\/IMG_7902-300x127.png 300w\" sizes=\"auto, (max-width: 512px) 100vw, 512px\" \/><\/p>\n<h3 class=\"fusion-responsive-typography-calculated\" data-fontsize=\"32\" data-lineheight=\"41.599998px\"><span class=\"ez-toc-section\" id=\"Files\"><\/span><b>Files<\/b><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<h3 class=\"fusion-responsive-typography-calculated\" data-fontsize=\"32\" data-lineheight=\"41.599998px\"><span class=\"ez-toc-section\" id=\"Here_you_can_select_the_file_you_need_to_backup\"><\/span>Here you can select the file you need to backup<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ul>\n<li><b>Back up User Accounts: <\/b>You can instruct cPanel to select a user account to backup<\/li>\n<li><b>Back up Suspended Accounts: <\/b>Here you can select the option if you need to back up the suspended account.<\/li>\n<li><b>Back up Access Logs, Back up Bandwidth Data, Use Local DNS, <\/b><b>Back up System Files<\/b>: You can select the three options as you wish to add the mentioned to the backup<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-172\" src=\"https:\/\/zalvis.com\/docs\/wp-content\/uploads\/2024\/05\/IMG_7903.png\" alt=\"\" width=\"512\" height=\"233\" srcset=\"https:\/\/zalvis.com\/docs\/wp-content\/uploads\/2024\/05\/IMG_7903.png 512w, https:\/\/zalvis.com\/docs\/wp-content\/uploads\/2024\/05\/IMG_7903-300x137.png 300w\" sizes=\"auto, (max-width: 512px) 100vw, 512px\" \/><strong>Select the Databases option to\u00a0<\/strong><\/p>\n<p><em><b>Per Account Only \u2013 <\/b><\/em>\u00a0will help your database backup in <em>.sql<\/em> format as it runs <em>\u201cmysqldump\u201d<\/em> command to create a backup<\/p>\n<p><b>Entire MySQL Directory \u2013<\/b>This will backup the entire MySQL directory (var\/lib\/Mysql)<\/p>\n<p><b>Per Account and Entire MySQL Directory-<\/b>This option will backup the entire <em>MySQL<\/em> directory and each account with the <em>\u201cmysqldump\u201d<\/em> command.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-173\" src=\"https:\/\/zalvis.com\/docs\/wp-content\/uploads\/2024\/05\/IMG_7904.png\" alt=\"\" width=\"512\" height=\"256\" srcset=\"https:\/\/zalvis.com\/docs\/wp-content\/uploads\/2024\/05\/IMG_7904.png 512w, https:\/\/zalvis.com\/docs\/wp-content\/uploads\/2024\/05\/IMG_7904-300x150.png 300w\" sizes=\"auto, (max-width: 512px) 100vw, 512px\" \/><\/p>\n<p>Finally,\u00a0<strong>Configure the Backup Directory<\/strong><\/p>\n<p>Here you have to select the <b>Default Backup Directory &amp; Backup Staging Directory\u00a0<\/b><\/p>\n<p>Where <b>Default<\/b> <b>Backup Directory <\/b>is used to store the local backup and <b>Backup Staging Directory <\/b>temporarily stores the remote backup\u2019s file and directories during a remote backup restoration. This directory empties once the restoration is completed.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-174\" src=\"https:\/\/zalvis.com\/docs\/wp-content\/uploads\/2024\/05\/IMG_7905.png\" alt=\"\" width=\"512\" height=\"248\" srcset=\"https:\/\/zalvis.com\/docs\/wp-content\/uploads\/2024\/05\/IMG_7905.png 512w, https:\/\/zalvis.com\/docs\/wp-content\/uploads\/2024\/05\/IMG_7905-300x145.png 300w\" sizes=\"auto, (max-width: 512px) 100vw, 512px\" \/><\/p>\n<p>Select the <b><em>Retain Backups in the Default Backup Directory<\/em> <\/b>if you wish to retain backup in the default backup directory even after uploading to the remote directory<\/p>\n<p><em><b>Mount Backup Drive as Needed <\/b><\/em>You can select this if you wish to mount backup to a separate drive<\/p>\n<p>Finally, Save Configuration and your backup are all set.<\/p>\n<div class=\"pkljn69e74fb1e1cad\" >If you enjoyed this article, then you\u2019ll love Zalvis's Cloud Hosting platform. Turbocharge your website and get 24\/7 support from our veteran team. Our world-class hosting infrastructure focuses on auto-scaling, performance, and security. Let us show you the Zalvis difference! <a href=\"https:\/\/zalvis.com\/\">Check out our services.<\/a><\/div><style type=\"text\/css\">\r\n@media screen and (min-width: 1201px) {\r\n.pkljn69e74fb1e1cad {\r\ndisplay: block;\r\n}\r\n}\r\n@media screen and (min-width: 993px) and (max-width: 1200px) {\r\n.pkljn69e74fb1e1cad {\r\ndisplay: block;\r\n}\r\n}\r\n@media screen and (min-width: 769px) and (max-width: 992px) {\r\n.pkljn69e74fb1e1cad {\r\ndisplay: block;\r\n}\r\n}\r\n@media screen and (min-width: 768px) and (max-width: 768px) {\r\n.pkljn69e74fb1e1cad {\r\ndisplay: block;\r\n}\r\n}\r\n@media screen and (max-width: 767px) {\r\n.pkljn69e74fb1e1cad {\r\ndisplay: block;\r\n}\r\n}\r\n<\/style>\r\n","protected":false},"excerpt":{"rendered":"<p>The data on your server should always have a backup as the chances of data loss is higher when you are working on the maintenance of the server or sometimes other faults on the server may cause a data loss. The backup will help to restore your valuable\u00a0 data efficiently and support your server in [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"class_list":["post-167","post","type-post","status-publish","format-standard","hentry","category-server-setup"],"_links":{"self":[{"href":"https:\/\/zalvis.com\/docs\/wp-json\/wp\/v2\/posts\/167","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/zalvis.com\/docs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zalvis.com\/docs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zalvis.com\/docs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/zalvis.com\/docs\/wp-json\/wp\/v2\/comments?post=167"}],"version-history":[{"count":2,"href":"https:\/\/zalvis.com\/docs\/wp-json\/wp\/v2\/posts\/167\/revisions"}],"predecessor-version":[{"id":176,"href":"https:\/\/zalvis.com\/docs\/wp-json\/wp\/v2\/posts\/167\/revisions\/176"}],"wp:attachment":[{"href":"https:\/\/zalvis.com\/docs\/wp-json\/wp\/v2\/media?parent=167"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zalvis.com\/docs\/wp-json\/wp\/v2\/categories?post=167"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zalvis.com\/docs\/wp-json\/wp\/v2\/tags?post=167"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}