Skip to content

Commit 3201887

Browse files
authored
Merge pull request #74027 from CarmiWisemon/oadp3524-backup-types
OADP 3524 - Updated post-restore script
2 parents 791db14 + 884ca64 commit 3201887

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

modules/oadp-creating-restore-cr.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,19 +57,19 @@ $ oc get all -n <namespace> <1>
5757
----
5858
<1> Namespace that you backed up.
5959

60-
. If you use Restic to restore `DeploymentConfig` objects or if you use post-restore hooks, run the `dc-restic-post-restore.sh` cleanup script by entering the following command:
60+
. If you restore `DeploymentConfig` with volumes or if you use post-restore hooks, run the `dc-post-restore.sh` cleanup script by entering the following command:
6161
+
6262
[source,terminal]
6363
----
64-
$ bash dc-restic-post-restore.sh <restore-name>
64+
$ bash dc-restic-post-restore.sh -> dc-post-restore.sh
6565
----
6666
+
6767
[NOTE]
6868
====
69-
During the restore process, the OADP Velero plug-ins scale down the `DeploymentConfig` objects and restore the pods as standalone pods. This is done to prevent the cluster from deleting the restored `DeploymentConfig` pods immediately on restore and to allow Restic and post-restore hooks to complete their actions on the restored pods. The cleanup script shown below removes these disconnected pods and scales any `DeploymentConfig` objects back up to the appropriate number of replicas.
69+
During the restore process, the OADP Velero plug-ins scale down the `DeploymentConfig` objects and restore the pods as standalone pods. This is done to prevent the cluster from deleting the restored `DeploymentConfig` pods immediately on restore and to allow the restore and post-restore hooks to complete their actions on the restored pods. The cleanup script shown below removes these disconnected pods and scales any `DeploymentConfig` objects back up to the appropriate number of replicas.
7070
====
7171
+
72-
.`dc-restic-post-restore.sh` cleanup script
72+
.`dc-restic-post-restore.sh -> dc-post-restore.sh` cleanup script
7373
[%collapsible]
7474
====
7575
[source,bash]

0 commit comments

Comments
 (0)