snapshots
This commit is contained in:
@@ -1,72 +1,48 @@
|
||||
#apiVersion: velero.io/v1
|
||||
#kind: Schedule
|
||||
#metadata:
|
||||
# name: backup-csi-hourly
|
||||
# namespace: velero
|
||||
# labels:
|
||||
# velero.io/storage-location: ceph-bucket
|
||||
#spec:
|
||||
# # Schedule is a Cron expression defining when to run the Backup
|
||||
# schedule: 0 15-22 * * * # every hour
|
||||
# # Specifies whether to use OwnerReferences on backups created by this Schedule.
|
||||
# # Notice: if set to true, when schedule is deleted, backups will be deleted too. Optional.
|
||||
# useOwnerReferencesInBackup: true
|
||||
# template:
|
||||
# csiSnapshotTimeout: 10m0s
|
||||
# defaultVolumesToFsBackup: false
|
||||
# hooks: {}
|
||||
# includedNamespaces:
|
||||
# - demo
|
||||
# metadata: {}
|
||||
# storageLocation: ceph-bucket
|
||||
# ttl: 8h0m0s
|
||||
#---
|
||||
#apiVersion: velero.io/v1
|
||||
#kind: Schedule
|
||||
#metadata:
|
||||
# name: backup-csi-daily
|
||||
# namespace: velero
|
||||
# labels:
|
||||
# velero.io/storage-location: ceph-bucket
|
||||
#spec:
|
||||
# # Schedule is a Cron expression defining when to run the Backup
|
||||
# schedule: 0 0 * * * # every hour
|
||||
# # Specifies whether to use OwnerReferences on backups created by this Schedule.
|
||||
# # Notice: if set to true, when schedule is deleted, backups will be deleted too. Optional.
|
||||
# useOwnerReferencesInBackup: true
|
||||
# template:
|
||||
# csiSnapshotTimeout: 10m0s
|
||||
# defaultVolumesToFsBackup: false
|
||||
# hooks: {}
|
||||
# includedNamespaces:
|
||||
# - demo
|
||||
# metadata: {}
|
||||
# storageLocation: ceph-bucket
|
||||
# ttl: 168h0m0s
|
||||
#---
|
||||
#apiVersion: velero.io/v1
|
||||
#kind: Schedule
|
||||
#metadata:
|
||||
# name: backup-csi-weekly
|
||||
# namespace: velero
|
||||
# labels:
|
||||
# velero.io/storage-location: ceph-bucket
|
||||
#spec:
|
||||
# # Schedule is a Cron expression defining when to run the Backup
|
||||
# schedule: 0 0 * * 1 # every hour
|
||||
# # Specifies whether to use OwnerReferences on backups created by this Schedule.
|
||||
# # Notice: if set to true, when schedule is deleted, backups will be deleted too. Optional.
|
||||
# useOwnerReferencesInBackup: true
|
||||
# template:
|
||||
# csiSnapshotTimeout: 10m0s
|
||||
# defaultVolumesToFsBackup: false
|
||||
# hooks: {}
|
||||
# includedNamespaces:
|
||||
# - demo
|
||||
# metadata: {}
|
||||
# storageLocation: ceph-bucket
|
||||
# ttl: 730h0m0s
|
||||
#---
|
||||
apiVersion: velero.io/v1
|
||||
kind: Schedule
|
||||
metadata:
|
||||
name: demo-csi-hourly
|
||||
namespace: velero
|
||||
spec:
|
||||
schedule: "0 15-22 * * *"
|
||||
useOwnerReferencesInBackup: true
|
||||
template:
|
||||
includedNamespaces: ["demo"]
|
||||
ttl: 8h
|
||||
snapshotVolumes: true
|
||||
defaultVolumesToFsBackup: false
|
||||
csiSnapshotTimeout: 10m
|
||||
---
|
||||
apiVersion: velero.io/v1
|
||||
kind: Schedule
|
||||
metadata:
|
||||
name: demo-csi-daily
|
||||
namespace: velero
|
||||
spec:
|
||||
schedule: "0 0 * * *"
|
||||
useOwnerReferencesInBackup: true
|
||||
template:
|
||||
includedNamespaces: ["demo"]
|
||||
ttl: 168h
|
||||
snapshotVolumes: true
|
||||
defaultVolumesToFsBackup: false
|
||||
csiSnapshotTimeout: 10m
|
||||
---
|
||||
apiVersion: velero.io/v1
|
||||
kind: Schedule
|
||||
metadata:
|
||||
name: demo-csi-weekly
|
||||
namespace: velero
|
||||
spec:
|
||||
schedule: "0 0 * * 1"
|
||||
useOwnerReferencesInBackup: true
|
||||
template:
|
||||
includedNamespaces: ["demo"]
|
||||
ttl: 730h
|
||||
snapshotVolumes: true
|
||||
defaultVolumesToFsBackup: false
|
||||
csiSnapshotTimeout: 10m
|
||||
---
|
||||
apiVersion: velero.io/v1
|
||||
kind: Schedule
|
||||
metadata:
|
||||
|
||||
Reference in New Issue
Block a user