move to CSI snapshots

This commit is contained in:
2025-12-23 11:54:42 +11:00
parent ecfd0abc68
commit f570587766
3 changed files with 222 additions and 0 deletions

20
dm-smoke.yaml Normal file
View File

@@ -0,0 +1,20 @@
apiVersion: velero.io/v1
kind: Backup
metadata:
name: dm-smoke
namespace: openshift-adp
spec:
includedNamespaces:
- gitea
# Use your default BSL (you set default: true), but being explicit is fine:
storageLocation: default
# Take CSI snapshots (not filesystem copy)…
snapshotVolumes: true
# …and then move the snapshot data into object storage (Data Mover).
# This is the YAML equivalent of `--snapshot-move-data`.
snapshotMoveData: true
ttl: 168h0m0s