Skip to content

Commit 960ea3a

Browse files
authored
Merge pull request #48615 from sbeskin-redhat/OADP_571_Document_ACM_Feature_enhancements-for_Velero
OADP-571 Document ACM feature enhancements for Velero
2 parents c399110 + 385579e commit 960ea3a

File tree

2 files changed

+21
-1
lines changed

2 files changed

+21
-1
lines changed

modules/oadp-creating-backup-cr.adoc

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,27 @@ spec:
5252
hooks: {}
5353
includedNamespaces:
5454
- <namespace> <1>
55-
storageLocation: <velero-sample-1> <2>
55+
storageLocation: <velero_sample_1> <2>
5656
ttl: 720h0m0s
57+
labelSelector: <3>
58+
- matchLabels:
59+
app=<label_1>
60+
- matchLabels:
61+
app=<label_2>
62+
- matchLabels:
63+
app=<label_3>
64+
orlabelSelectors: <4>
65+
- matchLabels:
66+
app=<label_1>
67+
- matchLabels:
68+
app=<label_2>
69+
- matchLabels:
70+
app=<label_3>
5771
----
5872
<1> Specify an array of namespaces to back up.
5973
<2> Specify the name of the `backupStorageLocations` CR.
74+
<3> Optional. You can configure the backup to include only the resources with all the labels that you specify in this field. Note that the `labelSelector` and `orlabelSelectors` fields are mutually exclusive. You can use only one of them.
75+
<4> Optional. You can configure the backup to include the resources with any of the labels that you specify in this field. Note that the `orlabelSelectors` and `labelSelector` fields are mutually exclusive. You can use only one of them.
6076

6177
. Verify that the status of the `Backup` CR is `Completed`:
6278
+

modules/oadp-creating-restore-cr.adoc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ metadata:
2828
namespace: openshift-adp
2929
spec:
3030
backupName: <backup> <1>
31+
existingResourcePolicy: <policy> <2>
3132
excludedResources:
3233
- nodes
3334
- events
@@ -38,6 +39,9 @@ spec:
3839
restorePVs: true
3940
----
4041
<1> Name of the `Backup` CR.
42+
<2> Optional. This field accepts two values:
43+
* `none`: The restore process does not affect existing resources.
44+
* `update`: The restore process replaces existing resources with their backup versions.
4145

4246
. Verify that the status of the `Restore` CR is `Completed`:
4347
+

0 commit comments

Comments
 (0)