Skip to content

mongoshield list

List backups in storage.

Terminal window
mongoshield list [options]

Lists every backup, newest first, with its status, size, encryption and the latest verification. --json prints the full catalog entries, manifests included.

OptionDescription
--from <storage-url>Where backups are stored: ./dir, file:///abs, s3://bucket/prefix (default: config).

The global options (--config, --json, --quiet, --verbose, --no-color, --yes) work here too.

List backups in the configured storage:

Terminal window
mongoshield list

List backups in S3 and pick the newest id with jq:

Terminal window
mongoshield list --from s3://acme-backups/prod --json | jq -r '.[0].id'