Ubuntu Single Server to Debian Multi Server

Discussion in 'Installation/Configuration' started by necdettenekeci, Sep 13, 2012.

  1. necdettenekeci

    necdettenekeci New Member


    I have a Ubuntu 10.10 server with ISP Config 3 installed. Now I will install two Debian servers for multi-server setup. One for mail and one for web & mysql

    There are like 30 web sites and mail domains. I want to move web to my new web server and mail accounts and mail content to mail server.

    What is the best way to do this. I saw some topics for single server but is there something else to do for single server to multiserver movement?

    Thanks for your help.
  2. mmidgett

    mmidgett Member

    There is no direct easy way to do this. Here are the steps that I'd follow

    1. Add all clients to new server.
    2. Create websites and databases
    3. Create Email domains and Email addresses.
    4. From old server to new server rsync the /var/www
    5. chown -R all the directories to the correct owner
    6. Use Imapsync to sysnc the mail accounts one by one http://linux.die.net/man/1/imapsync

    If you are using the same mail service (courier, dovecot) Then you could just rsync the mail directory.

    Thats the short version.

    A very cool option would be to add this as third server to your group and convince till that we need to be able to migrate clients and setting from one server to another. We need this feature no anyways it just doesn't exist.

Share This Page