Periodic Tungsten Fabric database backups¶
MOSK enables you to perform the automatic TF
data backup in the JSON format using the tf-dbbackup-job
cron job.
By default, it is disabled. To back up the TF databases, enable
tf-dbBackup
in the TF Operator custom resource:
spec:
controllers:
tf-dbBackup:
enabled: true
By default, the tf-dbbackup-job
job is scheduled for weekly execution,
allocating PVC of 5 Gi size for storing backups and keeping 5 previous
backups. To configure the backup parameters according to the needs of your
cluster, use the following structure:
spec:
controllers:
tf-dbBackup:
enabled: true
dataCapacity: 30Gi
schedule: "0 0 13 * 5"
storedBackups: 10
To temporarily disable tf-dbbackup-job
, suspend the job:
spec:
controllers:
tf-dbBackup:
enabled: true
suspend: true
To delete the tf-dbbackup-job
job, disable tf-dbBackup
in
the TF Operator custom resource:
spec:
controllers:
tf-dbBackup:
enabled: false