moving service off a server onto another

Discussion in 'ISPConfig 3 Priority Support' started by ginner159, Jul 16, 2014.

  1. ginner159

    ginner159 New Member

    Im wanting to move my mail server off my main system. would i be right in thinking the best way to do this is to set up my extra server as a mail server, then set it to be a mirror of the original mail server for say a week, then update my dns records to point to the new server and disable the original mail server both in ispconfig system services and removing postfix from the server?
     
  2. srijan

    srijan New Member HowtoForge Supporter

    refer

    http://www.howtoforge.com/forums/showthread.php?t=41595
     
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    I would do it like this:

    1) install the new mailserver and attach it as slave to the current server.
    2) change the value of the "server_id" field for all records in the the mail* and spamfilter* tables to the ID of the new server.
    3) copy over the whole /var/vmail folder from old to new server. ensure that you preserver permissions and owners of the files.
    4) run tools > resync for mail and client records in ispconfig.
     
  4. ginner159

    ginner159 New Member

    guessing then set the server to be not a mirror so it is then its own entity. im goin to be getting 2 vps one as main mx and one as backup mx
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    yes.

    between the two MX you have to enable mirroring.
     

Share This Page