Skip to content

Commit 45c9ae4

Browse files
Add reclaim policy requirement for snapshots (#3509)
* Add reclaim policy requirement for snapshots * docs edits --------- Co-authored-by: Paige Calvert <[email protected]>
1 parent d049b6b commit 45c9ae4

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

docs/vendor/snapshots-configuring-backups.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,17 @@ This topic provides information about how to configure the Velero Backup resourc
44

55
For more information about snapshots, see [About Backup and Restore with snapshots](/vendor/snapshots-overview).
66

7+
## Storage Class Requirement
8+
9+
For backup and restore operations to work properly, PersistentVolumes must use a StorageClass with a reclaim policy of `Delete`. Backup and restore operations are not supported for volumes with `Retain` reclaim policy.
10+
11+
To verify your StorageClass reclaim policy, run:
12+
```bash
13+
kubectl get storageclass -o wide
14+
```
15+
16+
If needed, update the StorageClass reclaim policy to `Delete` before configuring snapshots.
17+
718
## Configure Snapshots
819

920
Add a Velero Backup custom resource (`kind: Backup`, `apiVersion: velero.io/v1`) to your release and configure it as needed. After configuring the Backup resource, add annotations for each volume that you want to be included in backups.

0 commit comments

Comments
 (0)