Skip to content

Commit e33c634

Browse files
authored
Merge pull request #66083 from RichardHoch/restic_backup_cr
Replacing "defaultVolumesToRestic" with "defaultVolumesToFsBackup"
2 parents 213142f + f66edc5 commit e33c634

File tree

5 files changed

+14
-16
lines changed

5 files changed

+14
-16
lines changed

backup_and_restore/application_backup_and_restore/backing_up_and_restoring/oadp-backing-up-applications-restic-doc.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ metadata:
4545
velero.io/storage-location: default
4646
namespace: openshift-adp
4747
spec:
48-
defaultVolumesToRestic: true <1>
48+
defaultVolumesToFsBackup: true <1>
4949
...
5050
----
51-
<1> Add `defaultVolumesToRestic: true` to the `spec` block.
51+
<1> In OADP version 1.2 and later, add the `defaultVolumesToFsBackup: true` setting within the `spec` block. In OADP version 1.1, add `defaultVolumesToRestic: true`.

backup_and_restore/application_backup_and_restore/backing_up_and_restoring/oadp-scheduling-backups-doc.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,14 +57,14 @@ spec:
5757
includedNamespaces:
5858
- <namespace> <2>
5959
storageLocation: <velero-sample-1> <3>
60-
defaultVolumesToRestic: true <4>
60+
defaultVolumesToFsBackup: true <4>
6161
ttl: 720h0m0s
6262
EOF
6363
----
6464
<1> `cron` expression to schedule the backup, for example, `0 7 * * *` to perform a backup every day at 7:00.
6565
<2> Array of namespaces to back up.
6666
<3> Name of the `backupStorageLocations` CR.
67-
<4> Optional: Add the `defaultVolumesToRestic: true` key-value pair if you are backing up volumes with Restic.
67+
<4> Optional: In OADP version 1.2 and later, add the `defaultVolumesToFsBackup: true` key-value pair to your configuration when performing backups of volumes with Restic. In OADP 1.1, add the `defaultVolumesToRestic: true` key-value pair when you back up volumes with Restic.
6868

6969
. Verify that the status of the `Schedule` CR is `Completed` after the scheduled backup runs:
7070
+

modules/oadp-backing-up-applications-restic.adoc

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,7 @@ metadata:
3535
velero.io/storage-location: default
3636
namespace: openshift-adp
3737
spec:
38-
defaultVolumesToRestic: true <1>
38+
defaultVolumesToFsBackup: true <1>
3939
...
4040
----
41-
<1> Add `defaultVolumesToRestic: true` to the `spec` block.
42-
43-
41+
<1> In OADP version 1.2 and later, add the `defaultVolumesToFsBackup: true` setting within the `spec` block. In OADP version 1.1, add `defaultVolumesToRestic: true`.

modules/oadp-installing-dpa.adoc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ spec:
8383
----
8484
<1> The `openshift` plugin is mandatory.
8585
<2> Specify how many minutes to wait for several Velero resources before timeout occurs, such as Velero CRD availability, volumeSnapshot deletion, and backup repository availability. The default is 10m.
86-
<3> Set to `false`, if you want to disable the Restic installation. Restic deploys a daemon set, which means that each worker node has `Restic` pods running. You can configure Restic for backups by adding `spec.defaultVolumesToRestic: true` to the `Backup` CR.
86+
<3> Set this value to `false` if you want to disable the Restic installation. Restic deploys a daemon set, which means that Restic pods run on each working node. In OADP version 1.2 and later, you can configure Restic for backups by adding `spec.defaultVolumesToFsBackup: true` to the `Backup` CR. In OADP version 1.1, add `spec.defaultVolumesToRestic: true` to the `Backup` CR.
8787
<4> Specify on which nodes Restic is available. By default, Restic runs on all nodes.
8888
<5> Specify a bucket as the backup storage location. If the bucket is not a dedicated bucket for Velero backups, you must specify a prefix.
8989
<6> Specify a prefix for Velero backups, for example, `velero`, if the bucket is used for multiple purposes.
@@ -137,7 +137,7 @@ spec:
137137
----
138138
<1> The `openshift` plugin is mandatory.
139139
<2> Specify how many minutes to wait for several Velero resources before timeout occurs, such as Velero CRD availability, volumeSnapshot deletion, and backup repository availability. The default is 10m.
140-
<3> Set to `false`, if you want to disable the Restic installation. Restic deploys a daemon set, which means that each worker node has `Restic` pods running. You can configure Restic for backups by adding `spec.defaultVolumesToRestic: true` to the `Backup` CR.
140+
<3> Set this value to `false` if you want to disable the Restic installation. Restic deploys a daemon set, which means that Restic pods run on each working node. In OADP version 1.2 and later, you can configure Restic for backups by adding `spec.defaultVolumesToFsBackup: true` to the `Backup` CR. In OADP version 1.1, add `spec.defaultVolumesToRestic: true` to the `Backup` CR.
141141
<4> Specify on which nodes Restic is available. By default, Restic runs on all nodes.
142142
<5> Specify the Azure resource group.
143143
<6> Specify the Azure storage account ID.
@@ -187,7 +187,7 @@ spec:
187187
----
188188
<1> The `openshift` plugin is mandatory.
189189
<2> Specify how many minutes to wait for several Velero resources before timeout occurs, such as Velero CRD availability, volumeSnapshot deletion, and backup repository availability. The default is 10m.
190-
<3> Set to `false`, if you want to disable the Restic installation. Restic deploys a daemon set, which means that each worker node has `Restic` pods running. You can configure Restic for backups by adding `spec.defaultVolumesToRestic: true` to the `Backup` CR.
190+
<3> Set this value to `false` if you want to disable the Restic installation. Restic deploys a daemon set, which means that Restic pods run on each working node. In OADP version 1.2 and later, you can configure Restic for backups by adding `spec.defaultVolumesToFsBackup: true` to the `Backup` CR. In OADP version 1.1, add `spec.defaultVolumesToRestic: true` to the `Backup` CR.
191191
<4> Specify on which nodes Restic is available. By default, Restic runs on all nodes.
192192
<5> If you do not specify this value, the default name, `{credentials}`, is used. If you specify a custom name, the custom name is used for the backup location.
193193
<6> Specify a bucket as the backup storage location. If the bucket is not a dedicated bucket for Velero backups, you must specify a prefix.
@@ -234,7 +234,7 @@ spec:
234234
----
235235
<1> The `openshift` plugin is mandatory.
236236
<2> Specify how many minutes to wait for several Velero resources before timeout occurs, such as Velero CRD availability, volumeSnapshot deletion, and backup repository availability. The default is 10m.
237-
<3> Set to `false`, if you want to disable the Restic installation. Restic deploys a daemon set, which means that each worker node has `Restic` pods running. You can configure Restic for backups by adding `spec.defaultVolumesToRestic: true` to the `Backup` CR.
237+
<3> Set this value to `false` if you want to disable the Restic installation. Restic deploys a daemon set, which means that Restic pods run on each working node. In OADP version 1.2 and later, you can configure Restic for backups by adding `spec.defaultVolumesToFsBackup: true` to the `Backup` CR. In OADP version 1.1, add `spec.defaultVolumesToRestic: true` to the `Backup` CR.
238238
<4> Specify on which nodes Restic is available. By default, Restic runs on all nodes.
239239
<5> Specify the URL of the S3 endpoint.
240240
<6> If you do not specify this value, the default name, `{credentials}`, is used. If you specify a custom name, the custom name is used for the backup location.
@@ -279,7 +279,7 @@ spec:
279279
<3> Specify the `csi` default plugin if you use CSI snapshots to back up PVs. The `csi` plugin uses the link:https://{velero-domain}/docs/main/csi/[Velero CSI beta snapshot APIs]. You do not need to configure a snapshot location.
280280
<4> The `openshift` plugin is mandatory.
281281
<5> Specify how many minutes to wait for several Velero resources before timeout occurs, such as Velero CRD availability, volumeSnapshot deletion, and backup repository availability. The default is 10m.
282-
<6> Set to `false`, if you want to disable the Restic installation. Restic deploys a daemon set, which means that each worker node has `Restic` pods running. You can configure Restic for backups by adding `spec.defaultVolumesToRestic: true` to the `Backup` CR.
282+
<6> Set this value to `false` if you want to disable the Restic installation. Restic deploys a daemon set, which means that Restic pods run on each working node. In OADP version 1.2 and later, you can configure Restic for backups by adding `spec.defaultVolumesToFsBackup: true` to the `Backup` CR. In OADP version 1.1, add `spec.defaultVolumesToRestic: true` to the `Backup` CR.
283283
<7> Specify on which nodes Restic is available. By default, Restic runs on all nodes.
284284
<8> Specify the backup provider.
285285
<9> Specify the correct default name for the `Secret`, for example, `cloud-credentials-gcp`, if you use a default plugin for the backup provider. If specifying a custom name, then the custom name is used for the backup location. If you do not specify a `Secret` name, the default name is used.
@@ -324,7 +324,7 @@ spec:
324324
<3> The `csi` plugin is mandatory for backing up PVs with CSI snapshots. The `csi` plugin uses the link:https://{velero-domain}/docs/main/csi/[Velero CSI beta snapshot APIs]. You do not need to configure a snapshot location.
325325
<4> The `openshift` plugin is mandatory.
326326
<5> Specify how many minutes to wait for several Velero resources before timeout occurs, such as Velero CRD availability, volumeSnapshot deletion, and backup repository availability. The default is 10m.
327-
<6> Set to `false`, if you want to disable the Restic installation. Restic deploys a daemon set, which means that each worker node has `Restic` pods running. You can configure Restic for backups by adding `spec.defaultVolumesToRestic: true` to the `Backup` CR.
327+
<6> Set this value to `false` if you want to disable the Restic installation. Restic deploys a daemon set, which means that Restic pods run on each working node. In OADP version 1.2 and later, you can configure Restic for backups by adding `spec.defaultVolumesToFsBackup: true` to the `Backup` CR. In OADP version 1.1, add `spec.defaultVolumesToRestic: true` to the `Backup` CR.
328328
<7> Specify on which nodes Restic is available. By default, Restic runs on all nodes.
329329
<8> Specify the backup provider.
330330
<9> Specify the correct default name for the `Secret`, for example, `cloud-credentials-gcp`, if you use a default plugin for the backup provider. If specifying a custom name, then the custom name is used for the backup location. If you do not specify a `Secret` name, the default name is used.

modules/oadp-scheduling-backups.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,14 +54,14 @@ spec:
5454
includedNamespaces:
5555
- <namespace> <2>
5656
storageLocation: <velero-sample-1> <3>
57-
defaultVolumesToRestic: true <4>
57+
defaultVolumesToFsBackup: true <4>
5858
ttl: 720h0m0s
5959
EOF
6060
----
6161
<1> `cron` expression to schedule the backup, for example, `0 7 * * *` to perform a backup every day at 7:00.
6262
<2> Array of namespaces to back up.
6363
<3> Name of the `backupStorageLocations` CR.
64-
<4> Optional: Add the `defaultVolumesToRestic: true` key-value pair if you are backing up volumes with Restic.
64+
<4> Optional: In OADP version 1.2 and later, add the `defaultVolumesToFsBackup: true` key-value pair to your configuration when performing backups of volumes with Restic. In OADP version 1.1, add the `defaultVolumesToRestic: true` key-value pair when you back up volumes with Restic.
6565

6666
. Verify that the status of the `Schedule` CR is `Completed` after the scheduled backup runs:
6767
+

0 commit comments

Comments
 (0)