HomeMogDBMogDB StackUqbar

Documentation:v2.0

Supported Versions:

Other Versions:

Backup and Recovery

Overview

The RESTORE command allows you to restore a MogDB cluster from a single backup. Example:

mgo restore mycluster --RestoreType=file --RestoreFile=xxx
mgo restore [flags]

Options

      --backup-type string           The type of backup to restore. There are "basebackup" and "dumpall" (the default is "basebackup")
  -h, --help                         restore help information
      --recovery-time-point string   Specify the last backup time point
      --restore-object string        Specify the backup object
      --restore-type string          Backup types, "object" and "time" respectively.

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
  • mgo - mgo command line tool
Copyright © 2011-2024 www.enmotech.com All rights reserved.