Files
nomad/website/content/docs/commands/operator/snapshot/state.mdx
Aimee Ukasick dae496e427 Docs: SEO front matter description for search: commands section (#25175)
* 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>
2025-03-19 12:02:02 -05:00

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
```