velero-schedules.yaml (1458B)
1 apiVersion: velero.io/v1 2 kind: Schedule 3 metadata: 4 name: cluster-backup-0000 5 namespace: velero 6 spec: 7 schedule: "0 0 * * *" 8 template: 9 includedNamespaces: 10 - "*" 11 excludedNamespaces: 12 - velero 13 - kube-system 14 - loki 15 - postgres-cluster 16 storageLocation: default 17 volumeSnapshotLocations: 18 - default 19 ttl: 336h 20 --- 21 apiVersion: velero.io/v1 22 kind: Schedule 23 metadata: 24 name: cluster-backup-0600 25 namespace: velero 26 spec: 27 schedule: "0 6 * * *" 28 template: 29 includedNamespaces: 30 - "*" 31 excludedNamespaces: 32 - velero 33 - kube-system 34 - loki 35 - postgres-cluster 36 storageLocation: default 37 volumeSnapshotLocations: 38 - default 39 ttl: 336h 40 --- 41 apiVersion: velero.io/v1 42 kind: Schedule 43 metadata: 44 name: cluster-backup-1200 45 namespace: velero 46 spec: 47 schedule: "0 12 * * *" 48 template: 49 includedNamespaces: 50 - "*" 51 excludedNamespaces: 52 - velero 53 - kube-system 54 - loki 55 - postgres-cluster 56 storageLocation: default 57 volumeSnapshotLocations: 58 - default 59 ttl: 336h 60 --- 61 apiVersion: velero.io/v1 62 kind: Schedule 63 metadata: 64 name: cluster-backup-1800 65 namespace: velero 66 spec: 67 schedule: "0 18 * * *" 68 template: 69 includedNamespaces: 70 - "*" 71 excludedNamespaces: 72 - velero 73 - kube-system 74 - loki 75 - postgres-cluster 76 storageLocation: default 77 volumeSnapshotLocations: 78 - default 79 ttl: 336h