HomeMogDBMogDB StackUqbar

Documentation:v2.0

Supported Versions:

MogDB Backup CR Sample

If you wish to create a MogDB Backup CR via the native kubectl command, you can do so by writing a simple yaml file and submitting it to the k8s system, such as :

apiVersion: mogdb.enmotech.io/v1
kind: MogdbBackup
metadata:
  labels:
    mogdb.enmotech.io/auto: ""
    mogdb.enmotech.io/backup-level: incr
    mogdb.enmotech.io/backup-type: basebackup
    mogdb.enmotech.io/cluster: cluster1
  name: cluster1-manual-2022-12-16t09-20-56
  namespace: mogdb-operator-system
spec:
  baseBackup:
    backupLevel: incr
    name: manual-base-backup
    tbNames:
    - ""
  clusterName: cluster1
  image: swr.cn-north-4.myhuaweicloud.com/mogdb-cloud/mogdb-remoteclient:lastest

The above configuration specifies the clusters to be backed up, and the specific database.

Copyright © 2011-2024 www.enmotech.com All rights reserved.