← 开源
LeoYeAI

openclaw-backup

One-click backup & restore for OpenClaw instances — workspace, credentials, skills, agent history. Powered by MyClaw.ai

InfrastructureData systemsShell
在 GitHub 打开
增长势头
+224 小时新增 Star+0.3%
662
Star
120
Fork
+3
本周
0
贡献者
创建于 2026-03-02 · 更新于 2026-10-16 · 今日第 4186 名
README

English | 中文 | Français | Deutsch | Русский | 日本語 | Italiano | Español


Built on MyClaw.ai

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.


🦞 OpenClaw Backup

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.

⚡ Install

Just tell your OpenClaw agent:

"Help me install backup"

Or manually:

clawhub install myclaw-backup

What Gets Backed Up

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

Usage

Create a backup

bash scripts/backup.sh /tmp/openclaw-backups

Restore (always dry-run first)

bash scripts/restore.sh openclaw-backup_TIMESTAMP.tar.gz --dry-run
bash scripts/restore.sh openclaw-backup_TIMESTAMP.tar.gz

Browser UI (download / upload / restore)

bash scripts/serve.sh start --token $(openssl rand -hex 16) --port 7373
# Open: http://localhost:7373/?token=YOUR_TOKEN

Migrate to a new server

  1. Start server on old machine → download backup via browser
  2. On new machine: install OpenClaw → install this skill → upload backup → restore
  3. All channels reconnect automatically — no re-pairing needed

⚠️ Security

This skill handles highly sensitive data (bot tokens, API keys, credentials).

  • Always set --token when starting the HTTP server (required, server refuses to start without it)
  • Backup archives are chmod 600 automatically
  • Always run --dry-run before applying a restore
  • Never expose the backup server to the public internet without TLS

ClaWHub

Published at: clawhub.com/skills/myclaw-backup


排名相邻
同类项目