Chapter 1. Backup and recovery of Red Hat Ansible Automation Platform
To safeguard against unexpected data loss and application errors, it is critical that you perform periodic backups of your Red Hat Ansible Automation Platform deployment. In addition to data loss prevention, backups allow you to fall back to a different deployment state.
1.1. About backup and recovery
Red Hat recommends backing up deployments of Red Hat Ansible Automation Platform in your Red Hat OpenShift Container Platform environment to prevent data loss.
A backup resource of your Red Hat Ansible Automation Platform deployment includes the following:
-
Custom deployment of specific values in the
spec
section of the Ansible Automation Platform custom resource object -
Back up of the
postgresql
database -
secret_key
,admin_password
, andbroadcast_websocket
secrets - Database configuration
Be sure to secure your backup resources because they can include sensitive information.
1.1.1. Backup recommendations
Recovering from data loss requires that you plan for and create backup resources of your Red Hat Ansible Automation Platform deployments on a regular basis. At a minimum, Red Hat recommends backing up deployments of Red Hat Ansible Automation Platform under the following circumstances:
- Before upgrading your Red Hat Ansible Automation Platform deployments
- Before upgrading your Openshift cluster
- Once per week. This is particularly important if your environment is configured for automatic upgrades.