I've already successfully automated the Akeeba Backup process (including remote upload). What I want to do is automate backup and restoration.
We own two dedicated servers, and one is designed to be a mirror of the other. In the case of hardware failure (or other systemic failure) we want everything to failover to the mirror server. As such, I want to make sure that all of the sites on the mirror server are kept updated.
We currently have around 100 sites on our server. Ideally I'd like the workflow to look like this:
At some interval (daily or weekly) an automated backup takes place and the JPA file is uploaded to the mirror server. The backup file is then fully restored so the mirror server hosts a true copy of the live site.
At that point all we'd have to do is change the IP of our nameservers and all sites would then be loaded from the mirror server, and they'd be perfect copies.
We own both servers, so permissions and scripting are not a problem.
Is this possible to do with a mixture of Akeeba Backup and UNITE?
As a side note, is it possible to write a single script to have UNITE restore all 100 sites? Or will I need to add 100 lines to my crontab?
Note: If it matters, the server is running Apache and we're using WHM/cPanel to manage the server. Each site has a separate cPanel account and thus have separate MySQL databases.