One-click backup & restore for OpenClaw instances — workspace, credentials, skills, agent history. Powered by MyClaw.ai
https://github.com/LeoYeAI/openclaw-backup.git
English | 中文 | Français | Deutsch | Русский | 日本語 | Italiano | Español
MyClaw.ai is an AI personal assistant platform that gives every user a full server with complete code control, networking, and tool access. Your AI agent isn't just a chatbot — it can write code, manage files, run scripts, and now: back itself up and restore to any new instance.
This skill is part of the MyClaw.ai open skills ecosystem. Install it on any OpenClaw instance in seconds.
One-click backup & restore for OpenClaw instances.
Backs up everything — workspace, memory, skills, credentials, bot tokens, API keys, agent session history — into a single archive. Restore to any new OpenClaw instance with zero re-pairing.
Just tell your OpenClaw agent:
"Help me install backup"
Or manually:
clawhub install myclaw-backup
| Component | Details |
|---|---|
| 🧠 Workspace | MEMORY.md, skills, agent files, SOUL.md, USER.md |
| ⚙️ Config | openclaw.json (bot tokens, API keys, model config) |
| 🔑 Credentials | Channel pairing state — no re-pairing after restore |
| 📜 Sessions | Full agent conversation history |
| ⏰ Cron jobs | All scheduled tasks |
| 🛡️ Scripts | Guardian, watchdog, start-gateway |
bash scripts/backup.sh /tmp/openclaw-backups
bash scripts/restore.sh openclaw-backup_TIMESTAMP.tar.gz --dry-run
bash scripts/restore.sh openclaw-backup_TIMESTAMP.tar.gz
bash scripts/serve.sh start --token $(openssl rand -hex 16) --port 7373
# Open: http://localhost:7373/?token=YOUR_TOKEN
This skill handles highly sensitive data (bot tokens, API keys, credentials).
--token when starting the HTTP server (required, server refuses to start without it)chmod 600 automatically--dry-run before applying a restorePublished at: clawhub.com/skills/myclaw-backup