HomeMogDBMogDB StackUqbar

Documentation:v2.0

Supported Versions:

Other Versions:

Perform Manual Backup

Overview

The BACKUP command allows you to perform a manual backup of the cluster. Example:

mgo backup mycluster --backup-type=basebackup --backup-level=incr
mgo backup [flags]

Options

      --backup-image string           Backup image, default latest version.
      --backup-level string           Backup level. It is divided into "incr" or "full". (default "incr") 
      --backup-s3-bucket string       When "S3" storage type is enabled for backup, the S3 storage buckets applied to the cluster
      --backup-s3-endpoint string     When "S3" storage type is enabled for backup, the S3 storage nodes applied to the cluster
      --backup-s3-key string          When "S3" storage type is enabled for backup, the S3 node access key applied to the cluster
      --backup-s3-key-secret string   When "S3" storage type is enabled for backup, the S3 node access key secret applied to the cluster
      --backup-s3-region string       When "S3" storage type is enabled for backup, the S3region applied to the cluster
      --backup-storage-type string    Backup storage types. There are "posix" and "s3". (default "posix") 
      --backup-type string            Types of backups. There are "basebackup" and "dumpall". (default "basebackup")
      --dbName string                 Specify the backup database name
  -h, --help                          backup help information
      --tbNames string                Specify the name of the backup form, separating multiple names with commas

Options Inherited From The Parent Command

      --apiserver-url string      The URL of the MogDB Operator apiserver that will handle requests from the mgo client. please note that the URL should not end in "/"
      --debug                     Enable debug output for debugging
      --disable-tls               Disable TLS authentication for MogDB Operator
      --exclude-os-trust          Exclude CA certificates from the OS default trust store
      --k8s-node string          Specify k8s node, default local k8s node
      --mgo-ca-cert string       Connection to MogDB Operator apiserver CA certificate file path.
      --mgo-client-cert string   Path to the client certificate file used to authenticate to the MogDB Operator apiserver
      --mgo-client-key string    Path to the client key file used to authenticate to the MogDB Operator apiserver
  -n, --namespace string          Namespace for mgo requests
Copyright © 2011-2024 www.enmotech.com All rights reserved.