Outdated Version

You are viewing an older version of this section. View current production version.

FILE-ADD

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.

Adds a file to the MemSQL Ops internal database that can be used to install SingleStore DB or MemSQL Ops.

This is useful in situations where hosts have limited internet access to download and install SingleStore DB and/or MemSQL Ops. For example, users can download SingleStore DB installer manually, and use the following command to add the SingleStore DB database binary to MemSQL Ops.

Usage

usage: memsql-ops file-add [--settings-file SETTINGS_FILE] [--async] -t
                           {memsql,memsql_ops} [-f]
                           path

Add a file that can be used to install SingleStore DB or MemSQL Ops.

positional arguments:
  path                  The path to the file that you'd like to add.

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 any licenses to be fully registered (if
                        adding a SingleStore DB binary).
  -t {memsql,memsql_ops}, --type {memsql,memsql_ops}
                        The type of file that you are adding (e.g. an archive
                        containing a SingleStore DB binary).
  -f, --force           Overwrite any existing files with the same type and
                        version.