{"id":2361,"date":"2024-01-13T11:49:58","date_gmt":"2024-01-13T11:49:58","guid":{"rendered":"https:\/\/pheonixsolutions.com\/knowledge-base\/?p=2361"},"modified":"2026-07-01T08:02:59","modified_gmt":"2026-07-01T08:02:59","slug":"how-to-generate-a-backup-and-restore-the-entire-cpanel-account-using-the-command-line-interface","status":"publish","type":"post","link":"https:\/\/pheonixsolutions.com\/knowledge-base\/2024\/01\/13\/how-to-generate-a-backup-and-restore-the-entire-cpanel-account-using-the-command-line-interface\/","title":{"rendered":"How to Generate and Restore a Full cPanel Account Backup Using CLI"},"content":{"rendered":"\n<h3 class=\"wp-block-heading\">Introduction<\/h3>\n\n\n\n<p>Creating and restoring backups of cPanel accounts is an important task for server administrators. It helps protect website files, databases, emails, DNS records, and account configurations.<\/p>\n\n\n\n<p>In cPanel\/WHM servers, we can use command-line tools like <code>pkgacct<\/code> to generate a full account backup and <code>restorepkg<\/code> to restore the account from the backup file. This method is useful when handling migrations, disaster recovery, or manual account backups.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">Prerequisites<\/h3>\n\n\n\n<p>Before starting the backup and restore process, make sure the following requirements are met:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li class=\"has-black-color has-text-color has-link-color wp-elements-21b66d17d9103526eea12f0f237e8086\">Root SSH access to the cPanel\/WHM server.<\/li>\n\n\n\n<li class=\"has-black-color has-text-color has-link-color wp-elements-3b479c0c570b94f7bf18e97d5b91a673\">The cPanel account username is available.<\/li>\n\n\n\n<li class=\"has-black-color has-text-color has-link-color wp-elements-c64e8afa0f7564856fbb851e2b26aaa0\">Sufficient disk space is available on the server to store the backup file.<\/li>\n\n\n\n<li class=\"has-black-color has-text-color has-link-color wp-elements-7a69ae9e844c4e316c6ba6f36af93b08\">The backup destination path exists and has proper permissions.<\/li>\n\n\n\n<li class=\"has-black-color has-text-color has-link-color wp-elements-66d718933d67c4aba8ceceb53caf11e9\">The server has cPanel\/WHM installed.<\/li>\n\n\n\n<li class=\"has-black-color has-text-color has-link-color wp-elements-beb73ef759be52d4f9499f4388866e07\">For restoration, ensure the backup file is available on the destination server.<\/li>\n\n\n\n<li class=\"has-black-color has-text-color has-link-color wp-elements-8d71784ec6048e389dd6531d5f7d6373\">It is recommended to perform restoration during non-peak hours to avoid service impact.<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Backup Generation Steps<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Step 1: Connect to the Server via SSH<\/h3>\n\n\n\n<p>Log in to the server using SSH as the root user.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ssh root@SERVER_IP_ADDRESS\n<\/code><\/pre>\n\n\n\n<p>Replace <code>SERVER_IP_ADDRESS<\/code> with the actual server IP address.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">Step 2: Go to the cPanel Scripts Directory<\/h3>\n\n\n\n<p>Navigate to the cPanel scripts directory.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cd \/scripts\n<\/code><\/pre>\n\n\n\n<p>Alternatively, you can use:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cd \/usr\/local\/cpanel\/scripts\n<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">Step 3: Generate the cPanel Account Backup<\/h3>\n\n\n\n<p>Use the <code>pkgacct<\/code> command to create a full backup of the cPanel account.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>.\/pkgacct ACCOUNT_USERNAME DESTINATION_PATH\n<\/code><\/pre>\n\n\n\n<p>Example:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>.\/pkgacct exampleuser \/backup\n<\/code><\/pre>\n\n\n\n<p>This command will generate a full backup of the <code>exampleuser<\/code> cPanel account and store it in the <code>\/backup<\/code> directory.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">Step 4: Monitor the Backup Process<\/h3>\n\n\n\n<p>The backup process may take some time depending on the account size. You can monitor the progress directly in the terminal.<\/p>\n\n\n\n<p>Once completed, the backup file will be created in the destination path with a name similar to:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cpmove-ACCOUNT_USERNAME.tar.gz\n<\/code><\/pre>\n\n\n\n<p>Example:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cpmove-exampleuser.tar.gz\n<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">Step 5: Verify the Backup File<\/h3>\n\n\n\n<p>After the backup is completed, verify that the backup file exists.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ls -lh \/backup\/cpmove-ACCOUNT_USERNAME.tar.gz\n<\/code><\/pre>\n\n\n\n<p>Example:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ls -lh \/backup\/cpmove-exampleuser.tar.gz\n<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Restoration Steps<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Step 1: Connect to the Destination Server via SSH<\/h3>\n\n\n\n<p>Log in to the server where the cPanel account needs to be restored.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ssh root@SERVER_IP_ADDRESS\n<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">Step 2: Move the Backup File to the Correct Location<\/h3>\n\n\n\n<p>Place the backup file in one of the supported locations, such as:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/home\n\/root\n\/usr\/local\/cpanel\n\/backup\n<\/code><\/pre>\n\n\n\n<p>Example:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>mv cpmove-exampleuser.tar.gz \/home\/\n<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">Step 3: Go to the cPanel Scripts Directory<\/h3>\n\n\n\n<p>Navigate to the cPanel scripts directory.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cd \/scripts\n<\/code><\/pre>\n\n\n\n<p>Or:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cd \/usr\/local\/cpanel\/scripts\n<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">Step 4: Restore the cPanel Account<\/h3>\n\n\n\n<p>Use the <code>restorepkg<\/code> command to restore the full cPanel account.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>.\/restorepkg BACKUP_FILENAME\n<\/code><\/pre>\n\n\n\n<p>Example:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>.\/restorepkg \/home\/cpmove-exampleuser.tar.gz\n<\/code><\/pre>\n\n\n\n<p>You can also restore using only the username if the backup file is already in a supported location:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>.\/restorepkg exampleuser\n<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">Step 5: Monitor the Restoration Process<\/h3>\n\n\n\n<p>The restore process will display progress in the terminal. It will restore the account files, databases, email accounts, DNS records, and other cPanel configurations.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">Step 6: Verify the Restored Account<\/h3>\n\n\n\n<p>After the restoration is completed, verify the account from WHM.<\/p>\n\n\n\n<p>Check the following:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li class=\"has-black-color has-text-color has-link-color wp-elements-390345b263b3df628520e6d08c068bb1\">cPanel account is listed in WHM.<\/li>\n\n\n\n<li class=\"has-black-color has-text-color has-link-color wp-elements-0cac61aed769c1cce0fcdc326c8903d3\">Website files are restored.<\/li>\n\n\n\n<li class=\"has-black-color has-text-color has-link-color wp-elements-def19ad633a4ea69cff401114942d861\">Databases are restored.<\/li>\n\n\n\n<li class=\"has-black-color has-text-color has-link-color wp-elements-35dc01128c06871d0d28cabb8132ab57\">Email accounts are available.<\/li>\n\n\n\n<li class=\"has-black-color has-text-color has-link-color wp-elements-c9406b7ae59e92a785736b63dca5a1e4\">DNS records are correct.<\/li>\n\n\n\n<li class=\"has-black-color has-text-color has-link-color wp-elements-adf0904d891e2301db6cf42e8924f827\">Website is loading properly.<\/li>\n\n\n\n<li class=\"has-black-color has-text-color has-link-color wp-elements-a029a59e870c2bdbb7a3f009f8be7e9c\">SSL and PHP settings are working as expected.<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Useful Commands<\/h2>\n\n\n\n<p>To check available disk space:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>df -h\n<\/code><\/pre>\n\n\n\n<p>To check backup file size:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ls -lh \/backup\/\n<\/code><\/pre>\n\n\n\n<p>To generate backup using full path:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/usr\/local\/cpanel\/scripts\/pkgacct ACCOUNT_USERNAME \/backup\n<\/code><\/pre>\n\n\n\n<p>To restore backup using full path:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/usr\/local\/cpanel\/scripts\/restorepkg \/home\/cpmove-ACCOUNT_USERNAME.tar.gz\n<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">Conclusion<\/h3>\n\n\n\n<p>Generating and restoring full cPanel account backups through the command line is a reliable method for server migration, disaster recovery, and manual backup management.<\/p>\n\n\n\n<p>Using <code>pkgacct<\/code>, we can create a complete backup of a cPanel account, including website files, databases, emails, and configurations. Using <code>restorepkg<\/code>, we can restore the account safely on the same or another cPanel server.<\/p>\n\n\n\n<p>It is recommended to verify the backup file after generation and carefully test the restored account to ensure all services are working properly.<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction Creating and restoring backups of cPanel accounts is an important task for server administrators. It helps protect website files, databases, emails, DNS records, and account configurations. In cPanel\/WHM servers, we can use command-line tools like pkgacct to generate a full account backup and restorepkg to restore the account from the backup file. This method ..<\/p>\n<div class=\"clear-fix\"><\/div>\n<p><a href=\"https:\/\/pheonixsolutions.com\/knowledge-base\/2024\/01\/13\/how-to-generate-a-backup-and-restore-the-entire-cpanel-account-using-the-command-line-interface\/\" title=\"read more...\">Read more<\/a><\/p>\n","protected":false},"author":6,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[1],"tags":[],"class_list":["post-2361","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Generate and Restore a Full cPanel Account Backup Using CLI - PheonixSolutions Knowledge-Base<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/pheonixsolutions.com\/knowledge-base\/2024\/01\/13\/how-to-generate-a-backup-and-restore-the-entire-cpanel-account-using-the-command-line-interface\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Generate and Restore a Full cPanel Account Backup Using CLI - PheonixSolutions Knowledge-Base\" \/>\n<meta property=\"og:description\" content=\"Introduction Creating and restoring backups of cPanel accounts is an important task for server administrators. It helps protect website files, databases, emails, DNS records, and account configurations. In cPanel\/WHM servers, we can use command-line tools like pkgacct to generate a full account backup and restorepkg to restore the account from the backup file. This method ..Read more\" \/>\n<meta property=\"og:url\" content=\"https:\/\/pheonixsolutions.com\/knowledge-base\/2024\/01\/13\/how-to-generate-a-backup-and-restore-the-entire-cpanel-account-using-the-command-line-interface\/\" \/>\n<meta property=\"og:site_name\" content=\"PheonixSolutions Knowledge-Base\" \/>\n<meta property=\"article:published_time\" content=\"2024-01-13T11:49:58+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-07-01T08:02:59+00:00\" \/>\n<meta name=\"author\" content=\"Saikrishna Areddy\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Saikrishna Areddy\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2024\\\/01\\\/13\\\/how-to-generate-a-backup-and-restore-the-entire-cpanel-account-using-the-command-line-interface\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2024\\\/01\\\/13\\\/how-to-generate-a-backup-and-restore-the-entire-cpanel-account-using-the-command-line-interface\\\/\"},\"author\":{\"name\":\"Saikrishna Areddy\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/#\\\/schema\\\/person\\\/8a5f4b5a8e71659e5a3bbee27663d9ba\"},\"headline\":\"How to Generate and Restore a Full cPanel Account Backup Using CLI\",\"datePublished\":\"2024-01-13T11:49:58+00:00\",\"dateModified\":\"2026-07-01T08:02:59+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2024\\\/01\\\/13\\\/how-to-generate-a-backup-and-restore-the-entire-cpanel-account-using-the-command-line-interface\\\/\"},\"wordCount\":577,\"commentCount\":0,\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2024\\\/01\\\/13\\\/how-to-generate-a-backup-and-restore-the-entire-cpanel-account-using-the-command-line-interface\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2024\\\/01\\\/13\\\/how-to-generate-a-backup-and-restore-the-entire-cpanel-account-using-the-command-line-interface\\\/\",\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2024\\\/01\\\/13\\\/how-to-generate-a-backup-and-restore-the-entire-cpanel-account-using-the-command-line-interface\\\/\",\"name\":\"How to Generate and Restore a Full cPanel Account Backup Using CLI - PheonixSolutions Knowledge-Base\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/#website\"},\"datePublished\":\"2024-01-13T11:49:58+00:00\",\"dateModified\":\"2026-07-01T08:02:59+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/#\\\/schema\\\/person\\\/8a5f4b5a8e71659e5a3bbee27663d9ba\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2024\\\/01\\\/13\\\/how-to-generate-a-backup-and-restore-the-entire-cpanel-account-using-the-command-line-interface\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2024\\\/01\\\/13\\\/how-to-generate-a-backup-and-restore-the-entire-cpanel-account-using-the-command-line-interface\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2024\\\/01\\\/13\\\/how-to-generate-a-backup-and-restore-the-entire-cpanel-account-using-the-command-line-interface\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Generate and Restore a Full cPanel Account Backup Using CLI\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/#website\",\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/\",\"name\":\"PheonixSolutions Knowledge-Base\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/#\\\/schema\\\/person\\\/8a5f4b5a8e71659e5a3bbee27663d9ba\",\"name\":\"Saikrishna Areddy\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/219fb50fa61a168b58a5e704d05058f958504aa8324675172185e3f0e8b3fd24?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/219fb50fa61a168b58a5e704d05058f958504aa8324675172185e3f0e8b3fd24?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/219fb50fa61a168b58a5e704d05058f958504aa8324675172185e3f0e8b3fd24?s=96&d=mm&r=g\",\"caption\":\"Saikrishna Areddy\"},\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/author\\\/saikrishna\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Generate and Restore a Full cPanel Account Backup Using CLI - PheonixSolutions Knowledge-Base","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:\/\/pheonixsolutions.com\/knowledge-base\/2024\/01\/13\/how-to-generate-a-backup-and-restore-the-entire-cpanel-account-using-the-command-line-interface\/","og_locale":"en_US","og_type":"article","og_title":"How to Generate and Restore a Full cPanel Account Backup Using CLI - PheonixSolutions Knowledge-Base","og_description":"Introduction Creating and restoring backups of cPanel accounts is an important task for server administrators. It helps protect website files, databases, emails, DNS records, and account configurations. In cPanel\/WHM servers, we can use command-line tools like pkgacct to generate a full account backup and restorepkg to restore the account from the backup file. This method ..Read more","og_url":"https:\/\/pheonixsolutions.com\/knowledge-base\/2024\/01\/13\/how-to-generate-a-backup-and-restore-the-entire-cpanel-account-using-the-command-line-interface\/","og_site_name":"PheonixSolutions Knowledge-Base","article_published_time":"2024-01-13T11:49:58+00:00","article_modified_time":"2026-07-01T08:02:59+00:00","author":"Saikrishna Areddy","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Saikrishna Areddy","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/2024\/01\/13\/how-to-generate-a-backup-and-restore-the-entire-cpanel-account-using-the-command-line-interface\/#article","isPartOf":{"@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/2024\/01\/13\/how-to-generate-a-backup-and-restore-the-entire-cpanel-account-using-the-command-line-interface\/"},"author":{"name":"Saikrishna Areddy","@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/#\/schema\/person\/8a5f4b5a8e71659e5a3bbee27663d9ba"},"headline":"How to Generate and Restore a Full cPanel Account Backup Using CLI","datePublished":"2024-01-13T11:49:58+00:00","dateModified":"2026-07-01T08:02:59+00:00","mainEntityOfPage":{"@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/2024\/01\/13\/how-to-generate-a-backup-and-restore-the-entire-cpanel-account-using-the-command-line-interface\/"},"wordCount":577,"commentCount":0,"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/pheonixsolutions.com\/knowledge-base\/2024\/01\/13\/how-to-generate-a-backup-and-restore-the-entire-cpanel-account-using-the-command-line-interface\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/2024\/01\/13\/how-to-generate-a-backup-and-restore-the-entire-cpanel-account-using-the-command-line-interface\/","url":"https:\/\/pheonixsolutions.com\/knowledge-base\/2024\/01\/13\/how-to-generate-a-backup-and-restore-the-entire-cpanel-account-using-the-command-line-interface\/","name":"How to Generate and Restore a Full cPanel Account Backup Using CLI - PheonixSolutions Knowledge-Base","isPartOf":{"@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/#website"},"datePublished":"2024-01-13T11:49:58+00:00","dateModified":"2026-07-01T08:02:59+00:00","author":{"@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/#\/schema\/person\/8a5f4b5a8e71659e5a3bbee27663d9ba"},"breadcrumb":{"@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/2024\/01\/13\/how-to-generate-a-backup-and-restore-the-entire-cpanel-account-using-the-command-line-interface\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/pheonixsolutions.com\/knowledge-base\/2024\/01\/13\/how-to-generate-a-backup-and-restore-the-entire-cpanel-account-using-the-command-line-interface\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/2024\/01\/13\/how-to-generate-a-backup-and-restore-the-entire-cpanel-account-using-the-command-line-interface\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/pheonixsolutions.com\/knowledge-base\/"},{"@type":"ListItem","position":2,"name":"How to Generate and Restore a Full cPanel Account Backup Using CLI"}]},{"@type":"WebSite","@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/#website","url":"https:\/\/pheonixsolutions.com\/knowledge-base\/","name":"PheonixSolutions Knowledge-Base","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/pheonixsolutions.com\/knowledge-base\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/#\/schema\/person\/8a5f4b5a8e71659e5a3bbee27663d9ba","name":"Saikrishna Areddy","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/219fb50fa61a168b58a5e704d05058f958504aa8324675172185e3f0e8b3fd24?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/219fb50fa61a168b58a5e704d05058f958504aa8324675172185e3f0e8b3fd24?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/219fb50fa61a168b58a5e704d05058f958504aa8324675172185e3f0e8b3fd24?s=96&d=mm&r=g","caption":"Saikrishna Areddy"},"url":"https:\/\/pheonixsolutions.com\/knowledge-base\/author\/saikrishna\/"}]}},"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-json\/wp\/v2\/posts\/2361","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-json\/wp\/v2\/comments?post=2361"}],"version-history":[{"count":6,"href":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-json\/wp\/v2\/posts\/2361\/revisions"}],"predecessor-version":[{"id":3899,"href":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-json\/wp\/v2\/posts\/2361\/revisions\/3899"}],"wp:attachment":[{"href":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-json\/wp\/v2\/media?parent=2361"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-json\/wp\/v2\/categories?post=2361"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-json\/wp\/v2\/tags?post=2361"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}