Plesk 9 – Migration Manager set source directory

For some bizarre reason The Plesk 9 migration manager has taken away the functionality to specify the partition used on the source server.  Not very handy if you have partitions running low on disk space.  I’ve found two solutions that seem to work:

  1. On the target server edit /usr/local/psa/admin/share/migration-handler/migration_handler.py
  2. Modify the following line and update to use a more suitable directory:

    migration_session.setValue('agent_dir',"/migration/%s/" % migration_session.getSessionId()

  3. On the source server, symlink /migration to something more suitable
  4. i.e

    rmdir /migration

    ln -s  /var/psa/migration /migration

You can leave a response, or trackback from your own site.

Leave a Reply