1.5.3 - courier to dovecot
- fulltilt
- Thread is marked as Resolved.
-
-
do you think it's possible to switch from courier to dovecot w/o complications during a server move (migration process) or is it better to keep courier for the time being?
- On source server, you disable (not uninstall) all plugins
- You stop the imscp_mountall service
- You synchronize the data as follows:
- From source server: (you need first setup SSH key)Code
- rsync -ahzP --delete -e "ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null" /etc/imscp root@<target_server_ip>:/etc/
- rsync -ahzP --delete /etc/mysql -e "ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null" root@<target_server_ip>:/etc/
- rsync -ahzP --delete /etc/letsencrypt -e "ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null" root@<target_server_ip>:/etc/
- rsync -ahzP --delete /var/mail/virtual -e "ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null" root@<target_server_ip>:/var/mail/
- rsync -ahzP --delete /var/www/virtual -e "ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null" root@<target_server_ip>:/var/www/
- rsync -ahzP --delete /var/www/imscp -e "ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null" root@<target_server_ip>:/var/www/
- rsync -ahzP --delete /var/lib/mysql -e "ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null" root@<target_server_ip>:/var/lib/
- rsync -ahzP --delete /var/cache/awstats -e "ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null" root@<target_server_ip>:/var/cache/
- From source server: (you need first setup SSH key)
- You run i-MSCP installer as follow: perl imscp-autoinstall --fix-permissions -dr po
This should works.
- I assume here that SQL server vendor and version will be identical on both source and target server.
- Once done, you'll have to reinstall missing dependencies for the plugins (distribution package) and force plugin update by setting their plugin_status field to toupdate.
-