Skip to content

Instantly share code, notes, and snippets.

@huglester
Last active August 29, 2015 14:12
Show Gist options
  • Save huglester/c7b9bd34df96964ac046 to your computer and use it in GitHub Desktop.
Save huglester/c7b9bd34df96964ac046 to your computer and use it in GitHub Desktop.
Plesk2Da migration scirpt

Plesk 9.x to DA migration script

To know

  • after migration - you will have to manualy replace mysql credentials

Pre setup

  • make PHP max_execution_time to something like 3600 (1 hour)

Known issues

Wishes

  • autodect WP/Joomla install?

What does this script do

  • creates account on the DA (sometimes username can change)
  • creates all domains (with forwards, aliases)
  • creates all sub-domains as domains (not using native DA subdomain)
  • creates emails (alias, forwards, groups) / credentials the same
  • creates databases (with different credentials)
  • transfers files
  • transfers emails (imapsync)
  • transfers crontabs
  • disabled MX servce if mail was disabled before transport (Domain should still be active to determine)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment