2.4.2.2. Automatic site transfer between hosting accounts

Important points:

  • The system only transfers data and does not make any changes to the files and databases of the site. Necessary changes will have to be made by yourself.
  • Transfer conditions:
    • Both hosting accounts must be accessible within a single account (either owned by or delegated).
    • Both hosting accounts must be active.
    • A destination hosting account must not have viruses.
    • For virtual hosts and mailboxes:
      • If the domain is registered with us — it must be accessible in your account (owned by you or be delegated).
      • If one or both of your hosting accounts are delegated — you must have access to mail (the owner must allow access in the delegation settings).
    • Only one database can be transferred at a time. You can transfer more databases in different ways:
      • Submit a separate transfer request for each database (select only the database transfer from the components).
      • Import each database in the destination hosting account directly from the source hosting account.
      • Export databases from the source hosting account and import the resulting dumps in the destination hosting account.
    • The size of the site or database should not exceed 50 GB and 200,000 inodes. If the size is larger, you should either reduce it by transferring some of the data manually or use manual transfer.
  • Not transferred:
    • Dedicated IP. If your site needs a dedicated IP, after transferring to a new hosting account you will need to order a new dedicated IP and connect it to your site.
    • Symbolic links (symlinks). If they are necessary for the site to work, after transferring they will have to be create them again.
    • Backups. Backups created before the transferring will be available to the previous owner according to retention periods.
  • After the transfering, it's mandatory:
    • Change the database connection settings in the site's configuration file. If this is not done, the site will remain connected to the database in the source hosting account, which can lead to various problems in the future (for example, in case of loss of connection with the owner of the source hosting account it will be impossible to restore the database from an automatic backup).
    • Correct absolute paths if they are used on the site.

The automatic transfer system allows:

  • Transfer virtual hosts (site and its subdomains from the "My sites" section along with settings and SSL certificates) and associated mailboxes (along with messages) from one hosting account to another.
  • Copy the contents of the selected site's directory or any of its subdirectories from one hosting account to another.
  • Copy the contents of the selected database from one hosting account to the database of another.

You can select the components to transfer in any combination — for example, you can copy the contents of the site directory or the contents of the database without transferring virtual hosts and mailboxes.

flowchart LR subgraph example1 [☁️ Source hosting account] subgraph hosts1[ ] direction RL site1@{ shape: rounded, label: "🌐 Virtual hosts
(site and its subdomains)" } mail1@{ shape: rounded, label: "📬 Mailboxes" } end files1@{ shape: rounded, label: "📑 Site files" } db1@{ shape: rounded, label: "🗄️ Database" } end subgraph example2 [☁️ Destination hosting account] subgraph hosts2[ ] direction RL site2@{ shape: rounded, label: "🌐 Virtual hosts
(site and its subdomains)" } mail2@{ shape: rounded, label: "📬 Mailboxes" } end files2@{ shape: rounded, label: "📑 Site files" } db2@{ shape: rounded, label: "🗄️ Database" } end hosts1-->|➡️ Transferring
of virtual hosts
and mailboxes|hosts2 files1-->|🗐 Copying
files|files2 db1-->|🗐 Copying
database|db2

  1. Open the "Site transfer" section.
  2. Click "Add request to transfer site".
  3. Select the site to transfer, the destination hosting account and click "Next":
  4. Select the components to transfer (for a full transfer, select all) and click "Transfer":
    • "Transfer virtual hosts and mailboxes" — enable to transfer virtual hosts (site and its subdomains from the "My sites" section) and associated mailboxes (along with messages).
    • "Copy files" — enable to copy the contents of the selected site's directory or any of its subdirectories:
      • "Source directory" — path to the directory in the source hosting account from where you want to copy the data. To copy the entire contents of the directory, leave the field blank.
      • "Destination directory" — path to the directory in the destination hosting account where you want to copy the contents of the source directory. You should specify an empty or nonexistent directory (it will be automatically created when copying). To preserve the original file structure, specify the same as specified in the source directory field (if it was empty, also leave it empty).
    • "Copy database" — enable to copy the contents of the selected database:
      • "Source database" — name of the database in the source hosting account whose contents you want to copy. The name of the database that the site uses can be found in the configuration file of this site in the database connection settings.
      • "Destination database" — name of the database in the destination hosting account to which you want to copy the contents of the source database. You should specify the name of a database that does not exist yet (it will be automatically created when copying).
  5. Wait for the transfer to complete. The current status is displayed in the "Site transfer" section: in the source hosting account — in the "Outgoing requests" tab, in the destination hosting account — in the "Incoming requests" tab.
  6. Important! Make the necessary changes on the transferred site:
  7. Check the site operation.
Content

    (7)

    Comments

    stroyreklama1
    Здравствуйте. Скажите пожалуйста. После переноса сайта, на сайте пропали некоторые страницы. WooCommerce товары например. Верхнее меню сайта
    verliber
    Для получения консультаций вам следует обратиться в онлайн чат и описать вашу проблему более детально. Подобная ситуация может возникать по множеству причин, например как сохраненные данные в кеше самого сайта, неизмененные пути к некоторым файлам и так далее.
    kokainua.it
    после переноса сайта и всех баз,файлов. В новом аккаунте изменил настройки конекта базы.
    1. Как понять что сайт работает именно на новом хостинге?
    2. Файлы и БД на старом остаются без имзенений? или происхоидт перенос, а не копирование?
    karlov
    1. Проверить настройки подключения в конфигурационном файле сайта на новом хостинге. Как вариант, сменить пароль БД на старом хостинге и проверить работу сайта (если перестал, значит использовал старую БД).
    2. Происходит копирование, не перенос. Старая БД остаётся в том виде, в котором и была до переноса.