Update snapshot-save.mdx
Fix the nomad operator snapshot command examples. They were missing the "operator" option
This commit is contained in:
parent
e095a70bd6
commit
014175de45
|
@ -18,14 +18,14 @@ snapshot operations.
|
||||||
To create a snapshot from the leader server and save it to "backup.snap":
|
To create a snapshot from the leader server and save it to "backup.snap":
|
||||||
|
|
||||||
```shell-session
|
```shell-session
|
||||||
$ nomad snapshot save backup.snap
|
$ nomad operator snapshot save backup.snap
|
||||||
```
|
```
|
||||||
|
|
||||||
To create a potentially stale snapshot from any available server (useful if no
|
To create a potentially stale snapshot from any available server (useful if no
|
||||||
leader is available):
|
leader is available):
|
||||||
|
|
||||||
```shell-session
|
```shell-session
|
||||||
$ nomad snapshot save -stale backup.snap
|
$ nomad operator snapshot save -stale backup.snap
|
||||||
```
|
```
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
Loading…
Reference in a new issue