diff --git a/website/docs/reference/cli-commands.md b/website/docs/reference/cli-commands.md index b5e6093e6e..d5a4bf320a 100644 --- a/website/docs/reference/cli-commands.md +++ b/website/docs/reference/cli-commands.md @@ -950,6 +950,7 @@ Create a zip archive of your Hermes configuration, skills, sessions, and data. T | `-o`, `--output ` | Output path for the zip file (default: `~/hermes-backup-.zip`). | | `-q`, `--quick` | Quick snapshot: only critical state files (config.yaml, state.db, .env, auth, cron jobs). Much faster than a full backup. | | `-l`, `--label ` | Label for the snapshot (only used with `--quick`). | +| `-k`, `--keep ` | After a full backup, delete older `hermes-backup-*.zip` files in the output directory beyond the newest N (default 3; `0` keeps everything). Custom-named zips are never touched. | The backup uses SQLite's `backup()` API for safe copying, so it works correctly even when Hermes is running (WAL-mode safe).