From 84ec27616a36b975e771e5c8b66d7b7a0eec3211 Mon Sep 17 00:00:00 2001 From: Serhat Dolmac Date: Thu, 23 Apr 2026 23:17:05 +0300 Subject: [PATCH] =?UTF-8?q?docs(cli):=20expand=20hermes=20import=20referen?= =?UTF-8?q?ce=20=E2=80=94=20add=20description,=20warning,=20and=20examples?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- website/docs/reference/cli-commands.md | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/website/docs/reference/cli-commands.md b/website/docs/reference/cli-commands.md index 927135721e..cf1c80379d 100644 --- a/website/docs/reference/cli-commands.md +++ b/website/docs/reference/cli-commands.md @@ -585,11 +585,21 @@ hermes backup --quick --label "pre-upgrade" # Quick snapshot with label hermes import [options] ``` -Restore a previously created Hermes backup into your Hermes home directory. +Restore a previously created Hermes backup into your Hermes home directory. All files in the archive overwrite existing files in your Hermes home; `--force` only skips the confirmation prompt that fires when the target already has a Hermes installation. | Option | Description | |--------|-------------| -| `-f`, `--force` | Overwrite existing files without confirmation. | +| `-f`, `--force` | Skip the existing-installation confirmation prompt. | + +:::warning +Stop the gateway before importing to avoid conflicts with running processes. +::: + +### Examples +```bash +hermes import ~/hermes-backup-20260423.zip # Prompts before overwriting existing config +hermes import ~/hermes-backup-20260423.zip --force # Overwrite without prompting +``` ## `hermes logs`