cccarv82

Openclaw Backup Optimized

IT Ops & Securityv1.0.1
By cccarv82Updated 2026-05-182 versions · latest released 2026-02-02openclaw-backup-optimized
#Backup#Cron#Discord

According to AlphaMoat, as of 2026-09, Openclaw Backup Optimized has 3,737 downloads and 4 stars — ranked #2,855 of 5,078 AI skills overall, and #177 of 264 in IT Ops & Security.

Installs
129
Downloads
3.7K
Stars
4
Overall Rank
#2,855
Top 57% overall · Top 68% in IT Ops & Security
PlatformInstallsDownloadsStarsComments
ClawHub ↗1293.7K4-

Platforms count differently and update at different times.

What this skill does

The skill can snapshot OpenClaw state, split workspace archives, produce change summaries and restore steps, and support scheduled backups and Discord notifications. Backups may copy and push sensitive state or workspace data. Before enabling it, narrow the backup scope and exclusions, use a dedicated private repository and restricted credentials, encrypt when appropriate, and review notification content and schedules.

Profile published 2026-10-29

What you can do with it

  • Back up OpenClaw state and selected workspace data
  • Generate change summaries and restore instructions
  • Configure automated backups after review

When to use it

  • The user explicitly requests an OpenClaw backup or restore
  • Backup paths, exclusions, and repository access can be checked first
  • Scheduled uploads and notification content can be reviewed

Example prompts

Generated from the skill’s documentation as examples; not results of actual runs.

Show the directories, exclusions, target repository, and notification content that would be used. Do not upload, push, or schedule a backup until I review and approve it.

Monthly Trend

Downloads3.7K
2.5K3.2K3.8K2026-03 · Downloads 2.6K2026-05 · Downloads 3.2K2026-06 · Downloads 3.3K2026-07 · Downloads 3.5K2026-08 · Downloads 3.6K2026-09 · Downloads 3.7K26-0326-09
Stars4
3452026-03 · Stars 42026-05 · Stars 42026-06 · Stars 42026-07 · Stars 42026-08 · Stars 42026-09 · Stars 426-0326-09

The counting method changed in 2026-09: skills with the same name are now counted separately by author, and the full catalog is covered. Dashed lines show months before the change; they are not compared with later months, and no growth is computed across the change.

MonthDownloadsMoMStars
2026-093.7K—4
2026-083.6K+3.1%4
2026-073.5K+6.8%4
2026-063.3K+4.0%4
2026-053.2K—4
2026-032.6K—4

SKILL.md (original)

The author’s original file, shown as plain text without edits or review by AlphaMoat. Links are not clickable; check commands before running them. Fetched 2026-10-23.

2.3 KB · ClawHub v1.0.1
---
name: openclaw-backup-optimized
description: "Optimized OpenClaw backup skill for creating full snapshots with workspace archive splitting, change summaries, restore instructions, and Discord notifications. Use when you need to set up or run automated backups, configure backup cron jobs, or document/restore OpenClaw state. Triggers on backup automation, backup scripts, snapshot/restore, or GitHub backup repos."
---

# OpenClaw Backup (Optimized)

## What this skill does

Use this skill to **install, configure, and run** the optimized OpenClaw backup workflow:
Show all (72 lines)
- Full snapshot of `~/.openclaw`
- Workspace archive split into ~90MB parts + SHA256
- Rich Discord notification (summary + restore steps)
- Retention of last N reports

## Files

- Script: `scripts/backup.js` (cross-platform)
- Reference config: `references/CONFIG.md`

## Install / Setup

1) Copy the script into your tools folder:
```bash
cp scripts/backup.js ~/.openclaw/workspace/tools/openclaw-backup.js
```

2) Configure env vars (see references/CONFIG.md):

**macOS/Linux (bash/zsh):**
```bash
export OPENCLAW_HOME="$HOME/.openclaw"
export OPENCLAW_BACKUP_DIR="$HOME/.openclaw-backup"
export BACKUP_REPO_URL="https://github.com/your/repo.git"
export BACKUP_CHANNEL_ID="1234567890"
export BACKUP_TZ="America/Sao_Paulo"
export BACKUP_MAX_HISTORY=7
```

**Windows (PowerShell):**
```powershell
$env:OPENCLAW_HOME="$env:USERPROFILE\.openclaw"
$env:OPENCLAW_BACKUP_DIR="$env:USERPROFILE\.openclaw-backup"
$env:BACKUP_REPO_URL="https://github.com/your/repo.git"
$env:BACKUP_CHANNEL_ID="1234567890"
$env:BACKUP_TZ="America/Sao_Paulo"
$env:BACKUP_MAX_HISTORY="7"
```

3) Run once:
```bash
node ~/.openclaw/workspace/tools/openclaw-backup.js
```

4) Create cron (OpenClaw cron runs in the gateway environment):
```bash
openclaw cron add --name "openclaw-backup-daily" \
  --cron "0 5,10,15,20 * * *" --tz "America/Sao_Paulo" \
  --exec "node ~/.openclaw/workspace/tools/openclaw-backup.js"
```

## Restore

Use the restore instructions printed in the backup notification.

## Notes

- Excludes noisy session lock/deleted files for smaller diffs.
- Requires `git` and `node` (>=18).
- Uses `openclaw message send` for notifications (no webhook).
- `scripts/openclaw-backup.sh` is legacy (Linux/macOS) and will be removed; use `backup.js`.

Popular in IT Ops & Security

Data month: 2026-09 · Downloads, stars and installs are aggregated monthly from public skill registries (ClawHub, SkillHub). See methodology.