mirror of
https://github.com/kemko/nomad.git
synced 2026-01-04 17:35:43 +03:00
cli: fix operator snapshot save help output examples. (#19606)
This commit is contained in:
@@ -30,12 +30,12 @@ Usage: nomad operator snapshot save [options] <file>
|
||||
|
||||
To create a snapshot from the leader server and save it to "backup.snap":
|
||||
|
||||
$ nomad snapshot save backup.snap
|
||||
$ nomad operator snapshot save backup.snap
|
||||
|
||||
To create a potentially stale snapshot from any available server (useful if no
|
||||
leader is available):
|
||||
|
||||
$ nomad snapshot save -stale backup.snap
|
||||
$ nomad operator snapshot save -stale backup.snap
|
||||
|
||||
This is useful for situations where a cluster is in a degraded state and no
|
||||
leader is available. To target a specific server for a snapshot, you can run
|
||||
|
||||
Reference in New Issue
Block a user