← 返回
开发者工具 中文

Claw Backup

Back up OpenClaw customizations (memory, config, skills, workspace) to cloud storage via rclone, with scheduling + retention. Works on macOS, Linux, and Windows (Git Bash/WSL).
使用 rclone 将 OpenClaw 的自定义(记忆、配置、技能、工作区)备份到云存储,支持定时任务和保留策略。适用于 macOS、Linux 和 Windows(Git Bash/WSL)。
vidarbrekke
开发者工具 clawhub v1.0.7 1 版本 99463 Key: 无需
★ 4
Stars
📥 3,439
下载
💾 165
安装
1
版本
#latest

概述

Claw Backup

Version: 1.0.15

OpenClaw backup skill — schedules backups of your OpenClaw data (memory, config, skills, workspace) to an rclone destination (e.g. Google Drive). Works on macOS, Linux, and Windows (via Git Bash or WSL).

What it does

  • Backs up clawd memory, ~/.openclaw (config, skills, modules, workspace, cron), clawd/scripts, and Dev/CursorApps/clawd (excluding node_modules)
  • Runs on a schedule (macOS LaunchAgent, Linux cron, or Windows Task Scheduler)
  • Applies local and remote retention so old backups are pruned
  • Supports rclone (cloud) or local-only upload mode

Before you install

  • Do not run curl ... | node (or any one-liner) without first inspecting the script. Prefer git clone and open setup.js and install-launchagent.sh (or the cron/Task Scheduler scripts) to review what they will do.
  • Verify the code in setup.js and the scheduler installer: confirm only the expected paths are archived and that there is no unexpected network use or commands. If you are uncomfortable reviewing the scripts, do not install.
  • Confirm repository identity: official source is github.com/vidarbrekke/ClawBackup. The version in this SKILL.md (frontmatter and "Version" line) is the source of truth; the registry may show a different revision number.
  • Use encryption for sensitive backups: an encrypted rclone remote (e.g. rclone crypt) or encrypt archives yourself before offsite storage.
  • After installation: inspect your LaunchAgent plist, crontab, or Task Scheduler entries, and run a test backup to a local destination first before using a cloud remote.

Restore notes

Each archive includes RESTORE_NOTES.txt with the correct restore targets based

on the configured paths. In general:

  • openclaw_config/skills~/.openclaw/skills
  • cursorapps_clawd/skills~/Dev/CursorApps/clawd/skills (or your chosen path)

Quick start

  1. Prerequisites: Node.js, rclone configured for Google Drive, and Bash (or Git Bash on Windows).
    • rclone is only required when upload mode is rclone.
  1. Recommended install (review first):

```bash

git clone https://github.com/vidarbrekke/ClawBackup.git

cd ClawBackup

node setup.js

```

  1. Quick install (not recommended): Only use if you have already inspected the script. Do not run without review:

```bash

curl -fsSL https://raw.githubusercontent.com/vidarbrekke/ClawBackup/main/setup.js | node

```

  1. Follow the prompts (or use node setup.js --defaults for default paths). Then run the printed test command and install the scheduler as shown.

Security notes

  • Backups may contain sensitive data (OpenClaw config, memory, and skills).
  • Setup can install recurring scheduler entries (LaunchAgent/cron/Task Scheduler); inspect these after install.
  • In cloud mode, credentials come from your existing rclone config; no extra env vars are required by this repo.
  • Prefer encrypted destinations (e.g. rclone crypt) or encrypt archives before offsite storage.
  • Archives include checksum files (.sha256) for integrity checks.

Repo and contributions

  • Code and full docs: github.com/vidarbrekke/ClawBackup
  • Improvements welcome: Open issues or pull requests on the GitHub repo. The project is open for refinements, fixes, and features from any OpenClaw user.

License

MIT

版本历史

共 1 个版本

  • v1.0.7 当前
    2026-03-28 12:58 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

Gog

steipete
Google Workspace 命令行工具,支持 Gmail、日历、云端硬盘、通讯录、表格和文档。
★ 921 📥 185,731
developer-tools

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 66 📥 179,853
ai-intelligence

Ollama Memory Embeddings

vidarbrekke
配置 OpenClaw 内存搜索使用 Ollama 作为嵌入服务器(OpenAI 兼容的 /v1/embeddings),替换内置的 node-llama-cpp 本地 GGUF 加载。支持交互式模型选择,并可选择将现有本地嵌入 GGUF
★ 5 📥 2,244