mirror of
https://github.com/kemko/nomad.git
synced 2026-01-09 03:45:41 +03:00
* Enhance front matter description for search * acl section * alloc section * config section * deployment section * eval section * job section * license section * namespace section * node section * node pool section * operator section * plugin section * quota section * recommendation section * scaling section * sentinel section * server section * service section * setup section * system section * tls section * var section * volume section * change reference to command reference * Apply suggestions from code review Co-authored-by: Jeff Boruszak <104028618+boruszak@users.noreply.github.com> --------- Co-authored-by: Jeff Boruszak <104028618+boruszak@users.noreply.github.com>
31 lines
776 B
Plaintext
31 lines
776 B
Plaintext
---
|
|
layout: docs
|
|
page_title: 'nomad operator snapshot state command reference'
|
|
description: |
|
|
The `nomad operator snapshot state` command displays a JSON representation of a Raft snapshot.
|
|
---
|
|
|
|
# `nomad operator snapshot state` command reference
|
|
|
|
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.
|
|
|
|
## Usage
|
|
|
|
```plaintext
|
|
nomad operator snapshot state <file>
|
|
```
|
|
|
|
## Examples
|
|
|
|
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.
|
|
|
|
```shell-session
|
|
$ nomad operator snapshot state backup.snap > ~/raft-state.json
|
|
$ jq . < ~/raft-state.json
|
|
```
|