---
layout: docs
page_title: 'Commands: operator snapshot restore'
description: |
  Restore snapshot of Nomad server state
---

# Command: operator snapshot restore

Restores an atomic, point-in-time snapshot of the state of the Nomad servers
which includes jobs, nodes, allocations, periodic jobs, and ACLs.

Restores involve a potentially dangerous low-level Raft operation that is not
designed to handle server failures during a restore. This command is primarily
intended to be used when recovering from a disaster, restoring into a fresh
cluster of Nomad servers.

This command only restores the Raft snapshot. If you are recovering a cluster,
you will also need to [restore the keyring][] onto at least one server.

If ACLs are enabled, a management token must be supplied in order to perform
snapshot operations.

To restore 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
[restore the keyring]: /nomad/docs/operations/key-management#restoring-the-keyring-from-backup
