{"id":6425,"date":"2020-08-10T09:13:17","date_gmt":"2020-08-10T09:13:17","guid":{"rendered":"https:\/\/www.bodhost.com\/kb\/?p=6425"},"modified":"2026-02-26T14:03:10","modified_gmt":"2026-02-26T14:03:10","slug":"how-can-you-backup-and-restore-individual-cpanel-account-using-ssh","status":"publish","type":"post","link":"https:\/\/www.bodhost.com\/kb\/how-can-you-backup-and-restore-individual-cpanel-account-using-ssh\/","title":{"rendered":"How Can You Backup and Restore Individual cPanel Account using SSH?"},"content":{"rendered":"\r\n<p class=\"wp-block-paragraph\">Taking the backup of your hosting account is important for your business to stay afloat digitally. A business of any size needs to back up all the data regularly. With cPanel, you get some ready-made scripts that will help you in making tasks easier. Commands like pkgacct are used for taking backups of your cPanel accounts and restorepkg is used for restoring cPanel accounts using SSH or command-line interfaces.<\/p>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\"><strong>How to create backups of individual cPanel accounts using SSH?<\/strong><\/h4>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">Step 1: Log in to SSH as a Root user<\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">Step 2: Enter the below command string over the command-line interface-<\/p>\r\n\r\n\r\n\r\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\r\n<p class=\"wp-block-paragraph\"><strong>\/scripts\/pkgacct &lt;enter username&gt;<\/strong><\/p>\r\n<\/blockquote>\r\n\r\n\r\n\r\n<h4 class=\"wp-block-heading\"><strong>\u00a0<\/strong><strong>How to restore the backups of individual cPanel accounts using SSH?<\/strong><\/h4>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">Step 1: To restore the cPanel account backups, enter the command given below-<\/p>\r\n\r\n\r\n\r\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\r\n<p class=\"wp-block-paragraph\"><strong>\/scripts\/restorepkg &lt;enter username&gt;<\/strong><\/p>\r\n<\/blockquote>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\"><strong>Important:<\/strong><\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">To restore this data, you need to be present in the directory where you have stored the backup file<\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">The above-discussed method(s) are the basic and easiest way for backing up and restoring your cPanel Web Hosting accounts using the command line interface<\/p>\r\n","protected":false},"excerpt":{"rendered":"<p>Taking the backup of your hosting account is important for your business to stay afloat digitally. A business of any size needs to back up all the data regularly. With&hellip;<\/p>\n<p><a href=\"https:\/\/www.bodhost.com\/kb\/how-can-you-backup-and-restore-individual-cpanel-account-using-ssh\/\" class=\"more-link\">Read More<\/a><\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[830],"tags":[851,852,853],"class_list":["post-6425","post","type-post","status-publish","format-standard","hentry","category-cpanel","tag-backup-and-restore","tag-backup-cpanel-account","tag-restore-cpanel-account"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Backup &amp; Restore cPanel Account using SSH? | bodHOST<\/title>\n<meta name=\"description\" content=\"Backing up your hosting account is very necessary for your business to survive on Internet. Lets check how to back up cPanel hosting account.\" \/>\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-you-backup-and-restore-individual-cpanel-account-using-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 &amp; Restore cPanel Account using SSH? | bodHOST\" \/>\n<meta property=\"og:description\" content=\"Backing up your hosting account is very necessary for your business to survive on Internet. Lets check how to back up cPanel hosting account.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.bodhost.com\/kb\/how-can-you-backup-and-restore-individual-cpanel-account-using-ssh\/\" \/>\n<meta property=\"og:site_name\" content=\"Knowledge Base - bodHOST\" \/>\n<meta property=\"article:published_time\" content=\"2020-08-10T09:13:17+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-02-26T14:03:10+00:00\" \/>\n<meta name=\"author\" content=\"Paul Lopez\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Paul Lopez\" \/>\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-you-backup-and-restore-individual-cpanel-account-using-ssh\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-can-you-backup-and-restore-individual-cpanel-account-using-ssh\\\/\"},\"author\":{\"name\":\"Paul Lopez\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#\\\/schema\\\/person\\\/566ccff9a2fae4af852be8097b179813\"},\"headline\":\"How Can You Backup and Restore Individual cPanel Account using SSH?\",\"datePublished\":\"2020-08-10T09:13:17+00:00\",\"dateModified\":\"2026-02-26T14:03:10+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-can-you-backup-and-restore-individual-cpanel-account-using-ssh\\\/\"},\"wordCount\":189,\"publisher\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#organization\"},\"keywords\":[\"backup and restore\",\"backup cpanel account\",\"restore cpanel account\"],\"articleSection\":[\"cPanel\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-can-you-backup-and-restore-individual-cpanel-account-using-ssh\\\/\",\"url\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-can-you-backup-and-restore-individual-cpanel-account-using-ssh\\\/\",\"name\":\"How to Backup & Restore cPanel Account using SSH? | bodHOST\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#website\"},\"datePublished\":\"2020-08-10T09:13:17+00:00\",\"dateModified\":\"2026-02-26T14:03:10+00:00\",\"description\":\"Backing up your hosting account is very necessary for your business to survive on Internet. Lets check how to back up cPanel hosting account.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-can-you-backup-and-restore-individual-cpanel-account-using-ssh\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-can-you-backup-and-restore-individual-cpanel-account-using-ssh\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-can-you-backup-and-restore-individual-cpanel-account-using-ssh\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"cPanel\",\"item\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/category\\\/cpanel\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How Can You Backup and Restore Individual cPanel Account using SSH?\"}]},{\"@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\\\/566ccff9a2fae4af852be8097b179813\",\"name\":\"Paul Lopez\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/c63d9f5400cd5ef87b481a24b2c1a4fb89f1674b6391325326cf13f1e735dff8?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/c63d9f5400cd5ef87b481a24b2c1a4fb89f1674b6391325326cf13f1e735dff8?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/c63d9f5400cd5ef87b481a24b2c1a4fb89f1674b6391325326cf13f1e735dff8?s=96&d=mm&r=g\",\"caption\":\"Paul Lopez\"},\"url\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/author\\\/paullopez\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Backup & Restore cPanel Account using SSH? | bodHOST","description":"Backing up your hosting account is very necessary for your business to survive on Internet. Lets check how to back up cPanel hosting account.","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-you-backup-and-restore-individual-cpanel-account-using-ssh\/","og_locale":"en_US","og_type":"article","og_title":"How to Backup & Restore cPanel Account using SSH? | bodHOST","og_description":"Backing up your hosting account is very necessary for your business to survive on Internet. Lets check how to back up cPanel hosting account.","og_url":"https:\/\/www.bodhost.com\/kb\/how-can-you-backup-and-restore-individual-cpanel-account-using-ssh\/","og_site_name":"Knowledge Base - bodHOST","article_published_time":"2020-08-10T09:13:17+00:00","article_modified_time":"2026-02-26T14:03:10+00:00","author":"Paul Lopez","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Paul Lopez","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.bodhost.com\/kb\/how-can-you-backup-and-restore-individual-cpanel-account-using-ssh\/#article","isPartOf":{"@id":"https:\/\/www.bodhost.com\/kb\/how-can-you-backup-and-restore-individual-cpanel-account-using-ssh\/"},"author":{"name":"Paul Lopez","@id":"https:\/\/www.bodhost.com\/kb\/#\/schema\/person\/566ccff9a2fae4af852be8097b179813"},"headline":"How Can You Backup and Restore Individual cPanel Account using SSH?","datePublished":"2020-08-10T09:13:17+00:00","dateModified":"2026-02-26T14:03:10+00:00","mainEntityOfPage":{"@id":"https:\/\/www.bodhost.com\/kb\/how-can-you-backup-and-restore-individual-cpanel-account-using-ssh\/"},"wordCount":189,"publisher":{"@id":"https:\/\/www.bodhost.com\/kb\/#organization"},"keywords":["backup and restore","backup cpanel account","restore cpanel account"],"articleSection":["cPanel"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.bodhost.com\/kb\/how-can-you-backup-and-restore-individual-cpanel-account-using-ssh\/","url":"https:\/\/www.bodhost.com\/kb\/how-can-you-backup-and-restore-individual-cpanel-account-using-ssh\/","name":"How to Backup & Restore cPanel Account using SSH? | bodHOST","isPartOf":{"@id":"https:\/\/www.bodhost.com\/kb\/#website"},"datePublished":"2020-08-10T09:13:17+00:00","dateModified":"2026-02-26T14:03:10+00:00","description":"Backing up your hosting account is very necessary for your business to survive on Internet. Lets check how to back up cPanel hosting account.","breadcrumb":{"@id":"https:\/\/www.bodhost.com\/kb\/how-can-you-backup-and-restore-individual-cpanel-account-using-ssh\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.bodhost.com\/kb\/how-can-you-backup-and-restore-individual-cpanel-account-using-ssh\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.bodhost.com\/kb\/how-can-you-backup-and-restore-individual-cpanel-account-using-ssh\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"cPanel","item":"https:\/\/www.bodhost.com\/kb\/category\/cpanel\/"},{"@type":"ListItem","position":2,"name":"How Can You Backup and Restore Individual cPanel Account using SSH?"}]},{"@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\/566ccff9a2fae4af852be8097b179813","name":"Paul Lopez","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/c63d9f5400cd5ef87b481a24b2c1a4fb89f1674b6391325326cf13f1e735dff8?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/c63d9f5400cd5ef87b481a24b2c1a4fb89f1674b6391325326cf13f1e735dff8?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c63d9f5400cd5ef87b481a24b2c1a4fb89f1674b6391325326cf13f1e735dff8?s=96&d=mm&r=g","caption":"Paul Lopez"},"url":"https:\/\/www.bodhost.com\/kb\/author\/paullopez\/"}]}},"_links":{"self":[{"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/posts\/6425","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\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/comments?post=6425"}],"version-history":[{"count":5,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/posts\/6425\/revisions"}],"predecessor-version":[{"id":12011,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/posts\/6425\/revisions\/12011"}],"wp:attachment":[{"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/media?parent=6425"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/categories?post=6425"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/tags?post=6425"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}