ehcp backup, copying/moving servers
This is a small howto on ehcp backup and moving over servers.
Let me summarize:
normally; ehcp has built-in "server backup" feature. You can - most of the time - backup your whole server (including your site files, emails, db, ehcp) to a file.
The backup files are placed at /var/backup dir. You need to move these files to your new server, or make its backup to make sure you have "all data" in case you loose all server connection.
However, keep in mind that, sometime we may have bugs/unpredictable errors in this backup procedure. So, do Not lie on this backup feature. Check backukp file in /var/backup.
You may even do manual backup yourself. for manual backup, you need to backup /var/www/vhosts folder, /var/www/new/ehcp folder, mysql db's,
the ehcp backup feature may simplify, when it works as expected in your system.
(transfer backup file to new server using scp or similar)
install ehcp on your new server, then,
click restore, enter backup filename.
the restore may last a while.
you may track all backup/restore process in command line by:
tail -f /var/log/ehcp.log
both in old & new server...