I have the above mailserver running on an embedded box for about 2 years now. All working perfectly as expected! I now have another machine exactly the same as the original. Same h/w, same SSD, same OS. Given it the same server hostname. Different LAN static address (obviously). I have installed the same Perfect server s/w as above. Have not configured in any way yet. What I want to do now is to rsync from the original machine to the new machine all the files necessary to effectively clone the configuration. And to repeat this at regular intervals (daily?) so that I can switch to the second machine if a fault occurs on the first. 1/ Which files and directories need to be rsync'ed? 2/ Do I need to stop or lock mysql while syncing the databases? Sorry if this has been asked before.
Maybe make use of the mirror function: https://www.howtoforge.com/community/threads/mirror-ispconfig-3.56821/ (that was quick search, i'm sure there are others for your OS) Or you can look into high-availability - https://www.howtoforge.com/high-ava...replication-mirror-across-two-storage-servers As for MySQL you can do replication if you're using InnoDB. I've not yet tested any of the above, i've just done extensive reading on the topic as i'm going to be implementing such a solution in the very near future.
Also: www.blueplastic.net/en/ispconfig-migrar-a-un-nuevo-servidor-debian/ Which is based on http://www.howtoforge.com/forums/showthread.php?t=2717&highlight=move+ispconfig
Thank you both. Some ideas which I will investigate. At the moment, running the mailserver with no backup! However I did re-boot from a CD and clone the HD with clonezilla last week so all would not be lost. Really need a better solution!