[How to] How to migrate huge Plesk server using backup manager on Linux?

Refers to:

  • Plesk 12.5 for Linux
  • Plesk 11.5 for Linux
  • Plesk 12.0 for Linux

Created:

2016-11-16 13:01:58 UTC

Modified:

2016-12-21 19:47:42 UTC

0

Was this article helpful?


Have more questions?

Submit a request

[How to] How to migrate huge Plesk server using backup manager on Linux?

Symptoms

How to migrate huge Plesk server using backup manager on Linux?

Resolution

It is recommended to migrate via Plesk Backup Manager . If backup of the source server is extremely big (more than 10GB in size), restoration might fail because of exceeded timeout or memory.

It is recommended to migrate domains and clients/resellers one by one.

For example: migrate big domains that belong to a reseller:

  1. Dump the domains and reseller configuration on the source server one by one:
    ~# /usr/local/psa/bin/pleskbackup domains-name example.com --output-file=/tmp/backups/
    ...
    ~# /usr/local/psa/bin/pleskbackup resellers-name reseller --configuration --output-file=/tmp/backups/

Note: If no domains/resellers provided, pleskbackup backs up all resellers on the host.

  1. Move the created archives to the destination server using SCP:

    # scp -P 22 -c blowfish /tmp/backups/backup_* john@example.com:/tmp/backups/
  2. Restore all objects one by one with /usr/local/psa/bin/pleskrestore :

    • Create a map file:

      ~# /usr/local/psa/bin/pleskrestore --create-map <path to backup file> -map <path to mapping file>
    • 213403149 Correct the map file .

    • Restore the domains and reseller from the backups:

      ~# /usr/local/psa/bin/pleskrestore --restore <path_to_backup_file> -level domain -map <path to mapping file>
      ~# /usr/local/psa/bin/pleskrestore --restore <path_to_backup_file> -level resellers -map <path to mapping file>

      Note : after restoration the domains will be assigned admin user on the destination server. Please consider changing domains owner using " Change Subscriber " on the destination host.

Refer to Installation, Upgrade, Migration, and Transfer Guide for more detail about the migration procedure.

Have more questions? Submit a request
Please sign in to leave a comment.