Update snapshot-save.mdx

Fix the nomad operator snapshot command examples.
They were missing the "operator" option
This commit is contained in:
Lance Haig 2020-07-22 13:04:47 +02:00 committed by GitHub
parent e095a70bd6
commit 014175de45
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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