Commands for managing Backup

-B is a prefix indicating that the command belongs to the group of commands used to manage the Backup storage.

kesl-control --mass-remove

The command deletes some or all objects from Backup.

Command syntax

Delete all objects:

kesl-control [-B] --mass-remove

Delete objects that match the filter conditions:

kesl-control [-B] --mass-remove --query "<filter conditions>"

Arguments and keys

<filter conditions>: one or several logical expressions in the format <field> <comparison operator> '<value >', combined with the help of the logical operator and to limit the results.

kesl-control -B --query

This command outputs information about Backup objects.

Command syntax

Output information about all objects in Backup:

kesl-control -B --query [-n <number>] [--json] [--reverse]

Output information about Backup objects that match the filter conditions:

kesl-control -B --query ["<filter conditions>"] [-n <number>] [--json] [--reverse]

Arguments and keys

<filter conditions>: one or several logical expressions in the format <field> <comparison operator> '<value >', combined with the help of the logical operator and to limit the results. If you do not specify any filter conditions, the application will display the details of all objects in Backup.

<number>: the number of the most recent objects to display. If you do not specify the -n switch, the last 30 objects will be displayed. Specify 0 to show all objects.

--json: output data in JSON format.

kesl-control --restore

This command restores an object from Backup.

Command syntax

kesl-control [-B] --restore <object ID> [--file <file name and path>]

Arguments and keys

<object ID>: the ID of the Backup object.

--file <file name and path>: the new name of the file and the path to the directory to save it to. If you do not specify the --file option, the object will be restored with its original name and to its original location.

Page top