{"id":1088,"date":"2021-07-23T12:45:13","date_gmt":"2021-07-23T12:45:13","guid":{"rendered":"https:\/\/ssdsunucum.com\/blog\/transfer-or-restore-a-cpanel-account\/"},"modified":"2021-07-23T12:45:13","modified_gmt":"2021-07-23T12:45:13","slug":"transfer-or-restore-a-cpanel-account","status":"publish","type":"post","link":"https:\/\/ssdsunucum.com\/blog\/transfer-or-restore-a-cpanel-account\/","title":{"rendered":"Transfer or Restore a cPanel Account"},"content":{"rendered":"<\/p>\n<div class=\"col-md-9\">\n<div class=\"flex-column flex-md-row article-header\">\n<div id=\"versioned-article-header\">\n<p class=\"valid-version-info\"><em>Valid for versions 94 through the latest version<\/em><\/p>\n<\/div>\n<div id=\"version-select-group\" aria-label=\"select versions\">\n<h4>Version:<\/h4>\n<h4>88<\/h4>\n<h4>94<\/h4>\n<\/div><\/div>\n<hr>\n<h2 id=\"overview\">Overview<\/h2>\n<p>The <em>Transfer or Restore a cPanel Account<\/em> interface lets you transfer a cPanel account or restore one from an account archive file. An archive file is a cPanel account\u2019s backup file or a <code>cpmove<\/code> file.<\/p>\n<div class=\"callout callout-warning\">\n<div class=\"callout-heading\">Important:<\/div>\n<div class=\"callout-content\">\n<ul>\n<li>When you transfer or restore an account, make <strong>certain<\/strong> your server has at least <strong>double<\/strong> the archive file\u2019s size available in disk space. The system requires the available disk space to extract the file.<\/li>\n<li>If you possess <code>root<\/code> access or privileges to the source and destination servers, use WHM\u2019s <em>Transfer Tool<\/em> interface (<em>WHM &gt;&gt; Home &gt;&gt; Transfers &gt;&gt; Transfer Tool<\/em>). <strong>Only<\/strong> use the <em>Transfer or Restore a cPanel Account<\/em> interface as a last resort.<\/li>\n<li>This feature does <strong>not<\/strong> transfer Two-Factor Authentication (2FA) configuration information for an account. The user will need to reconfigure 2FA on the new server.<\/li>\n<\/ul><\/div>\n<\/div>\n<div class=\"callout callout-danger\">\n<div class=\"callout-heading\">Warning:<\/div>\n<div class=\"callout-content\">\n<p>Do <strong>not<\/strong> use the <code>skip-name-resolve<\/code> setting in your server\u2019s MySQL\u00ae configuration. This setting <strong>will<\/strong> cause <strong>serious<\/strong> issues with server operations. If you are <strong>not<\/strong> an advanced MySQL administrator, expect issues with this setting. For example, you will see issues with account transfers and restorations. This setting will also cause issues with phpMyAdmin.<\/p>\n<\/p><\/div>\n<\/div>\n<h3 id=\"archive-file-requirements\">Archive file requirements<\/h3>\n<p>If you transfer or restore an account from an archive file, the file must meet certain criteria. The archive filename <strong>must<\/strong> use one of the following formats:<\/p>\n<ul>\n<li><code>cpmove-{USER}<\/code><\/li>\n<li><code>cpmove-{USER}.tar<\/code><\/li>\n<li><code>cpmove-{USER}.tar.gz<\/code><\/li>\n<li><code>{USER}.tar<\/code><\/li>\n<li><code>{USER}.tar.gz<\/code><\/li>\n<li><code>backup-{MM.DD.YYYY}{HH-MM-SS}{USER}.tar<\/code><\/li>\n<li><code>backup-{MM.DD.YYYY}{HH-MM-SS}{USER}.tar.gz<\/code><\/li>\n<li><code>backup-{MM.DD.YYYY}_{HH-MM-SS}_{USER}.tar<\/code><\/li>\n<li><code>backup-{MM.DD.YYYY}_{HH-MM-SS}_{USER}.tar.gz<\/code><\/li>\n<\/ul>\n<p>The file must <strong>also<\/strong> reside in one of the following directories:<\/p>\n<ul>\n<li><code>\/home<\/code><\/li>\n<li><code>\/home2<\/code><\/li>\n<li><code>\/home3<\/code><\/li>\n<li><code>\/root<\/code><\/li>\n<li><code>\/usr<\/code><\/li>\n<li><code>\/usr\/home<\/code><\/li>\n<li><code>\/web<\/code><\/li>\n<\/ul>\n<h2 id=\"restricted-restore\">Restricted Restore<\/h2>\n<div class=\"callout callout-danger\">\n<div class=\"callout-heading\">Warning:<\/div>\n<div class=\"callout-content\">\n<p>This feature is <strong>experimental<\/strong>. Do <strong>not<\/strong> consider it an effective security control. Exercise <strong>extreme<\/strong> caution when using the <em>Restricted Restore<\/em> feature.<\/p>\n<\/p><\/div>\n<\/div>\n<p>The <em>Restricted Restore<\/em> feature lets the system perform extra security checks on the archive file. If part of the file has a security issue, the system will <strong>not<\/strong> restore that part of the archive file. This helps mitigate the risk of transfers from unfamiliar sources. The system enables this feature by default.<\/p>\n<h3 id=\"warnings-about-the-restricted-restore-feature\">Warnings about the Restricted Restore feature<\/h3>\n<p>If you use the <em>Restricted Restore<\/em> feature, be advised that:<\/p>\n<ul>\n<li>When you restore an account with this feature, the system may leave behind unnecessary account data. This can cause conflicts and leave the account in a broken state. You must remove the account and then restore it <strong>without<\/strong> using the <em>Restricted Restore<\/em> feature.<\/li>\n<li>This feature will <strong>not<\/strong> restore parked (aliased) or addon domains.<\/li>\n<li>This feature <strong>only<\/strong> allows restored accounts to use <code>noshell<\/code> or <code>jailshell<\/code> environments. If the restored account uses another shell, the system will set the account to use <code>noshell<\/code> environment.<\/li>\n<li>If you use this feature to restore an account that contains PostgreSQL\u00ae databases, the target server <strong>must<\/strong> use PostgreSQL version 8.4 or newer.<\/li>\n<\/ul>\n<h2 id=\"transfer-options\">Transfer Options<\/h2>\n<p>You can select from one of the following options:<\/p>\n<h3 id=\"restore-from-a-local-cpmove-file\">Restore from a local cpmove file<\/h3>\n<p>The <em>Restore from a local cpmove file<\/em> option lets you restore an account with an existing <code>cpmove<\/code> file on the server.<\/p>\n<p>To restore a cPanel account from a local <code>cpmove<\/code> file, select the <em>Restore from a local cpmove file<\/em> option and perform the following steps:<\/p>\n<ol>\n<li>In the <em>Select a File<\/em> menu, enter the name of or select the <code>cpmove<\/code> file on the server to use for the restoration.\n<ul>\n<li>Check the <em>Overwrite if the cPanel user already exists<\/em> setting to overwrite any cPanel accounts with the same username. This is optional.<\/li>\n<\/ul>\n<\/li>\n<li>In the <em>A records<\/em> section, select one of the following settings:\n<ul>\n<li><em>Replace All Matching A Records<\/em> \u2014 The system will replace all instances of the source server\u2019s IP address with the destination server\u2019s IP address. For example, a custom A record. This is the default setting.<\/li>\n<li><em>cPanel-provided A Records<\/em> \u2014 Only replace the basic cPanel-provided A records in the cPanel account\u2019s zone files.<\/li>\n<\/ul>\n<\/li>\n<li>Click <em>Restore<\/em>. The <em>Account Restore<\/em> interface will appear. The system begins the account restoration process. You can use this interface to monitor the restoration progress.<\/li>\n<\/ol>\n<h3 id=\"upload-a-file-to-restore\">Upload a file to restore<\/h3>\n<p>The <em>Upload a file to restore<\/em> option lets you upload a <code>cpmove<\/code> file to the server.<\/p>\n<p>To restore a cPanel account with an uploaded <code>cpmove<\/code> file, select the <em>Upload a file to restore<\/em> option and perform the following steps:<\/p>\n<ol>\n<li>In the <em>Upload File<\/em> section, click <em>Choose File<\/em>. A new window will appear.<\/li>\n<li>Locate and select the <code>cpmove<\/code> file that you want to upload to the server.\n<ul>\n<li>Check the <em>Overwrite if the cPanel user already exists<\/em> setting to overwrite any cPanel accounts with the same username. This is optional.<\/li>\n<\/ul>\n<\/li>\n<li>In the <em>A records<\/em> section, select one of the following settings:\n<ul>\n<li><em>Replace All Matching A Records<\/em> \u2014 The system will replace all instances of the source server\u2019s IP address with the destination server\u2019s IP address. For example, a custom A record. This is the default setting.<\/li>\n<li><em>cPanel-provided A Records<\/em> \u2014 Only replace the basic cPanel-provided A records in the cPanel account\u2019s zone files.<\/li>\n<\/ul>\n<\/li>\n<li>In the <em>IP Address<\/em> section, select whether to assign a dedicated IP address to the cPanel account on your server. Your server <strong>must<\/strong> have at least one available IP address to perform this action.<\/li>\n<li>Click <em>Restore<\/em>. The <em>Account Restore<\/em> interface will appear. The system begins the account restoration process. You can use this interface to monitor the restoration progress.<\/li>\n<\/ol>\n<h3 id=\"transfer-from-remote-cpanel-account\">Transfer from Remote cPanel Account<\/h3>\n<p>The <em>Transfer from Remote cPanel Account<\/em> option lets you transfer a cPanel account from a remote server\u2019s archive file. To perform a remote transfer, select the <em>Transfer from Remote cPanel Account<\/em> option and perform the following steps:<\/p>\n<ol>\n<li>In the <em>Remote Server<\/em> section, enter the server\u2019s IP address or hostname. If you use a hostname, you must include a valid top level domain (TLD) in the domain\u2019s name.<\/li>\n<li>In the <em>Remote username<\/em> section, enter cPanel account\u2019s username on the remote server.<\/li>\n<li>In the <em>Remote password<\/em> section, enter the cPanel account\u2019s password on the remote server.<\/li>\n<li>In the <em>IP Address<\/em> section, select whether to assign a dedicated IP address to the cPanel account on your server. Your server <strong>must<\/strong> have at least one available IP address to assign a dedicated IP address.<\/li>\n<li>Click <em>Transfer<\/em>. The <em>Account Restore<\/em> interface will appear. The system begins the account restoration process. You can use this interface to monitor the restoration progress.<\/li>\n<\/ol>\n<h2 id=\"linked-nodes-options\">Linked Nodes Options<\/h2>\n<div class=\"callout callout-warning\">\n<div class=\"callout-heading\">Important:<\/div>\n<div class=\"callout-content\">\n<p>The <em>Linked Nodes Options<\/em> section is <strong>only<\/strong> available if your server uses cPanel &#038; WHM linked server nodes.<\/p>\n<\/p><\/div>\n<\/div>\n<p>If your server uses linked cPanel &#038; WHM server nodes, the <em>Linked Nodes Options<\/em> section lets you link the cPanel account to a child node. You can select from the following settings:<\/p>\n<ul>\n<li><em>Use the archive file\u2019s stored configuration<\/em> \u2014 This setting uses an archive file\u2019s stored configuration. If the file indicates the use of one of the local server\u2019s linked cPanel &#038; WHM server nodes, the system will attempt to use that linked node. Otherwise, the account restores to the local server.<\/li>\n<li><em>Use only this server. Transfer or restore locally<\/em> \u2014 This setting will transfer or restore the account to the local server.<\/li>\n<li><em>example-alias (servernode.example.com)<\/em> \u2014 The alias and hostname of a linked cPanel &#038; WHM server node. This will transfer or restore the account to the selected cPanel &#038; WHM server node.<\/li>\n<\/ul><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Valid for versions 94 through the latest version Version: 88 94 Overview The Transfer or Restore a cPanel Account interface lets you transfer a cPanel account or restore one from an account archive file. An archive file is a cPanel account\u2019s backup file or a cpmove file. Important: When you transfer or restore an account, &hellip;<\/p>\n","protected":false},"author":1,"featured_media":1089,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/posts\/1088"}],"collection":[{"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/comments?post=1088"}],"version-history":[{"count":0,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/posts\/1088\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/media\/1089"}],"wp:attachment":[{"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/media?parent=1088"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/categories?post=1088"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/tags?post=1088"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}