{"id":40888,"date":"2021-09-28T10:53:51","date_gmt":"2021-09-28T15:53:51","guid":{"rendered":"https:\/\/webirix.com\/?p=40888"},"modified":"2021-10-15T10:28:46","modified_gmt":"2021-10-15T15:28:46","slug":"restaurar-cuenta-de-cpanel-en-whm-desde-terminal","status":"publish","type":"post","link":"https:\/\/webirix.com\/en\/restaurar-cuenta-de-cpanel-en-whm-desde-terminal\/","title":{"rendered":"Restore cPanel account in WHM from Terminal"},"content":{"rendered":"<p>In order to restore the cPanel account in your WHM we must first enter our WHM:<\/p>\n<p>server_name \/ whm<\/p>\n<p>server_ip \/ whm<\/p>\n<p><a href=\"https:\/\/webirix.com\/wp-content\/uploads\/2021\/09\/1-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-40889\" src=\"https:\/\/webirix.com\/wp-content\/uploads\/2021\/09\/1-1-300x190.png\" alt=\"\" width=\"300\" height=\"190\" srcset=\"https:\/\/webirix.com\/wp-content\/uploads\/2021\/09\/1-1-300x190.png 300w, https:\/\/webirix.com\/wp-content\/uploads\/2021\/09\/1-1-768x488.png 768w, https:\/\/webirix.com\/wp-content\/uploads\/2021\/09\/1-1-18x12.png 18w, https:\/\/webirix.com\/wp-content\/uploads\/2021\/09\/1-1-335x213.png 335w, https:\/\/webirix.com\/wp-content\/uploads\/2021\/09\/1-1.png 912w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Once inside we are going to go to the terminal, in our WHM search engine we put terminal:<\/p>\n<p><a href=\"https:\/\/webirix.com\/wp-content\/uploads\/2021\/09\/2-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-40890\" src=\"https:\/\/webirix.com\/wp-content\/uploads\/2021\/09\/2-1-300x182.png\" alt=\"\" width=\"300\" height=\"182\" srcset=\"https:\/\/webirix.com\/wp-content\/uploads\/2021\/09\/2-1-300x182.png 300w, https:\/\/webirix.com\/wp-content\/uploads\/2021\/09\/2-1-768x466.png 768w, https:\/\/webirix.com\/wp-content\/uploads\/2021\/09\/2-1-18x12.png 18w, https:\/\/webirix.com\/wp-content\/uploads\/2021\/09\/2-1-335x203.png 335w, https:\/\/webirix.com\/wp-content\/uploads\/2021\/09\/2-1.png 890w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Now we must have them well identified where we have our support.<\/p>\n<p>Once our backup is identified, we must send it to our server.<\/p>\n<p>Within our WHM we enter home:<\/p>\n<p>cd \/ home<\/p>\n<p><a href=\"https:\/\/webirix.com\/wp-content\/uploads\/2021\/09\/3-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-40891\" src=\"https:\/\/webirix.com\/wp-content\/uploads\/2021\/09\/3-1-300x154.png\" alt=\"\" width=\"300\" height=\"154\" srcset=\"https:\/\/webirix.com\/wp-content\/uploads\/2021\/09\/3-1-300x154.png 300w, https:\/\/webirix.com\/wp-content\/uploads\/2021\/09\/3-1-768x395.png 768w, https:\/\/webirix.com\/wp-content\/uploads\/2021\/09\/3-1-18x9.png 18w, https:\/\/webirix.com\/wp-content\/uploads\/2021\/09\/3-1-335x172.png 335w, https:\/\/webirix.com\/wp-content\/uploads\/2021\/09\/3-1.png 822w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Once inside home we put the following command to be able to have the backup of the account in our WHM:<\/p>\n<p>scp user @ server_ip: backup_path \/ backup_name \/ home<\/p>\n<p><strong>Example:<\/strong><\/p>\n<p>scp root @ server_ip: backup_path \/ home<\/p>\n<p>By putting this command, it will ask us for the password of the server from which we are sending the backup:<\/p>\n<p><a href=\"https:\/\/webirix.com\/wp-content\/uploads\/2021\/09\/4-4.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-40936\" src=\"https:\/\/webirix.com\/wp-content\/uploads\/2021\/09\/4-4-300x43.png\" alt=\"\" width=\"300\" height=\"43\" srcset=\"https:\/\/webirix.com\/wp-content\/uploads\/2021\/09\/4-4-300x43.png 300w, https:\/\/webirix.com\/wp-content\/uploads\/2021\/09\/4-4-1024x147.png 1024w, https:\/\/webirix.com\/wp-content\/uploads\/2021\/09\/4-4-768x110.png 768w, https:\/\/webirix.com\/wp-content\/uploads\/2021\/09\/4-4-18x3.png 18w, https:\/\/webirix.com\/wp-content\/uploads\/2021\/09\/4-4-335x48.png 335w, https:\/\/webirix.com\/wp-content\/uploads\/2021\/09\/4-4-1080x158.png 1080w, https:\/\/webirix.com\/wp-content\/uploads\/2021\/09\/4-4.png 1102w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>We must put the correct password, once the password is entered, the backup will begin to pass.<\/p>\n<p><a href=\"https:\/\/webirix.com\/wp-content\/uploads\/2021\/09\/5-3.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-40938\" src=\"https:\/\/webirix.com\/wp-content\/uploads\/2021\/09\/5-3-300x27.png\" alt=\"\" width=\"300\" height=\"27\" srcset=\"https:\/\/webirix.com\/wp-content\/uploads\/2021\/09\/5-3-300x27.png 300w, https:\/\/webirix.com\/wp-content\/uploads\/2021\/09\/5-3-1024x93.png 1024w, https:\/\/webirix.com\/wp-content\/uploads\/2021\/09\/5-3-768x69.png 768w, https:\/\/webirix.com\/wp-content\/uploads\/2021\/09\/5-3-18x2.png 18w, https:\/\/webirix.com\/wp-content\/uploads\/2021\/09\/5-3-335x30.png 335w, https:\/\/webirix.com\/wp-content\/uploads\/2021\/09\/5-3.png 1061w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Now that we have the backup of the account in our WHM we must run the following command to be able to restore it:<\/p>\n<p>\/ scripts \/ restorepkg \/ home \/<b>backup_name<\/b><\/p>\n<p>In this case it would be:<\/p>\n<p>\/ scripts \/ restorepkg \/home\/cpmove-brauliok.tar.gz<\/p>\n<p>With the previous command, the account will begin to be restored showing the following screen:<\/p>\n<p><a href=\"https:\/\/webirix.com\/wp-content\/uploads\/2021\/09\/6-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-40939\" src=\"https:\/\/webirix.com\/wp-content\/uploads\/2021\/09\/6-1-300x62.png\" alt=\"\" width=\"300\" height=\"62\" srcset=\"https:\/\/webirix.com\/wp-content\/uploads\/2021\/09\/6-1-300x62.png 300w, https:\/\/webirix.com\/wp-content\/uploads\/2021\/09\/6-1-1024x211.png 1024w, https:\/\/webirix.com\/wp-content\/uploads\/2021\/09\/6-1-768x158.png 768w, https:\/\/webirix.com\/wp-content\/uploads\/2021\/09\/6-1-18x4.png 18w, https:\/\/webirix.com\/wp-content\/uploads\/2021\/09\/6-1-335x69.png 335w, https:\/\/webirix.com\/wp-content\/uploads\/2021\/09\/6-1.png 1062w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Ready with this, our account was restored to corroborate we can enter the site in the browser of your preference or scroll to the list of accounts in our WHM and search for our account:<\/p>\n<p><a href=\"https:\/\/webirix.com\/wp-content\/uploads\/2021\/09\/9.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-40897\" src=\"https:\/\/webirix.com\/wp-content\/uploads\/2021\/09\/9-219x300.png\" alt=\"\" width=\"219\" height=\"300\" srcset=\"https:\/\/webirix.com\/wp-content\/uploads\/2021\/09\/9-219x300.png 219w, https:\/\/webirix.com\/wp-content\/uploads\/2021\/09\/9-9x12.png 9w, https:\/\/webirix.com\/wp-content\/uploads\/2021\/09\/9.png 225w\" sizes=\"auto, (max-width: 219px) 100vw, 219px\" \/><\/a><\/p>","protected":false},"excerpt":{"rendered":"<p>In order to restore the cPanel account in your WHM we must first enter our WHM: server_name \/ whm server_ip \/ whm Once inside we are going to go to the terminal, in our WHM search engine we put terminal: Now we must have them well identified where we have our backing. Once our endorsement is identified, we must send it to ...<\/p>","protected":false},"author":54,"featured_media":40898,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-40888","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry"],"jetpack_featured_media_url":"https:\/\/webirix.com\/wp-content\/uploads\/2021\/09\/What-is-Shared-Hosting-or-cPanel-Hosting_.png","_links":{"self":[{"href":"https:\/\/webirix.com\/en\/wp-json\/wp\/v2\/posts\/40888","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webirix.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webirix.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webirix.com\/en\/wp-json\/wp\/v2\/users\/54"}],"replies":[{"embeddable":true,"href":"https:\/\/webirix.com\/en\/wp-json\/wp\/v2\/comments?post=40888"}],"version-history":[{"count":3,"href":"https:\/\/webirix.com\/en\/wp-json\/wp\/v2\/posts\/40888\/revisions"}],"predecessor-version":[{"id":40940,"href":"https:\/\/webirix.com\/en\/wp-json\/wp\/v2\/posts\/40888\/revisions\/40940"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webirix.com\/en\/wp-json\/wp\/v2\/media\/40898"}],"wp:attachment":[{"href":"https:\/\/webirix.com\/en\/wp-json\/wp\/v2\/media?parent=40888"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webirix.com\/en\/wp-json\/wp\/v2\/categories?post=40888"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webirix.com\/en\/wp-json\/wp\/v2\/tags?post=40888"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}