Hey TiDB folks,
I want to use BackupSchedule
with K8s, but I don’t want log backups; snapshot backups are enough.
However, the BackupSchedule
definition requires that logBackupTemplate
be defined.
So, how can I schedule just snapshot backups and not log backups?
Thanks!
For reference, here’s what I’d like to be able to write:
apiVersion: pingcap.com/v1alpha1
kind: BackupSchedule
metadata:
name: backup-schedule
namespace: tidb-cluster
spec:
schedule: "0 */4 * * *"
pause: false
maxBackups: 8
backupTemplate:
cleanPolicy: Delete
br:
cluster: basic
clusterNamespace: tidb-cluster
sendCredToTikv: true
s3:
provider: aws
region: us-west-2
secretName: s3-secret
bucket: bagel-tidb
prefix: backup-full
storageClass: INTELLIGENT_TIERING
# logBackupTemplate is not defined.