Edit this page on GitHub
»Command: operator snapshot state
Displays a JSON representation of state in a raft snapshot on disk.
Warning: This is a low-level debugging tool and not subject to Nomad's usual backward compatibility guarantees.
nomad operator snapshot state <file>
The output of this command can be very large, so it's recommended that you redirect the output to a file for later examination with other tools.
$ nomad operator snapshot state backup.snap > ~/raft-state.json $ jq . < ~/raft-state.json