github.com/Ilhicas/nomad@v1.0.4-0.20210304152020-e86851182bc3/website/content/docs/commands/operator/snapshot-inspect.mdx (about)

     1  ---
     2  layout: docs
     3  page_title: 'Commands: operator snapshot inspect'
     4  sidebar_title: snapshot inspect
     5  description: |
     6    Display the current Raft peer configuration.
     7  ---
     8  
     9  # Command: operator snapshot inspect
    10  
    11  Displays information about a snapshot file on disk.
    12  
    13  To inspect the file "backup.snap":
    14  
    15  ```shell-session
    16  $ nomad operator snapshot inspect backup.snap
    17  ID       2-19-1592495928936
    18  Size     3902
    19  Index    19
    20  Term     2
    21  Version  1
    22  ```
    23  
    24  ## Usage
    25  
    26  ```plaintext
    27  nomad operator snapshot inspect <file>
    28  ```
    29  
    30  [outage recovery]: https://learn.hashicorp.com/tutorials/nomad/outage-recovery