Hello, I would like to move mails only from master ISPConfig server to the newly created empty slave server. On the master server are multiple IP adresses with one for mail services. Here is my plan: create new slave server connected to multiserver setup with mail services only run migration tool and choose mails only redirect IP address from master server to new (slave) mail server remove mails from master (source) server Is it right way? Can migration tool delete source data automatically? There are a lot of mail domains so deletion by ISPConfig admin is not what I like to do. Thank you
You can not use the Migration tool to move data within a multiserver setup from master to a slave that is connected to this master. The reason for that is that a multiserver setup is basically just one server split to different hardware and the migration tool needs 2 servers. The Migration tool contains another tool named ISPCopy which is made to move salves within a multiserver setup but this can't be used here as well because you as you just want to move partial data. In your case, I would use this method: 1) Make a backup of the ispconfig master and slave database. 2) Change the server_id of all records in the mail related tables (mail and spamfilter) to the ID of the new mail server. 3) Run Tools > Resync to let ispconfig create the mail domains and mailboxes on the new slave. 4) Copy /var/vmail from master to slave with e.g. rsync. Ensure that ownership and permissions of the files get kept.
Hi Till, thank you. What about /var/vmail on the master server? Can I delete it after sucessfully move?