3.0 KiB
3.0 KiB
Hermes Migration — Old Hetzner Box → New Netcup Box
If anything goes wrong, start here.
BOX REFERENCE
- Old box (Hetzner agent):
germaine@agent— currently hosting this conversation - New box (Netcup app1):
root@152.53.192.33via wisp_rsa key - wisp_rsa key location:
/root/.ssh/wisp_rsa(both boxes) - SSH into new box from old:
ssh -i /root/.ssh/wisp_rsa root@152.53.192.33
WHAT NEEDS TO MOVE
Phase 1 — Before decommissioning old box
- Skills →
~/.hermes/skills/— all the custom workflows - Scripts →
~/.hermes/scripts/— backup scripts, configs - Cron jobs → Hermes cron (not system cron) — need to be recreated on new box
- Memory → persistent memory entries (fact_store + memory tool)
- DR documents →
~/.hermes/dr-documents/ - Migration plan docs →
~/.hermes/skills/devops/infrastructure-automation/references/
Phase 2 — The switch
- Shut down old Hermes gateway:
systemctl stop hermes(or kill the process) - New box grabs Telegram bot token automatically
- Verify by sending a Telegram message to the bot
RECOVERY — if new box fails
Rollback: Talk to old Hermes again
- SSH into the old box:
ssh germaine@agent(or via Hetzner console) - Restart Hermes gateway:
cd ~/.hermes && screen -S hermes && hermes gateway run --replace - Send a Telegram message — it'll grab the bot token back
- You're back on the old box with all history intact
If Netcup box is completely dead and unreachable
- Go to https://www.servercontrolpanel.de/SCP/ — login with SCP 389212
- Reset OS / reinstall
- Re-provision with: Docker, AWS CLI, Hermes install script, config.yaml
- Restore skills/scripts from Wasabi S3 backup
If ONLY Hermes on new box is broken (but SSH works)
- SSH in:
ssh -i /root/.ssh/wisp_rsa root@152.53.192.33 - Restart Hermes:
systemctl restart hermes.service - Check logs:
journalctl -u hermes.service -n 50 - Or reinstall:
curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash
What you need to know to help me
If this session ends abruptly (I disappear or the model resets):
-
Tell the new Hermes: "I'm Germaine. I was migrating from a Hetzner VPS named 'agent' to a Netcup server at 152.53.192.33. I need you to restore my previous Hermes setup." Then show it this file.
-
Critical infrastructure facts to give the new Hermes:
- Wasabi S3 buckets:
hermes-vps-backups,itpropartner-backups,mikrotik-ccr-backups - Wasabi IAM user:
Hermes-User(Access KeyGYH83FP0KL0K85N60JKQ) - Admin-AI provider:
https://admin-ai.itpropartner.com/v1, keysk-lbhhxIk_9pQ2Vmlym7bWPA - Telegram bot token:
8359374835:AAEsPPBWGVa53jHkwSo9j4mAxIGsdp6SGUY - Home channel:
5813481339 - SSH key:
wisp_rsaat/root/.ssh/wisp_rsa - Router backup SSH:
shonuff@192.168.88.1via wisp_rsa over L2TP/IPsec VPN
- Wasabi S3 buckets:
-
If this file doesn't exist on the new box: SSH into the old box and read it from
~/.hermes/migration-recovery.mdbefore it's decommissioned.