create-snapshot

subtitle

Creates a snapshot for a specific table.

version

0.9.128

Description

Returns id state and creation time.

Synopsis

  create-snapshot
--environment-name <value>
--database-name <value>
--table-name <value>
--snapshot-name <value>
--snapshot-location <value>
[--cli-input-json <value>]
[--generate-cli-skeleton]

Options

--environment-name (string)

The name of the environment.

--database-name (string)

The name of the database.

--table-name (string)

The fully qualified table name.

--snapshot-name (string)

Snapshot name unique per database.

--snapshot-location (string)

The snapshot location URL on object store.

--cli-input-json (string)

Performs service operation based on the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton. If other arguments are provided on the command line, the CLI values will override the JSON-provided values.

--generate-cli-skeleton (boolean)

Prints a sample input JSON to standard output. Note the specified operation is not run if this argument is specified. The sample input can be used as an argument for --cli-input-json.

Output

environmentName -> (string)

The name of the environment.

databaseName -> (string)

The name of the database.

status -> (string)

Snapshot Status Type. NEW - Expected when a snapshot request was just requested. IN_PROGRESS - When a snapshot request is in progress. FAILED - If for any reason a snapshot request has failed. SUCCESSFUL - A snapshot request has completed successfully. LOCKED - A snapshot exists, but can’t be restored or read. DELETED - A snapshot existed but was just deleted. CORRUPT - A snapshot got corrupted. DELETING - A snapshot is being deleted.

creationTime -> (integer)

When the snapshot was created.

commandID -> (integer)

The submitted Command ID of the create snapshot.

statusReason -> (string)

Reason for the status.

Form Factors

public