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
累計下載
4157
星標
4
全站排名
#2,416
全站前 48% · 「運維安全」前 52%
平台累計安裝累計下載星標評論
ClawHub ↗13740703-
SkillHub ↗16541574—

各平台的計數口徑不同,統計時間不一致。

這個技能是做什麼的

該技能可將 OpenClaw 配置、記憶、技能和工作區等內容備份到本地或 rclone 目標,並設定計畫任務與保留策略。安裝前應先審查程式碼和排程器指令碼;備份可能含敏感資料,應使用加密目標並先在本地測試。技能卡還提示 macOS 安裝器可能透過 sudo 刪除系統 LaunchDaemon,除非明確需要該操作,否則不要批准。 需要 Node 與 Bash,僅 rclone 上傳模式需要 rclone。所報告的 Bash 跳脫問題修正並審核前不可啟用排程;保留策略會刪除舊的本機與遠端封存檔,應確認刪除範圍。

資料釋出於 2026-10-27

可以用來做什麼

  • 備份 OpenClaw 配置、記憶、技能和工作區檔案
  • 設定本地或 rclone 備份及保留策略
  • 先在本地目標測試備份和恢復說明

什麼時候用

  • 需要為 OpenClaw 檔案建立可恢復的備份時
  • 已審查安裝器和排程任務,並確認備份目的地、加密方式及將被處理的檔案範圍時

示例提示詞

以下是根據技能文件生成的示例,不代表實際執行結果。

先審查安裝與排程指令碼,列出該技能會備份的目錄,並在本地目標執行一次測試;不要啟用計畫任務或刪除系統服務。

月度資料趨勢

累計下載4157
2614344342712026-03 · 累計下載 27282026-05 · 累計下載 34052026-06 · 累計下載 35682026-07 · 累計下載 38662026-08 · 累計下載 39662026-09 · 累計下載 415726-0326-09
星標4
3442026-03 · 星標 32026-05 · 星標 42026-06 · 星標 32026-07 · 星標 42026-08 · 星標 42026-09 · 星標 426-0326-09

2026-09 起統計方法調整:同名技能按作者分別統計,並覆蓋全部技能。圖中虛線為調整前的月份,與之後的資料不直接比較,也不計算跨越調整的增長。

月份累計下載環比星標
2026-094157—4
2026-083966+2.6%4
2026-073866+8.4%4
2026-063568+4.8%3
2026-053405—4
2026-032728—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),按月更新。口徑說明見資料方法。