Requirements
- Target platform
- OpenClaw
- Install method
- Manual import
- Extraction
- Extract archive
- Prerequisites
- OpenClaw
- Primary doc
- SKILL.md
狗蛋备份恢复技能。备份 OpenClaw 核心文件(SOUL.md, AGENTS.md, IDENTITY.md, USER.md, TOOLS.md)和记忆层(memory/)到 OneDrive,支持实时监控备份和定时备份,可从云端恢复。
狗蛋备份恢复技能。备份 OpenClaw 核心文件(SOUL.md, AGENTS.md, IDENTITY.md, USER.md, TOOLS.md)和记忆层(memory/)到 OneDrive,支持实时监控备份和定时备份,可从云端恢复。
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
Version: 1.0.1 狗蛋备份恢复技能 — 备份和恢复 OpenClaw 的核心文件和记忆到 OneDrive。
核心层备份:实时监控 SOUL.md, AGENTS.md, IDENTITY.md, USER.md, TOOLS.md,文件修改时自动备份 记忆层备份:每周定时备份 memory/ 目录 云端同步:备份自动同步到 OneDrive /备份/OpenClaw/ 恢复功能:从 OneDrive 恢复备份到指定目录
类型内容触发方式核心层SOUL.md, AGENTS.md, IDENTITY.md, USER.md, TOOLS.md文件修改实时触发记忆层memory/每周日 UTC 23:00
核心层文件修改后自动备份(需要启动 inotify 监控): # 启动核心层监控(后台运行) nohup /root/.openclaw/workspace/skills/clawdog-backup/scripts/backup-core.sh > /root/.openclaw/backup/inotify.log 2>&1 & 手动触发记忆层备份: /root/.openclaw/workspace/skills/clawdog-backup/scripts/backup-memory.sh
# 测试恢复(不覆盖) /root/.openclaw/workspace/skills/clawdog-backup/scripts/restore.sh --all --dry-run # 恢复核心层到工作区 /root/.openclaw/workspace/skills/clawdog-backup/scripts/restore.sh --core # 恢复所有到工作区 /root/.openclaw/workspace/skills/clawdog-backup/scripts/restore.sh --all
新机器无需 rclone,直接用备份文件恢复: # 从本地文件夹恢复所有 ./restore.sh --source /path/to/backup-files --all # 从本地文件恢复核心层到指定目录 ./restore.sh --source ./backup-files --core --target /tmp/restore
选项说明--source PATH本地备份文件夹(不指定则从 OneDrive 恢复)--core只恢复核心层--memory只恢复记忆层--all恢复所有(默认)--date DATE指定日期 (YYYYMMDD)--target DIR目标目录(默认: workspace)--dry-run测试模式,不实际恢复
路径:OneDrive:/备份/OpenClaw/ 文件: goudan-core-YYYYMMDD-HHMMSS.tar.gz goudan-memory-YYYYMMDD.tar.gz
记忆层备份已配置为每周日 UTC 23:00 执行(通过 OpenClaw cron)。
核心层备份日志:/root/.openclaw/backup/core-backup.log 记忆层备份日志:/root/.openclaw/backup/memory-backup.log 恢复日志:/root/.openclaw/backup/restore.log inotify 监控日志:/root/.openclaw/backup/inotify.log
rclone(已配置 OneDrive) inotify-tools(核心层实时监控) tar
首次使用需要配置 rclone 和 OneDrive 核心层监控需要后台运行 恢复时默认不覆盖已存在的文件(用 cp -n)
Workflow acceleration for inboxes, docs, calendars, planning, and execution loops.
Largest current source with strong distribution and engagement signals.