A newer version is available. For the latest information, see the
current release documentation.
snapshots
editsnapshots
editCommands using the snapshots
subcommand:
Help Output
editThis is the help output for snapshot selection.
curator show snapshots --help Usage: curator show snapshots [OPTIONS] Get a list of snapshots to act on from the provided arguments, then perform the command [delete, show] on the resulting list. Options: --newer-than INTEGER Include only snapshots newer than n time_units --older-than INTEGER Include only snapshots older than n time_units --prefix TEXT Include only snapshots beginning with prefix. --suffix TEXT Include only snapshots ending with suffix. --time-unit [hours|days|weeks|months] Unit of time to reckon by --timestring TEXT Python strftime string to match your snapshot's definition, e.g. 20140715020304 would be %Y%m%d%H%M%S --regex TEXT Provide your own regex, e.g '^prefix-.*-suffix$' --exclude TEXT Exclude matching snapshots. Can be invoked multiple times. --snapshot TEXT Include the provided snapshot in the list. Can be invoked multiple times. --all-snapshots Do not filter snapshots. Act on all snapshots. --repository TEXT Repository name. --help Show this message and exit.