Backup and Recovery¶
We recommend that you use a proper artifact management system such as Puppet to back up and manage your artifacts before deploying them in the Micro Integrator runtime. Also, use the WSO2 Updates 2.0 tool, which allows you to get the latest updates (bug fixes and security fixes) of a particular product release.
Be sure to determine the following depending on your business-continuity requirements:
- Recovery Time Objective (RTO): How long does it take to recover to the RPO.
- Backup Frequency: How frequently you should take backups. If your RPO is one day, your backup frequency should be daily.
- Disaster Recovery Site: The place where the latest copy of your backup is. This can be from a different shelf in your data center to a completely different geographical location.
We also recommend the following:
- Align your artifact deployment and recovery processes.
- Schedule disaster recovery drills to test the system's ability to recover.
- Test your artifacts in an environment that is identical to the production environment before deploying them into production.
The following steps include how to recover your setup using the backups:
- Recover the hot-deployment artifacts by replacing the MI_HOME/repository directory with the backed up copy.
- To recover the databases, follow the recovery strategy recommended by the databases you are using. For information on supported and tested databases, see Tested Database Management Systems.