/install daily-backup-system
Daily Backup System
Automated daily backup of your entire OpenClaw setup with rotation and restore guide.
Use when: you want automatic backups of your OpenClaw configuration, agent workspaces, API keys, scripts, and data — with a one-command restore process.
What it does
Runs daily via cron and creates a compressed backup of:
openclaw.json— all agent configs, bindings, channels, crons- All agent workspaces (SOUL.md, TOOLS.md, memory/, scripts/)
- Environment files (.env with API keys)
- Custom scripts and data pipelines
- Reverse proxy config (Caddy/Nginx)
Features
- Compressed tar.gz — typically 200-500MB for a full 12-agent setup
- 7-day rotation — keeps last 7 backups, auto-deletes older ones
- Restore guide — auto-generated RESTORE_GUIDE.md with step-by-step instructions
- Excludes noise — skips node_modules, pycache, session transcripts (too large, regenerated)
- Zero downtime — runs in background, doesn't interrupt the gateway
Setup
- Copy
daily_backup.shto your scripts directory - Edit the workspace paths to match your setup
- Add cron:
0 3 * * * /bin/bash /path/to/daily_backup.sh >> /tmp/backup.log 2>&1
Restore (disaster recovery)
# On a fresh VPS
curl -fsSL https://openclaw.ai/install.sh | bash
cd / && tar xzf openclaw-full-backup-YYYY-MM-DD.tar.gz
openclaw gateway start
Full system restored in under 10 minutes.
Tags
backup, disaster-recovery, devops, security, automation, cron, restore
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install daily-backup-system - 安装完成后,直接呼叫该 Skill 的名称或使用
/daily-backup-system触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Daily Backup System 是什么?
Automates daily compressed backups of OpenClaw configs, workspaces, env files, and scripts with 7-day rotation and a step-by-step restore guide. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 210 次。
如何安装 Daily Backup System?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install daily-backup-system」即可一键安装,无需额外配置。
Daily Backup System 是免费的吗?
是的,Daily Backup System 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Daily Backup System 支持哪些平台?
Daily Backup System 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Daily Backup System?
由 Harvnk(@harvnk)开发并维护,当前版本 v1.0.0。