docs(cli): expand hermes import reference — add description, warning, and examples

This commit is contained in:
Serhat Dolmac 2026-04-23 23:17:05 +03:00
parent b6ca3c28dc
commit d8af47bd21
No known key found for this signature in database
GPG key ID: 71507BA5C001DF73

View file

@ -443,12 +443,22 @@ hermes backup --quick --label "pre-upgrade" # Quick snapshot with label
hermes import <zipfile> [options]
```
Restore a previously created Hermes backup into your Hermes home directory.
Restore a previously created Hermes backup into your Hermes home directory. Files are overlaid onto your current Hermes home — existing files are skipped unless `--force` is used.
| Option | Description |
|--------|-------------|
| `-f`, `--force` | Overwrite existing files without confirmation. |
:::warning
Stop the gateway before importing to avoid conflicts with running processes.
:::
### Examples
```bash
hermes import ~/hermes-backup-20260423.zip # Restore, skip existing files
hermes import ~/hermes-backup-20260423.zip --force # Restore, overwrite existing files
```
## `hermes logs`
```bash