mirror of
https://github.com/ansible/awx-operator.git
synced 2026-03-26 21:33:14 +00:00
Add pre-reqs to the backup and restore docs (#1186)
This commit is contained in:
@@ -1237,7 +1237,14 @@ Apply the awx-operator.yml for that release to upgrade the operator, and in turn
|
|||||||
|
|
||||||
#### Backup
|
#### Backup
|
||||||
|
|
||||||
The first part of any upgrade should be a backup. Note, there are secrets in the pod which work in conjunction with the database. Having just a database backup without the required secrets will not be sufficient for recovering from an issue when upgrading to a new version. See the [backup role documentation](https://github.com/ansible/awx-operator/tree/devel/roles/backup) for information on how to backup your database and secrets. In the event you need to recover the backup see the [restore role documentation](https://github.com/ansible/awx-operator/tree/devel/roles/restore).
|
The first part of any upgrade should be a backup. Note, there are secrets in the pod which work in conjunction with the database. Having just a database backup without the required secrets will not be sufficient for recovering from an issue when upgrading to a new version. See the [backup role documentation](https://github.com/ansible/awx-operator/tree/devel/roles/backup) for information on how to backup your database and secrets.
|
||||||
|
|
||||||
|
In the event you need to recover the backup see the [restore role documentation](https://github.com/ansible/awx-operator/tree/devel/roles/restore). *Before Restoring from a backup*, be sure to:
|
||||||
|
* delete the old existing AWX CR
|
||||||
|
* delete the persistent volume claim (PVC) for the database from the old deployment, which has a name like `postgres-13-<deployment-name>-postgres-13-0`
|
||||||
|
|
||||||
|
**Note**: Do not delete the namespace/project, as that will delete the backup and the backup's PVC as well.
|
||||||
|
|
||||||
|
|
||||||
#### PostgreSQL Upgrade Considerations
|
#### PostgreSQL Upgrade Considerations
|
||||||
|
|
||||||
|
|||||||
@@ -17,6 +17,12 @@ This role assumes you are authenticated with an Openshift or Kubernetes cluster:
|
|||||||
- AWX is deployed to via the operator
|
- AWX is deployed to via the operator
|
||||||
- An AWX backup is available on a PVC in your cluster (see the backup [README.md](../backup/README.md))
|
- An AWX backup is available on a PVC in your cluster (see the backup [README.md](../backup/README.md))
|
||||||
|
|
||||||
|
*Before Restoring from a backup*, be sure to:
|
||||||
|
- delete the old existing AWX CR
|
||||||
|
- delete the persistent volume claim (PVC) for the database from the old deployment, which has a name like `postgres-13-<deployment-name>-postgres-13-0`
|
||||||
|
|
||||||
|
**Note**: Do not delete the namespace/project, as that will delete the backup and the backup's PVC as well.
|
||||||
|
|
||||||
|
|
||||||
Usage
|
Usage
|
||||||
----------------
|
----------------
|
||||||
|
|||||||
Reference in New Issue
Block a user