Consul Snapshot Decode
Command: consul snapshot decode
The snapshot decode
command is used to decode an atomic, point-in-time
snapshot of the state of the Consul servers which includes key/value entries,
service catalog, prepared queries, sessions, and ACLs. The snapshot is read
from the given file and decode to stdout
as JSON data for interpretation and
review.
Typically this is used with Consul self-contained Snapshot files obtained
using the consul snapshot
command or Snapshot
API.
The JSON stream information format:
Usage
Usage: consul snapshot decode FILE
Examples
To decode a snapshot from the file "backup.snap":
Please see the HTTP API documentation for more details about snapshot internals.