Join the MemSQL Community Today
Get expert advice, develop skills, and connect with others.

DATABASE-BACKUP

MemSQL Ops has been deprecated

Please follow this guide to learn how to migrate to MemSQL tools.

Info

MemSQL Helios does not support this command.

Available since MemSQL Ops version 4.0.31.

Create a backup of a database in the MemSQL cluster.

Usage

usage: memsql-ops database-backup [--settings-file SETTINGS_FILE] [--async] -D
                                  DATABASE

Create a backup of a database in the MemSQL cluster.

optional arguments:
  --settings-file SETTINGS_FILE
                        A path to a MemSQL Ops settings.conf file. If not set,
                        we will use the file in the same directory as the
                        MemSQL Ops binary.
  --async               If this option is true, we will exit without waiting
                        for the database to be fully backed up.
  -D DATABASE, --database DATABASE
                        The name of the database to back up.