b6dd1191b2
Stream snapshot to FSM when restoring from archive The `RestoreFromArchive` helper decompresses the snapshot archive to a temporary file before reading it into the FSM. For large snapshots this performs a lot of disk IO. Stream decompress the snapshot as we read it, without first writing to a temporary file. Add bexpr filters to the `RestoreFromArchive` helper. The operator can pass these as `-filter` arguments to `nomad operator snapshot state` (and other commands in the future) to include only desired data when reading the snapshot.
4 lines
135 B
Plaintext
4 lines
135 B
Plaintext
```release-note:improvement
|
|
cli: `operator snapshot state` supports `-filter` expressions and avoids writing large temporary files
|
|
```
|