{"id":4845,"date":"2019-06-07T13:06:37","date_gmt":"2019-06-07T07:36:37","guid":{"rendered":"https:\/\/pheonixsolutions.com\/blog\/?p=4845"},"modified":"2019-06-07T13:06:43","modified_gmt":"2019-06-07T07:36:43","slug":"how-to-backup-and-restore-cpanel-account-form-backend","status":"publish","type":"post","link":"https:\/\/pheonixsolutions.com\/blog\/how-to-backup-and-restore-cpanel-account-form-backend\/","title":{"rendered":"How to Backup and Restore cPanel Account form Backend"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">How to Backup and Restore cPanel Account form Backend.<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Date : 05\/06\/2019<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Introduction :<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"> Taking Backup of any hosting account is very necessary &amp; safe. Cpanel provides a scripts which will help to backup &amp; restore becomes more easy. Command pkgacct is used for backup cpanel web hosting accounts and restorepkg is for restoring cpanel accounts via the SSH or command line interface. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Prerequisite :<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Root user password.<\/li><li>Cpanel account username.<\/li><\/ol>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Steps<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>1)<\/strong> Log-in to the server using SSH as Root user. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>2)<\/strong> To <strong>Backup<\/strong> a cpanel account enter the following command on the command line, Instead of username enter your username init.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/scripts\/pkgacct username<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img fetchpriority=\"high\" decoding=\"async\" width=\"561\" height=\"168\" src=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2019\/06\/root.png\" alt=\"\" class=\"wp-image-4860\" srcset=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2019\/06\/root.png 561w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2019\/06\/root-300x90.png 300w\" sizes=\"(max-width: 561px) 100vw, 561px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">After completing backup it display location, size of file and status of backup.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"585\" height=\"182\" src=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2019\/06\/image.png\" alt=\"\" class=\"wp-image-4862\" srcset=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2019\/06\/image.png 585w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2019\/06\/image-300x93.png 300w\" sizes=\"(max-width: 585px) 100vw, 585px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>3)<\/strong> To <strong>Restore<\/strong> a cpanel account enter the following command on the command line, Instead of username enter your username init. <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/scripts\/restorepkg username<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Note &#8211; To restore the file, 1st goto the directory, that to be stored <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\n\nThanks for using&nbsp;<a href=\"https:\/\/pheonixsolutions.com\/\">pheonix solutions<\/a>.<br>You find this tutorial helpful? Share with your friends to keep it alive. \n\n<\/p>\n","protected":false},"excerpt":{"rendered":"<p>How to Backup and Restore cPanel Account form Backend. Date : 05\/06\/2019 Introduction : Taking Backup of any hosting account [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[1019],"tags":[249,182,263],"class_list":["post-4845","post","type-post","status-publish","format-standard","hentry","category-cloud-aws","tag-backend","tag-backup","tag-cpanel","psol-cat-cloud-aws"],"jetpack_publicize_connections":[],"jetpack_shortlink":"https:\/\/wp.me\/phn2x7-1g9","jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/4845","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/comments?post=4845"}],"version-history":[{"count":0,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/4845\/revisions"}],"wp:attachment":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/media?parent=4845"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/categories?post=4845"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/tags?post=4845"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}