Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ See the following procedure for how to back up a deployment of the {ControllerNa

.Procedure

. Create a file named "backup-awx.yml" with the following contents:
. Create a file named "backup-automation-controller.yml" with the following contents:
+
----
---
apiVersion: automationcontroller.ansible.com/v1beta1
kind: AWXBackup
kind: AutomationControllerBackup
metadata:
name: awxbackup-2024-07-15
name: AutomationControllerBackup-2024-07-15
namespace: my-namespace
spec:
deployment_name: controller
Expand All @@ -34,4 +34,4 @@ The namespace above is the one containing the {ControllerName} deployment you in

. Use the `oc apply` command to create the backup object in your cluster:

`$ oc apply -f backup-awx.yml`
`$ oc apply -f backup-automation-controller.yml`
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ kind: AutomationControllerRestore
apiVersion: automationcontroller.ansible.com/v1beta1
metadata:
namespace: my-namespace
name: awxrestore-2024-07-15
name: AutomationControllerRestore-2024-07-15
spec:
deployment_name: restored_controller
backup_name: awxbackup-2024-07-15
backup_name: AutomationControllerBackup-2024-07-15
postgres_configuration_secret: 'external-restore-postgres-configuration'
----
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ data:
kind: Secret
metadata:
name: mycerts
namespace: awx
namespace: AutomationController
type: Opaque
----
<1> {ControllerNameStart} looks for the data field `ldap-ca.crt` in the specified secret when using the `ldap_cacert_secret`.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ oc rsh dbchecker
. After the shell session opens in the pod, verify that the new project can connect to your old project cluster:
+
-----
pg_isready -h <old-host-address> -p <old-port-number> -U awx
pg_isready -h <old-host-address> -p <old-port-number> -U AutomationContoller
-----
+
.Example
Expand Down