mirror of
https://github.com/rubenhensen/k8scd.git
synced 2026-09-17 02:12:55 +02:00
Add daily 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 1 * * *" # Daily at 1 AM
|
||||||
|
template:
|
||||||
|
ttl: 30d
|
||||||
|
defaultVolumesToFsBackup: true
|
||||||
|
snapshotVolumes: true
|
||||||
|
snapshotMoveData: true
|
||||||
Reference in New Issue
Block a user