{"id":6574,"date":"2021-09-08T12:14:55","date_gmt":"2021-09-08T12:14:55","guid":{"rendered":"https:\/\/www.bodhost.com\/kb\/?p=6574"},"modified":"2026-02-26T14:03:08","modified_gmt":"2026-02-26T14:03:08","slug":"how-can-i-restore-old-settings-to-my-cpanel-server","status":"publish","type":"post","link":"https:\/\/www.bodhost.com\/kb\/how-can-i-restore-old-settings-to-my-cpanel-server\/","title":{"rendered":"How Can I Restore Old Settings to My cPanel Server?"},"content":{"rendered":"<p><strong><\/strong><\/p>\r\n<h4 class=\"wp-block-heading\">Introduction<\/h4>\r\n\r\n\r\n\r\n<p>In this Knowledge base, you will find the cpconf tool is used to backup and restore the settings if one wishes to migrate to a new server or to copy the configuration files.<\/p>\r\n\r\n\r\n\r\n<p>Let&#8217;s see the Procedure:<br \/>The cpconf tool is used to backup and restore the configuration files.<\/p>\r\n\r\n\r\n\r\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\r\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis: 100%;\">\r\n<p>The script is located at<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-verse\"><code>\/usr\/local\/cpanel\/bin\/cpconftool<\/code><\/pre>\r\n<\/div>\r\n<\/div>\r\n\r\n\r\n\r\n<p>To restore a backup, you would use something like this, replacing\u00a0<code>\/home\/whm-config-backup-all-1.1-1411229033.tar.gz<\/code>\u00a0 with the path to your backup, and\u00a0<code>--modules=<\/code>\u00a0With the modules, you need to restore:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-code\"><code>\/usr\/local\/cpanel\/bin\/cpconftool --restore=\/home\/whm-config-backup-all-1.1-1411229033.tar.gz --modules=cpanel::smtp::exim<\/code><\/pre>\r\n\r\n\r\n\r\n<p>You can use\u00a0&#8211;list-modules to get a list of the available modules on your server.<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-code\"><code>cpanel::easy::apache<br \/>\r\ncpanel::smtp::exim<br \/>\r\ncpanel::system::autossloptions<br \/>\r\ncpanel::system::backups<br \/>\r\ncpanel::system::greylist<br \/>\r\ncpanel::system::hulk<br \/>\r\ncpanel::system::modsecurity<br \/>\r\ncpanel::system::mysql<br \/>\r\ncpanel::system::whmconf<br \/>\r\ncpanel::ui::themes<\/code><\/pre>\r\n\r\n\r\n\r\n\r\n\r\n<p>For more details on the cpconf tool, please review the documentation at\u00a0cpconftool script.<\/p>\r\n<p><strong><\/strong><\/p>","protected":false},"excerpt":{"rendered":"<p>Introduction In this Knowledge base, you will find the cpconf tool is used to backup and restore the settings if one wishes to migrate to a new server or to&hellip;<\/p>\n<p><a href=\"https:\/\/www.bodhost.com\/kb\/how-can-i-restore-old-settings-to-my-cpanel-server\/\" class=\"more-link\">Read More<\/a><\/p>\n","protected":false},"author":21,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[830],"tags":[50],"class_list":["post-6574","post","type-post","status-publish","format-standard","hentry","category-cpanel","tag-cpanel-server"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How Can I Restore Old Settings to My cPanel Server?<\/title>\n<meta name=\"description\" content=\"In this article you will find, How to restore old settings to cPanel server.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.bodhost.com\/kb\/how-can-i-restore-old-settings-to-my-cpanel-server\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How Can I Restore Old Settings to My cPanel Server?\" \/>\n<meta property=\"og:description\" content=\"In this article you will find, How to restore old settings to cPanel server.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.bodhost.com\/kb\/how-can-i-restore-old-settings-to-my-cpanel-server\/\" \/>\n<meta property=\"og:site_name\" content=\"Knowledge Base - bodHOST\" \/>\n<meta property=\"article:published_time\" content=\"2021-09-08T12:14:55+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-02-26T14:03:08+00:00\" \/>\n<meta name=\"author\" content=\"Serena\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Serena\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-can-i-restore-old-settings-to-my-cpanel-server\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-can-i-restore-old-settings-to-my-cpanel-server\\\/\"},\"author\":{\"name\":\"Serena\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#\\\/schema\\\/person\\\/ffd3f118493c99471ae5bd4790a55830\"},\"headline\":\"How Can I Restore Old Settings to My cPanel Server?\",\"datePublished\":\"2021-09-08T12:14:55+00:00\",\"dateModified\":\"2026-02-26T14:03:08+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-can-i-restore-old-settings-to-my-cpanel-server\\\/\"},\"wordCount\":120,\"publisher\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#organization\"},\"keywords\":[\"cpanel server\"],\"articleSection\":[\"cPanel\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-can-i-restore-old-settings-to-my-cpanel-server\\\/\",\"url\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-can-i-restore-old-settings-to-my-cpanel-server\\\/\",\"name\":\"How Can I Restore Old Settings to My cPanel Server?\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#website\"},\"datePublished\":\"2021-09-08T12:14:55+00:00\",\"dateModified\":\"2026-02-26T14:03:08+00:00\",\"description\":\"In this article you will find, How to restore old settings to cPanel server.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-can-i-restore-old-settings-to-my-cpanel-server\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-can-i-restore-old-settings-to-my-cpanel-server\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-can-i-restore-old-settings-to-my-cpanel-server\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"cPanel\",\"item\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/category\\\/cpanel\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How Can I Restore Old Settings to My cPanel Server?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#website\",\"url\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/\",\"name\":\"Web Hosting Knowledge Base | bodHOST Hosting FAQ\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#organization\"},\"alternateName\":\"Web Hosting Knowledge Base | bodHOST Hosting FAQ\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#organization\",\"name\":\"Web Hosting Knowledge Base | bodHOST Hosting FAQ\",\"url\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2025\\\/10\\\/Profile-Pic.png\",\"contentUrl\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2025\\\/10\\\/Profile-Pic.png\",\"width\":240,\"height\":240,\"caption\":\"Web Hosting Knowledge Base | bodHOST Hosting FAQ\"},\"image\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#\\\/schema\\\/person\\\/ffd3f118493c99471ae5bd4790a55830\",\"name\":\"Serena\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/8bf3c9f6220a13a4d46295ad7c38a0c9e351ca3a57d0e417580c8e8b83a12a50?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/8bf3c9f6220a13a4d46295ad7c38a0c9e351ca3a57d0e417580c8e8b83a12a50?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/8bf3c9f6220a13a4d46295ad7c38a0c9e351ca3a57d0e417580c8e8b83a12a50?s=96&d=mm&r=g\",\"caption\":\"Serena\"},\"url\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/author\\\/seema\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How Can I Restore Old Settings to My cPanel Server?","description":"In this article you will find, How to restore old settings to cPanel server.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.bodhost.com\/kb\/how-can-i-restore-old-settings-to-my-cpanel-server\/","og_locale":"en_US","og_type":"article","og_title":"How Can I Restore Old Settings to My cPanel Server?","og_description":"In this article you will find, How to restore old settings to cPanel server.","og_url":"https:\/\/www.bodhost.com\/kb\/how-can-i-restore-old-settings-to-my-cpanel-server\/","og_site_name":"Knowledge Base - bodHOST","article_published_time":"2021-09-08T12:14:55+00:00","article_modified_time":"2026-02-26T14:03:08+00:00","author":"Serena","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Serena","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.bodhost.com\/kb\/how-can-i-restore-old-settings-to-my-cpanel-server\/#article","isPartOf":{"@id":"https:\/\/www.bodhost.com\/kb\/how-can-i-restore-old-settings-to-my-cpanel-server\/"},"author":{"name":"Serena","@id":"https:\/\/www.bodhost.com\/kb\/#\/schema\/person\/ffd3f118493c99471ae5bd4790a55830"},"headline":"How Can I Restore Old Settings to My cPanel Server?","datePublished":"2021-09-08T12:14:55+00:00","dateModified":"2026-02-26T14:03:08+00:00","mainEntityOfPage":{"@id":"https:\/\/www.bodhost.com\/kb\/how-can-i-restore-old-settings-to-my-cpanel-server\/"},"wordCount":120,"publisher":{"@id":"https:\/\/www.bodhost.com\/kb\/#organization"},"keywords":["cpanel server"],"articleSection":["cPanel"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.bodhost.com\/kb\/how-can-i-restore-old-settings-to-my-cpanel-server\/","url":"https:\/\/www.bodhost.com\/kb\/how-can-i-restore-old-settings-to-my-cpanel-server\/","name":"How Can I Restore Old Settings to My cPanel Server?","isPartOf":{"@id":"https:\/\/www.bodhost.com\/kb\/#website"},"datePublished":"2021-09-08T12:14:55+00:00","dateModified":"2026-02-26T14:03:08+00:00","description":"In this article you will find, How to restore old settings to cPanel server.","breadcrumb":{"@id":"https:\/\/www.bodhost.com\/kb\/how-can-i-restore-old-settings-to-my-cpanel-server\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.bodhost.com\/kb\/how-can-i-restore-old-settings-to-my-cpanel-server\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.bodhost.com\/kb\/how-can-i-restore-old-settings-to-my-cpanel-server\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"cPanel","item":"https:\/\/www.bodhost.com\/kb\/category\/cpanel\/"},{"@type":"ListItem","position":2,"name":"How Can I Restore Old Settings to My cPanel Server?"}]},{"@type":"WebSite","@id":"https:\/\/www.bodhost.com\/kb\/#website","url":"https:\/\/www.bodhost.com\/kb\/","name":"Web Hosting Knowledge Base | bodHOST Hosting FAQ","description":"","publisher":{"@id":"https:\/\/www.bodhost.com\/kb\/#organization"},"alternateName":"Web Hosting Knowledge Base | bodHOST Hosting FAQ","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.bodhost.com\/kb\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.bodhost.com\/kb\/#organization","name":"Web Hosting Knowledge Base | bodHOST Hosting FAQ","url":"https:\/\/www.bodhost.com\/kb\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.bodhost.com\/kb\/#\/schema\/logo\/image\/","url":"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2025\/10\/Profile-Pic.png","contentUrl":"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2025\/10\/Profile-Pic.png","width":240,"height":240,"caption":"Web Hosting Knowledge Base | bodHOST Hosting FAQ"},"image":{"@id":"https:\/\/www.bodhost.com\/kb\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.bodhost.com\/kb\/#\/schema\/person\/ffd3f118493c99471ae5bd4790a55830","name":"Serena","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/8bf3c9f6220a13a4d46295ad7c38a0c9e351ca3a57d0e417580c8e8b83a12a50?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/8bf3c9f6220a13a4d46295ad7c38a0c9e351ca3a57d0e417580c8e8b83a12a50?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/8bf3c9f6220a13a4d46295ad7c38a0c9e351ca3a57d0e417580c8e8b83a12a50?s=96&d=mm&r=g","caption":"Serena"},"url":"https:\/\/www.bodhost.com\/kb\/author\/seema\/"}]}},"_links":{"self":[{"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/posts\/6574","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/users\/21"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/comments?post=6574"}],"version-history":[{"count":8,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/posts\/6574\/revisions"}],"predecessor-version":[{"id":11940,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/posts\/6574\/revisions\/11940"}],"wp:attachment":[{"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/media?parent=6574"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/categories?post=6574"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/tags?post=6574"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}