Domain migration

Discussion in 'General' started by pecka33, Apr 20, 2023.

  1. pecka33

    pecka33 Member

    Hello,

    i have one server with ispconfig and other, i need to migrate domain to another server with ispconfig. I am not sure how can i do it. I need to migrate website - in this case i migrate web, db and reconfigure it. But not sure how can i migrate emails. If i can easy do backups of email address in ispconfig and create domain in new ispconfig and upload backups here.
     
  2. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Seems you have figured out how to migrate website. If IP-address changes, update DNS data too.
    For e-mails, create e-mail domain and mailboxes on new host. Then either copy mailbox files from old server to new, or use a tool like imapsync by Gilles Lamiral. https://imapsync.lamiral.info/
     
    ahrasis likes this.
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    Emails are stored in a folder like /var/vmail/yourdomain.tld/ You can back up that folder on the old server e.g. by using tar, transfer the archive to the new server and unpack it there after you recreate the mailboxes in ISPConfig.
     
    ahrasis likes this.
  4. pecka33

    pecka33 Member

    Thank you very much,Till, i do it ;)
     
  5. Ansar Ahmed Shaikh

    Ansar Ahmed Shaikh New Member

    Is this possible to dump dbispconfig and copy folder /var/vmail/domain.tld to new ispconfig installed server and restore both dbispconfig and this folder, instead of creating domain and creating email ids If there is 1K email Ids to be migrating...
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    You can do that if the system installation of the new server is identical to the old one and your database contains mail accounts only. if not, better use the Migration Tool: https://www.ispconfig.org/add-ons/ispconfig-migration-tool/
     

Share This Page