A newer version is available. For the latest information, see the
current release documentation.
--snapshot
edit
IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.
--snapshot
editSummary
editThis flag only functions within the scope of snapshot selection.
Add a snapshot (or snapshots) by name at the command-line. Snapshots added with
the --snapshot flag will not be filtered by any of the other snapshot
selection flags. The snapshot must exist. This flag can be used in lieu of
filtering from the list of all snapshots. This flag can be invoked multiple
times.
Flags
edit-
--snapshotInclude the named snapshot in the list. Can be invoked multiple times.
Examples
editInclude snapshot_name as one of the snapshots to be shown in addition to the
provided criteria:
curator show snapshots --repository REPO --prefix curator --snapshot snapshot_name
Delete only snapshots snap1 and snap2:
curator delete snapshots --repository REPO --snapshot snap1 --snapshot snap2