listSnapshots

This will list all the snapshots for the installation.

-?, --help

Displays a detailed help message.

-u <user:password>

The user / password combination for export resource. Requires role ADMIN_LOGIN_ID.

-h <hostname>

The hostname of the Enonic XP instance. Defaults to localhost.

-p <port>

The http port of the Enonic XP instance. Defaults to 8080.

-n

Apply pretty print of the snapshot output result. This requires that Python is installed on your system.

Example:

$ ./listSnapshots.sh -u su:password -n