Skip to content

Commit 5a81be3

Browse files
committed
Add reclaim policy requirement for snapshots
1 parent 7b62993 commit 5a81be3

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 Requirements
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+
You can verify your StorageClass reclaim policy by running:
12+
```bash
13+
kubectl get storageclass -o wide
14+
```
15+
16+
If needed, update your StorageClass to use the correct reclaim policy before configuring backups.
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)