Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

Automated Backup and Recovery for Self-Hosted AI Wallets: Docker + CLI Integration

说明与用途

使用 Docker 和 WAIaaS CLI 的自托管 AI 钱包自动备份与恢复工作流,提供定期可验证的备份和安全的恢复路径。

问题

Self-hosted AI wallets risk losing encrypted keys and state if the server fails and no backup strategy exists.

结果

The workflow enables regular, verifiable backups of encrypted wallet state and provides a clear recovery path using the master password and backup files.

工作流

  • Install @waiaas/cli globally with npm -g @waiaas/cli
  • Run waiaas backup create to snapshot current state
  • Run waiaas backup inspect to verify contents
  • Run waiaas backup list to view available backups
  • Use waiaas restore to recover from a backup file
  • Configure Docker Compose with a named volume waiaas-data for persistence
  • Use WAIAAS_AUTO_PROVISION to generate a master password and retrieve it via docker exec waiaas cat /data/recovery.key
  • Store the recovery.key securely and optionally set a custom master password with waiaas set-master
  • Deploy production secrets via docker-compose.secrets.yml to avoid exposing passwords in environment variables

证据

WAIaaS stores its state in a data directory (/data inside Docker, ~/.waiaas by default outside it).

来源

The master password — which you either set yourself or auto-generate at first run — is the encryption key for everything inside.

来源

WAIaaS ships with a CLI (@waiaas/cli) that includes dedicated backup tooling as part of its 20 commands.

来源

The auto-provision flow generates a random master password and writes it to recovery.key inside the data directory.

来源

  • 记录日期: 2026-10-01T20:25:44.109Z