2026-07-26 · 9 min read

A disaster-recovery plan for Hermes Agent

Build a recovery plan that survives a dead laptop: recovery point targets, key custody, offsite retention, and clean-machine restore drills.

Disaster recovery begins with a question: if this computer disappeared now, how much Hermes history could you afford to lose? The answer determines the backup schedule, retention policy, and restore practice.

Define two targets

Your recovery point objective is the maximum acceptable gap between the latest usable backup and the failure. Daily quick snapshots imply up to roughly one day of lost changes. Your recovery time objective is how long it should take to install Hermes, retrieve ciphertext, provide the recovery key locally, import the archive, and verify the agent.

Small agent installations can often target a recovery time measured in minutes, but only if pairing instructions and the recovery key are available without the failed machine.

Map the failure domains

Use a layered schedule

A useful default is a quick backup every day and a full backup once a week. Quick recovery points limit recent data loss; full archives provide broader checkpoints. Keep multiple generations so that corruption or an unnoticed bad change does not replace the only known-good copy.

Quota behavior should be chosen in advance. A “fail and alert” policy preserves every existing backup and makes the capacity problem visible. An explicit client-side rotation policy can prioritize continuity, but it should delete only after the user opted in.

Separate authentication from decryption

A device token answers “may this machine access this account?” The private recovery key answers “can this ciphertext be decrypted?” They should not be the same credential. Revoking a lost device should stop future API access without changing existing ciphertext or pretending the service can rotate a private key it never possessed.

Write the clean-machine runbook

  1. Install Hermes Agent on the replacement machine from the official documentation.
  2. Install the HermesBackup skill and begin the pairing flow.
  3. Approve the short-lived pairing code from the human dashboard.
  4. Select a stored recovery point and download it through a short-lived URL.
  5. Provide the private recovery key locally.
  6. Verify the ciphertext SHA-256, decrypt, and import.
  7. Start Hermes and inspect memories, skills, sessions, profiles, configuration, and scheduled jobs.

Run the drill before the emergency

Do not wait for hardware failure to discover that the recovery key was stored only on that hardware. Run a drill after initial setup, after major Hermes upgrades, and periodically thereafter. Use a temporary user account, VM, spare machine, or isolated directory where a failed import cannot overwrite the working installation.

Record the date, selected backup, digest result, import result, and any manual fixes. A backup system becomes trustworthy through repeated recovery evidence, not through an upload-success badge.

Frequently asked questions

What is a good Hermes Agent recovery point objective?

Daily quick backups provide a practical starting point with up to about one day of recent changes at risk. Back up more often if your agent changes rapidly.

Should device tokens and recovery keys be the same?

No. Device tokens authorize API access and can be revoked. The private recovery key decrypts ciphertext and should remain local and off-machine in your recovery kit.

How many Hermes backups should I retain?

Keep multiple generations across quick and full backups. The exact count depends on archive size, quota, and how far back you need to recover from unnoticed corruption.

How often should I test a restore?

Test immediately after setup, after material backup or Hermes changes, and periodically thereafter. A clean-machine drill is the strongest evidence.

← All HermesBackup guides