{"id":1084,"date":"2021-07-23T12:45:06","date_gmt":"2021-07-23T12:45:06","guid":{"rendered":"https:\/\/ssdsunucum.com\/blog\/copy-an-account-from-another-server-with-account-password\/"},"modified":"2021-07-23T12:45:06","modified_gmt":"2021-07-23T12:45:06","slug":"copy-an-account-from-another-server-with-account-password","status":"publish","type":"post","link":"https:\/\/ssdsunucum.com\/blog\/copy-an-account-from-another-server-with-account-password\/","title":{"rendered":"Copy an Account from Another Server with Account Password"},"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 88 through the latest version<\/em><\/p>\n<\/div>\n<div id=\"version-select-group\" aria-label=\"select versions\">\n<h4>Version:<\/h4>\n<h4>82<\/h4>\n<h4>88<\/h4>\n<\/div><\/div>\n<hr>\n<h2 id=\"overview\">Overview<\/h2>\n<div class=\"callout callout-danger\">\n<div class=\"callout-heading\">Warning:<\/div>\n<div class=\"callout-content\">\n<p>We <strong>removed<\/strong> this interface in cPanel &#038; WHM version 90. Use WHM\u2019s <em>Transfer or Restore a cPanel Account<\/em> interface (<em>WHM &gt;&gt; Home &gt;&gt; Transfers &gt;&gt; Transfer or Restore a cPanel Account<\/em>). For more information, read our cPanel Deprecation Plan documentation.<\/p>\n<\/p><\/div>\n<\/div>\n<p>This interface attempts to copy a cPanel account from a remote server with a non-root password. To migrate a non-cPanel account to cPanel &#038; WHM, follow the directions in our How to Manually Migrate Accounts to cPanel &#038; WHM from Unsupported Control Panels documentation.<\/p>\n<div class=\"callout callout-info\">\n<div class=\"callout-heading\">Note:<\/div>\n<div class=\"callout-content\">\n<p>If you experience problems with session timeouts, increase the number of seconds in the <em>Number of seconds an SSH connection related to an account transfer may be inactive before timing out<\/em> setting in the <em>System<\/em> section of WHM\u2019s <em>Tweak Settings<\/em> interface (<em>WHM &gt;&gt; Home &gt;&gt; Server Configuration &gt;&gt; Tweak Settings<\/em>).<\/p>\n<\/p><\/div>\n<\/div>\n<h2 id=\"how-to-transfer-a-single-account\">How to transfer a single account<\/h2>\n<h3 id=\"security\">Security<\/h3>\n<p>In this section of the interface, select whether to use the <em>Restricted Restore<\/em> feature or to copy reseller privileges.<\/p>\n<h4 id=\"restricted-restore\">Restricted Restore<\/h4>\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 performs additional security checks on the backup file in order to mitigate the risk of transfers from unfamiliar sources. If a component of the backup file has an issue (for example, a MySQL grant table is compromised or a symbolic link attached), the system will not restore that portion of the backup and will add a warning to the log file.<\/p>\n<p>If you do not trust the source of the account backup with <code>root<\/code> access to your server, use the <em>Restricted Restore<\/em> feature to protect your server.<\/p>\n<div class=\"callout callout-info\">\n<div class=\"callout-heading\">Note:<\/div>\n<div class=\"callout-content\">\n<p>To display a sortable and searchable table of all modules and whether they exist in the <em>Restricted Restore<\/em> feature, click <em>Restore Module Summary<\/em>. This list includes any custom modules in the <code>\/var\/cpanel\/perl\/Whostmgr\/Transfers\/Systems\/<\/code> directory.<\/p>\n<\/p><\/div>\n<\/div>\n<h4 id=\"warnings-about-the-restricted-restore-feature\">Warnings about the Restricted Restore feature<\/h4>\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 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<h3 id=\"settings\">Settings<\/h3>\n<p>In this section of the interface, specify information about the server that currently hosts the account. To do this, perform the following steps:<\/p>\n<ol>\n<li>In the <em>Server to copy from<\/em> text box, enter the IP address or fully-qualified domain name (FQDN) of the remote server.\n<ul>\n<li><strong>FQDN example<\/strong> \u2014 <code>host.example.com<\/code>\n<div class=\"callout callout-info\">\n<div class=\"callout-heading\">Note:<\/div>\n<div class=\"callout-content\">\n<ul>\n<li>The FQDN does <strong>not require<\/strong> the trailing dot.<\/li>\n<li>You <strong>must<\/strong> enter FQDN\u2019s in lowercase letters.<br \/>\n<\/li>\n<\/ul><\/div>\n<\/div>\n<\/li>\n<li><strong>IP address example<\/strong> \u2014 <code>127.0.0.1<\/code><\/li>\n<\/ul>\n<\/li>\n<li>In the <em>Username to copy<\/em> text box, enter the username that owns the site.<\/li>\n<li>In the <em>User\u2019s password<\/em> text box, enter the user\u2019s password.<\/li>\n<li>To give the account a dedicated IP address on the target server, select the <em>Give new account an ip address<\/em> checkbox.<\/li>\n<\/ol>\n<div class=\"callout callout-danger\">\n<div class=\"callout-heading\">Warning:<\/div>\n<div class=\"callout-content\">\n<ul>\n<li>The remote server <strong>must<\/strong> use the same operating system as this server (Linux).<\/li>\n<li>We <strong>strongly<\/strong> recommend that you create a backup file, and then restore the backup file via WHM\u2019s <em>Restore a Full Backup\/cpmove file<\/em> interface (<em>WHM &gt;&gt; Home &gt;&gt; Transfers &gt;&gt; Restore a Full Backup\/cpmove file<\/em>).<\/li>\n<\/ul><\/div>\n<\/div>\n<h3 id=\"copy-account\">Copy Account<\/h3>\n<p>After you make your selections, click <em>Copy Account<\/em> to begin the transfer process. The <em>Account Transfer<\/em> interface (<em>WHM &gt;&gt; Home &gt;&gt; Transfers &gt;&gt; Account Transfer<\/em>) will appear.<\/p>\n<h3 id=\"about-streaming-transfers\">About streaming transfers<\/h3>\n<p>When you use WHM to copy an account from another server, the system automatically queries the remote server to determine whether streaming is a viable option. Streaming provides a faster and less resource-intensive transfer of accounts between cPanel &#038; WHM servers. The streaming process occurs as follows:<\/p>\n<ol>\n<li>The <code>pkgacct<\/code> utility packages and transfers the account without the home directory on the remote server.<\/li>\n<li>During account restoration, the target server retrieves the home directory.<\/li>\n<li>The target server copies the home directory via a network connection directly from the remote server.<\/li>\n<\/ol>\n<p>To enable streaming transfers, the following statements <strong>must<\/strong> be true:<\/p>\n<ul>\n<li>The target server <strong>must<\/strong> connect to the remote server via port <code>2086<\/code> (or port <code>2087<\/code> if you prefer to use SSL).<\/li>\n<li>The user who begins the transfer <strong>must<\/strong> have <code>root<\/code>-level privileges on the remote server\u2019s WHM interface.<\/li>\n<\/ul>\n<h2 id=\"compatibility-issues\">Compatibility issues<\/h2>\n<p>Because of changes to the backup system and other system features (for example, Horde), several compatibility issues exist in the restoration process.<\/p>\n<h3 id=\"mysql-and-postgresql-database-passwords\">MySQL and PostgreSQL database passwords<\/h3>\n<p>In cPanel &#038; WHM version 11.42 and later, the system restores MySQL\u00ae and PostgreSQL databases to the account. However, the system does <strong>not<\/strong> restore the user\u2019s password and it locks the user out of the databases.<\/p>\n<p>To refresh the user\u2019s privileges and restore access, the user <strong>must<\/strong> navigate to cPanel\u2019s <em>phpPgAdmin<\/em> interface (<em>cPanel &gt;&gt; Home &gt;&gt; Databases &gt;&gt; phpPgAdmin<\/em>) or cPanel\u2019s <em>phpMyAdmin<\/em> interface (<em>cPanel &gt;&gt; Home &gt;&gt; Databases &gt;&gt; phpMyAdmin<\/em>). When the user accesses either interface, the system refreshes the user\u2019s privileges and restores access.<\/p>\n<h3 id=\"horde\">Horde<\/h3>\n<p>In cPanel &#038; WHM version 11.50 and later, Horde SQLite database backups are <strong>not<\/strong> backwards compatible. For example, you <strong>cannot<\/strong> restore a Horde database backup that you created with cPanel &#038; WHM version 11.52 to an installation of cPanel &#038; WHM version 11.50.<\/p>\n<div class=\"callout callout-info\">\n<div class=\"callout-heading\">Note:<\/div>\n<div class=\"callout-content\">\n<p>In cPanel &#038; WHM version 11.48 or earlier, Horde uses MySQL.<\/p>\n<\/p><\/div>\n<\/div>\n<p>Backups do <strong>not<\/strong> include some global Horde files. For more information, read our Backup Tarball Contents and Guide to Horde Data Behavior documentation.<\/p>\n<\/p><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Valid for versions 88 through the latest version Version: 82 88 Overview Warning: We removed this interface in cPanel &#038; WHM version 90. Use WHM\u2019s Transfer or Restore a cPanel Account interface (WHM &gt;&gt; Home &gt;&gt; Transfers &gt;&gt; Transfer or Restore a cPanel Account). For more information, read our cPanel Deprecation Plan documentation. This interface &hellip;<\/p>\n","protected":false},"author":1,"featured_media":1085,"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\/1084"}],"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=1084"}],"version-history":[{"count":0,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/posts\/1084\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/media\/1085"}],"wp:attachment":[{"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/media?parent=1084"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/categories?post=1084"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/tags?post=1084"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}