list-restore-snapshots

subtitle

Lists instances when a snapshot was restored to a database

version

0.9.109

Description

Returns a list of snapshots restored into a database.

Synopsis

  list-restore-snapshots
--environment-name <value>
--database-name <value>
[--snapshot-name <value>]
[--target-environment-name <value>]
[--target-database-name <value>]
[--command-id <value>]
[--from-restore-time <value>]
[--to-restore-time <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

--snapshot-name (string)

Snapshot Name

--target-environment-name (string)

The name of the target environment

--target-database-name (string)

The name of the target database

--command-id (integer)

Command Id

--from-restore-time (datetime)

The starting snapshot restore time to search restore snapshots (inclusive).

--to-restore-time (datetime)

The ending snapshot restore time to search restore snapshots (inclusive).

--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.

restoreSnapshots -> (array)

List of snapshots which have been restored against the database.

item -> (object)

An instance of restoring a snapshot to a database.

snapshotName -> (string)

The snapshot name

targetEnvironmentName -> (string)

The name of the target environment

targetDatabaseName -> (string)

The name of the target 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.

restoreTime -> (integer)

When the snapshot restore was started

commandID -> (integer)

Command id

failureReason -> (string)

Reason for the failure in case of restore snapshot failed.

Form Factors

public