vidarbrekke

Claw Backup

运维安全v1.0.7
作者:vidarbrekke更新于 2026-05-11共 8 个版本 · 最新版本发布于 2026-02-10claw-backup@clawhub_vidarbrekke/claw-backup
服务器运维配置生成#Backup#Git

据 AlphaMoat 统计,截至 2026-09,Claw Backup 累计下载 4,157 次、获 4 个星标,在全部 5,078 个 AI 技能中排名第 2,416 位,在「运维安全」分类(264 个)中排名第 137 位。

累计安装
165
累计下载
4,157
星标
4
全站排名
#2,416
全站前 48% · 「运维安全」前 52%
平台累计安装累计下载星标评论
ClawHub ↗1374,0703-
SkillHub ↗1654,1574—

各平台的计数口径不同,统计时间不一致。

这个技能是做什么的

该技能可将 OpenClaw 配置、记忆、技能和工作区等内容备份到本地或 rclone 目标,并设置计划任务与保留策略。安装前应先审查代码和调度器脚本;备份可能含敏感资料,应使用加密目标并先在本地测试。技能卡还提示 macOS 安装器可能通过 sudo 删除系统 LaunchDaemon,除非明确需要该操作,否则不要批准。 需要 Node 和 Bash,仅 rclone 上传模式需要 rclone。所报告的 Bash 转义问题修复并审核前不可启用调度;保留策略会删除旧的本地和远程归档,应确认删除范围。

资料发布于 2026-10-27

可以用来做什么

  • 备份 OpenClaw 配置、记忆、技能和工作区文件
  • 设置本地或 rclone 备份及保留策略
  • 先在本地目标测试备份和恢复说明

什么时候用

  • 需要为 OpenClaw 文件建立可恢复的备份时
  • 已审查安装器和调度任务,并确认备份目的地、加密方式及将被处理的文件范围时

示例提示词

以下是根据技能文档生成的示例,不代表实际运行结果。

先审查安装与调度脚本,列出该技能会备份的目录,并在本地目标执行一次测试;不要启用计划任务或删除系统服务。

月度数据趋势

累计下载4,157
2,6143,4434,2712026-03 · 累计下载 2,7282026-05 · 累计下载 3,4052026-06 · 累计下载 3,5682026-07 · 累计下载 3,8662026-08 · 累计下载 3,9662026-09 · 累计下载 4,15726-0326-09
星标4
3442026-03 · 星标 32026-05 · 星标 42026-06 · 星标 32026-07 · 星标 42026-08 · 星标 42026-09 · 星标 426-0326-09

2026-09 起统计方法调整:同名技能按作者分别统计,并覆盖全部技能。图中虚线为调整前的月份,与之后的数据不直接比较,也不计算跨越调整的增长。

月份累计下载环比星标
2026-094,157—4
2026-083,966+2.6%4
2026-073,866+8.4%4
2026-063,568+4.8%3
2026-053,405—4
2026-032,728—3

SKILL.md 原文

以下是作者发布的原始文件,按纯文本显示,本站未做修改或审核;其中的链接不可点击,命令请核实后再运行。抓取于 2026-10-23。

3.7 KB · ClawHub v1.0.7
---
name: claw-backup
version: 1.0.15
description: 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).
---

# 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).
展开全部(共 69 行)

## 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](https://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](https://rclone.org/install/) configured for Google Drive, and Bash (or Git Bash on Windows).
   - `rclone` is only required when upload mode is `rclone`.

2. **Recommended install (review first):**
   ```bash
   git clone https://github.com/vidarbrekke/ClawBackup.git
   cd ClawBackup
   node setup.js
   ```

3. **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
   ```
4. 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](https://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

「运维安全」分类下的热门技能

数据月份:2026-09 · 下载/星标/安装数聚合自公开技能注册库(ClawHub、SkillHub),按月更新。口径说明见数据方法。