{"id":2023,"date":"2021-09-20T09:59:32","date_gmt":"2021-09-20T09:59:32","guid":{"rendered":"https:\/\/ownwebservers.com\/kb\/?p=2023"},"modified":"2021-09-20T09:59:32","modified_gmt":"2021-09-20T09:59:32","slug":"how-to-backup-and-restore-individual-cpanel-account-via-ssh","status":"publish","type":"post","link":"https:\/\/ownwebservers.com\/kb\/how-to-backup-and-restore-individual-cpanel-account-via-ssh\/","title":{"rendered":"How to Backup and Restore Individual cPanel Account via SSH"},"content":{"rendered":"<p>Backing up your hosting account is very necessary for your business to survive on web. whether or not it&#8217;s small or large business, you have to backup all of your data frequently a minimum of once every week. cPanel provides some nice prepared ready made scripts which can assist you to build your tasks easier. Commands like pkgacct is essentially used for backing up cpanel web hosting accounts and restorepkg for restoring cpanel accounts via the SSH or command line interface.<\/p>\n<p><strong>How to create backup of Individual cPanel Account via SSH?<\/strong><\/p>\n<p><strong>Step 1:<\/strong>\u00a0Log-in to the SSH as Root user.<\/p>\n<p><strong>Step 2:<\/strong>\u00a0Enter the following command string on the command line interface:<\/p>\n<blockquote><p><strong><em>\/scripts\/pkgacct username<\/em><\/strong><\/p><\/blockquote>\n<p>[Note: The account backup will be created in the current directory you are in.]<\/p>\n<p><strong>How to Restore the Individual cPanel Account via SSH?<\/strong><\/p>\n<p><strong>Step 1:<\/strong>\u00a0To restore the cPanel account backups, enter the following command<\/p>\n<blockquote><p><strong><em>\/scripts\/restorepkg username<\/em><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p>Note: In order to restore the data, you need to be in the directory where the backup file is stored.<\/p><\/blockquote>\n<p>This is the simplest way to backup and restore individual cPanel web hosting\u00a0accounts via command line interface.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Backing up your hosting account is very necessary for your business to survive on web. whether or not it&#8217;s small or large business, you have to backup all of your data frequently a minimum of once every week. cPanel provides some nice prepared ready made scripts which can assist you to build your tasks easier. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-2023","post","type-post","status-publish","format-standard","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v15.2.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Backup and Restore Individual cPanel Account via SSH - OWS KB<\/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:\/\/ownwebservers.com\/kb\/how-to-backup-and-restore-individual-cpanel-account-via-ssh\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Backup and Restore Individual cPanel Account via SSH - OWS KB\" \/>\n<meta property=\"og:description\" content=\"Backing up your hosting account is very necessary for your business to survive on web. whether or not it&#8217;s small or large business, you have to backup all of your data frequently a minimum of once every week. cPanel provides some nice prepared ready made scripts which can assist you to build your tasks easier. [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/ownwebservers.com\/kb\/how-to-backup-and-restore-individual-cpanel-account-via-ssh\/\" \/>\n<meta property=\"og:site_name\" content=\"OWS KB\" \/>\n<meta property=\"article:published_time\" content=\"2021-09-20T09:59:32+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\">\n\t<meta name=\"twitter:data1\" content=\"admin\">\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\":\"WebSite\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/#website\",\"url\":\"https:\/\/ownwebservers.com\/kb\/\",\"name\":\"OWS KB\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":\"https:\/\/ownwebservers.com\/kb\/?s={search_term_string}\",\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/how-to-backup-and-restore-individual-cpanel-account-via-ssh\/#webpage\",\"url\":\"https:\/\/ownwebservers.com\/kb\/how-to-backup-and-restore-individual-cpanel-account-via-ssh\/\",\"name\":\"How to Backup and Restore Individual cPanel Account via SSH - OWS KB\",\"isPartOf\":{\"@id\":\"https:\/\/ownwebservers.com\/kb\/#website\"},\"datePublished\":\"2021-09-20T09:59:32+00:00\",\"dateModified\":\"2021-09-20T09:59:32+00:00\",\"author\":{\"@id\":\"https:\/\/ownwebservers.com\/kb\/#\/schema\/person\/4a40fe3fe17a08ddd1d7c113668e75f2\"},\"breadcrumb\":{\"@id\":\"https:\/\/ownwebservers.com\/kb\/how-to-backup-and-restore-individual-cpanel-account-via-ssh\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/ownwebservers.com\/kb\/how-to-backup-and-restore-individual-cpanel-account-via-ssh\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/how-to-backup-and-restore-individual-cpanel-account-via-ssh\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"item\":{\"@type\":\"WebPage\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/\",\"url\":\"https:\/\/ownwebservers.com\/kb\/\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"position\":2,\"item\":{\"@type\":\"WebPage\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/how-to-backup-and-restore-individual-cpanel-account-via-ssh\/\",\"url\":\"https:\/\/ownwebservers.com\/kb\/how-to-backup-and-restore-individual-cpanel-account-via-ssh\/\",\"name\":\"How to Backup and Restore Individual cPanel Account via SSH\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/#\/schema\/person\/4a40fe3fe17a08ddd1d7c113668e75f2\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/ba5db5841d48bd7517bb2583e13983e6d2fa56a4099a0b3c61ad2daefc321303?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"sameAs\":[\"https:\/\/ownwebservers.com\/kb\"]}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","_links":{"self":[{"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/posts\/2023","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/comments?post=2023"}],"version-history":[{"count":1,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/posts\/2023\/revisions"}],"predecessor-version":[{"id":2024,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/posts\/2023\/revisions\/2024"}],"wp:attachment":[{"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/media?parent=2023"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/categories?post=2023"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/tags?post=2023"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}