Skip to content

Commit 04b5858

Browse files
authored
Merge pull request #45889 from sbeskin-redhat/DeploymentConfig_restic_workaround_to_include_templateinstances
OADP-440 DeploymentConfig restic workaround to include templateinstances
2 parents a6fd18a + b3db471 commit 04b5858

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: modules/oadp-restic-issues.adoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,13 @@ The `DeploymentConfig` object redeploys the `Restore` pod, causing the `Restore`
5353

5454
.Solution
5555

56-
. Create a `Restore` CR that excludes the `ReplicationController` and `DeploymentConfig` resources:
56+
. Create a `Restore` CR that excludes the `ReplicationController`, `DeploymentConfig`, and `TemplateInstances` resources:
5757
+
5858
[source,terminal]
5959
----
6060
$ velero restore create --from-backup=<backup> -n openshift-adp \ <1>
6161
--include-namespaces <namespace> \ <2>
62-
--exclude-resources replicationcontroller,deploymentconfig \
62+
--exclude-resources replicationcontroller,deploymentconfig,templateinstances.template.openshift.io \
6363
--restore-volumes=true
6464
----
6565
<1> Specify the name of the `Backup` CR.

0 commit comments

Comments
 (0)