AGENT-GET
On this page
Allows copying of files from other hosts via SCP.
Specifying a list of agent-id
’s, this command lets users SCP files from remote MemSQL Ops agent hosts.
Usage
usage: memsql-ops agent-get [--settings-file SETTINGS_FILE]
[--agent-ids AGENT_IDS [AGENT_IDS ...]]
[--memsql-role {leaf,aggregator,master} [{leaf,aggregator,master} ...]]
[--no-prompt] [-u USER] [-P PORT] [-i PRIVATE_KEY]
[-p [PASSWORD]]
source dest
SCP files from agents.
positional arguments:
source Path to the source file on the remote agent(s).
dest Path to the destination file on the local machine.
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.
--agent-ids AGENT_IDS [AGENT_IDS ...]
Filter the nodes by the specified agent IDs.
--memsql-role {leaf,aggregator,master} [{leaf,aggregator,master} ...]
Filter the nodes by the specified SingleStore roles.
--no-prompt Skip interactive prompts if a single agent is
selected.
-u USER, --user USER Use this user for all SSH connections.
-P PORT, --port PORT Use this port for all SSH connections.
-i PRIVATE_KEY, --private-key-file PRIVATE_KEY
Use this SSH key for all SSH connections.
-p [PASSWORD], --password [PASSWORD]
Use this password for all SSH connections. Leave blank
to read the MEMSQL_PASSWORD environment variable, or
have a password prompt if MEMSQL_PASSWORD is not set.
Last modified: July 11, 2023