mirror of
https://github.com/kemko/nomad.git
synced 2026-01-08 03:15:42 +03:00
* Docs: Fix broken links in main for 1.10 release * Implement Tim's suggestions * Remove link to Portworx from ecosystem page * remove "Portworx" since Portworx 3.2 no longer supports Nomad
40 lines
1.1 KiB
Plaintext
40 lines
1.1 KiB
Plaintext
---
|
|
layout: docs
|
|
page_title: 'nomad operator snapshot restore command reference'
|
|
description: |
|
|
The `nomad operator snapshot restore` command restores the specified Nomad snapshot.
|
|
---
|
|
|
|
# `nomad operator snapshot restore` command reference
|
|
|
|
The `operator snapshot restore` command restores an atomic, point-in-time
|
|
snapshot of the state of the Nomad servers, which includes jobs, nodes,
|
|
allocations, periodic jobs, and ACLs.
|
|
|
|
Restoration involves a potentially dangerous low-level Raft operation that is
|
|
not designed to handle server failures during a restore. This command is
|
|
primarily intended for recovering from a disaster, restoring into a
|
|
fresh cluster of Nomad servers.
|
|
|
|
If you enabled ACLs, you must supply a management token in order to perform
|
|
snapshot operations.
|
|
|
|
This example srestore a snapshot from the file `backup.snap`.
|
|
|
|
```shell-session
|
|
$ nomad operator snapshot restore backup.snap
|
|
```
|
|
|
|
## Usage
|
|
|
|
```plaintext
|
|
nomad operator snapshot restore [options] <file>
|
|
```
|
|
|
|
## General options
|
|
|
|
@include 'general_options_no_namespace.mdx'
|
|
|
|
[outage recovery]: /nomad/tutorials/manage-clusters/outage-recovery
|
|
|