Outdated Version
You are viewing an older version of this section. View current production version.
DATABASE-BACKUP
MemSQL Ops has been deprecated
Please follow this guide to learn how to migrate to SingleStore tools.
Info
SingleStore Managed Service does not support this command.
Available since MemSQL Ops version 4.0.31.
Create a backup of a database in the cluster.
Usage
usage: memsql-ops database-backup [--settings-file SETTINGS_FILE] [--async] -D
DATABASE
Create a backup of a database in the 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.