(02-21-2010 09:05 PM)rethus Wrote: Can u give a short overview how you did your plesk-Migration?
Did you have a bash-script which connect to the plesk-server, or to the plesk-database to get all the informations automaticly?
We had to create some php scripts to accomplish the migration.
1.- You should stop the incoming mail for the domain, and the website, we did this changing the mx transport, and changed the index.php of the sites with a warning about the job being done.
2.- Another php prepared for use the list of the comands domain.php and domain_dns.php should run to replicate the domain. Basically you can get all that information from the database (in plesk the passwords are on clear text)
3.- Finally you run the scripts in order, for example.
.- Create the domain on ispcp
.- wait for it to be finished
.- rsync the content from plesk to ispcp
.- create the database and the mysql users
.- rsync the databases (normally syncing /var/lib/mysql and restarting the mysql server does the trick)
.- create the mail accounts
.- rsync the mail from plesk to ispcp (was using dovecot in my case)
and so on...
4.- At the end you will have the new server ready to run, then you must change from the old server to the new one the dns service.
5.- Domain finished, and then for the next (I did around 300 domains, but most were quite simple)