mirror of
https://github.com/rubenhensen/k8scd.git
synced 2026-11-16 14:29:09 +01:00
Add daily backup
This commit is contained in:
1 parent
2159949eb0
commit
b102b3d6cf
1 file changed
+13
@@ -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