You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/oadp-creating-backup-cr.adoc
+17-1Lines changed: 17 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -52,11 +52,27 @@ spec:
52
52
hooks: {}
53
53
includedNamespaces:
54
54
- <namespace> <1>
55
-
storageLocation: <velero-sample-1> <2>
55
+
storageLocation: <velero_sample_1> <2>
56
56
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>
57
71
----
58
72
<1> Specify an array of namespaces to back up.
59
73
<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.
60
76
61
77
. Verify that the status of the `Backup` CR is `Completed`:
0 commit comments