PURGE HISTORY

Description

Allows the user to check the state of all the purges registed in the server at some point.

Also, it is useful to get information about them that are preserved for query purposes, such as the author, the date of execution or the storage size and the types affected by the purge.

Usage

cm purge history [--verbose | --server=<server>] [--sort=(desc|asc)] [--skip=<skip> | --limit=<limit>]

Options

Option / ArgumentDescription
--serverAllows to specify the server where purge actions will be queried.
--verboseBy default, only the ID and the status is shown per purge. This option includes more detailed information.
--sortSpecifies an ordering for purges shown in the result. It can be descending (desc) or ascending (asc).
--skipSpecifies a number of entries to skip so they are not reflected in the result.
--limitSpecifies the maximum number of entries to show at once.

Help

Examples

cm purge history

(Shows the ID and status for all purges ever registered in the server).

cm purge history --server=stoltz@cloud

(You can override the server to use different one if needed).

cm purge history --verbose

(Includes more detailed data associated to the shown purges).

cm purge history --sort=asc

(Shows the history starting from the oldest purges).

cm purge history --skip=0 --limit=20 cm purge history --skip=20 --limit=20 cm purge history --skip=40 --limit=20 (Instead of showing everything at once, you can paginate results).