Quote:But did you have done these steps (at point 3) manualy or did u create a bashscript on the target-Machine.
I created/exchanged a openssh keypair, so I coud execute something like:
ssh root@new_server "/root/scripts/domain.php --action create_domain --domain example.com --password 9g2jsg"
This way I was able to create the domain from the old server.
After that, a "rsync -ave /var/www/vhosts/example.com/httpdocs root@new_server:/var/www/virtual/example.com/htdocs"
Then a --action fix_permisions
That would be to create the web part, test it properly.
Quote:Please can u sent little example-commands for creating domain, mysql-database, mails ?
Just have a look at the wiki, also the script when execute gives you all the alernative commands.
Oh, also have a look at TODO comments, some might be important.