Skip to content

Commit 7f1d81d

Browse files
committed
Add recommendation for vsClass's annotation
Incorporating QE suggestion SME feedback
1 parent 77e3fb7 commit 7f1d81d

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

backup_and_restore/application_backup_and_restore/backing_up_and_restoring/oadp-backing-up-pvs-csi-doc.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ driver: <csi_driver>
3434
deletionPolicy: <deletion_policy_type> <3>
3535
----
3636
<1> Must be set to `true`.
37-
<2> Must be set to `true`.
38-
<3> OADP supports the `Retain` and `Delete` deletion policy types for CSI and Data Mover backup and restore. For the OADP 1.2 Data Mover, set the deletion policy type to `Retain`.
37+
<2> If you are restoring this volume in another cluster with the same driver, make sure that you set the `snapshot.storage.kubernetes.io/is-default-class` parameter to `false` instead of setting it to `true`. Otherwise, the restore will partially fail.
38+
<3> OADP supports the `Retain` and `Delete` deletion policy types for CSI and Data Mover backup and restore.
3939
4040
.Next steps
4141

modules/oadp-backing-and-restoring-from-cluster-to-cluster.adoc

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ In general, you back up data from one {product-title} cluster and restore it on
1515
1616
.Procedure
1717

18-
* Make the following additions to the procedures given for your platform:
18+
. Make the following additions to the procedures given for your platform:
1919

2020
** Ensure that the backup store location (BSL) and volume snapshot location have the same names and paths to restore resources to another cluster.
2121
** Share the same object storage location credentials across the clusters.
@@ -26,8 +26,14 @@ In general, you back up data from one {product-title} cluster and restore it on
2626
----
2727
$ velero backup create <backup_name> --default-volumes-to-fs-backup <any_other_options>
2828
----
29-
29+
+
3030
[NOTE]
3131
====
3232
In OADP 1.2 and later, the Velero Restic option is called `file-system-backup`.
3333
====
34+
35+
[IMPORTANT]
36+
====
37+
Before restoring a CSI back up, edit the `VolumeSnapshotClass` custom resource (CR), and set the `snapshot.storage.kubernetes.io/is-default-class parameter` to false.
38+
Otherwise, the restore will partially fail due to the same value in the `VolumeSnapshotClass` in the target cluster for the same drive.
39+
====

0 commit comments

Comments
 (0)