2.10. Backup and Recovery
Red Hat recommends backing up important broker and node host files to prevent data loss. This includes platform configuration files and developer application data. The following sections detail which files to back up, and how you can recover them in the event of a failure.
2.10.1. Backing Up Broker Host Files
The authentication service, DNS service, and the MongoDB datastore components of the broker host contain persistent state. Consult your system administrator for advice on how to implement fault tolerance for the authentication and DNS services you have selected for your OpenShift Enterprise installation.
See the OpenShift Enterprise Deployment Guide for instructions on how to configure redundancy with MongoDB. See the following MongoDB documentation for more information on how to implement fault tolerance with data storage and take regular backups:
- Backup Strategies for MongoDB Systems - http://docs.mongodb.org/manual/administration/backups/
In the OpenShift Enterprise Deployment Guide example installation, the MongoDB data is stored in the
/var/lib/mongodb
directory, which can be used as a potential mount point for fault tolerance or as backup storage.