mirror of
https://github.com/rubenhensen/k8scd.git
synced 2026-09-17 02:12:55 +02:00
Add weekly backup
This commit is contained in:
@@ -0,0 +1,13 @@
|
|||||||
|
apiVersion: velero.io/v1
|
||||||
|
kind: Schedule
|
||||||
|
metadata:
|
||||||
|
name: weekly-backup
|
||||||
|
annotations:
|
||||||
|
velero.io/csi-volumesnapshot-class_driver.longhorn.io: "longhorn-backup-vsc"
|
||||||
|
spec:
|
||||||
|
schedule: "0 0 * * 0" # Weekly on Sunday at midnight
|
||||||
|
template:
|
||||||
|
ttl: 90d
|
||||||
|
defaultVolumesToFsBackup: true
|
||||||
|
snapshotVolumes: true
|
||||||
|
snapshotMoveData: true
|
||||||
Reference in New Issue
Block a user