Skip to content
Back to skills

Simple Backup

ASecurity

Backup agent brain (workspace) and body (state) to local folder and optionally sync to cloud via rclone.

  • 651 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added February 10, 2026
devopsbash

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned February 10, 2026

npx -y skills add sundial-org/awesome-openclaw-skills --skill simple-backup --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Simple Backup?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Simple Backup
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/sundial-org-simple-backup/badge)](https://www.skillsdirectory.com/skills/sundial-org-simple-backup)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: simple-backup
description: Backup agent brain (workspace) and body (state) to local folder and optionally sync to cloud via rclone.
metadata: {"clawdbot":{"emoji":"💾","requires":{"bins":["rclone","gpg","tar"]}}}
---

# Simple Backup

A robust backup script that:
1.  **Stages:** Copies `~/clawd` (workspace), `~/.clawdbot` (state), and `skills/`.
2.  **Compresses:** Creates a `.tgz` archive.
3.  **Encrypts:** AES256 encryption using GPG (password required).
4.  **Prunes:** Rotates backups (Daily/Hourly retention).
5.  **Syncs:** Optionally pushes to a cloud provider via `rclone`.

## Setup

1.  **Dependencies:** Ensure `rclone` and `gpg` are installed (`brew install rclone gnupg`).
2.  **Password:** Set the encryption password:
    *   Env Var: `export BACKUP_PASSWORD="my-secret-password"`
    *   File: `~/.clawdbot/credentials/backup.key`
3.  **Cloud (Optional):** Configure an rclone remote:
    ```bash
    rclone config
    ```

## Usage

Run the backup:
```bash
simple-backup
```

## Configuration

You can override defaults with environment variables:

| Variable | Default | Description |
|----------|---------|-------------|
| `BACKUP_ROOT` | `~/clawd/BACKUPS` | Local storage location |
| `REMOTE_DEST` | (empty) | Rclone path (e.g. `gdrive:backups`) |
| `MAX_DAYS` | 7 | Days to keep daily backups |
| `HOURLY_RETENTION_HOURS` | 24 | Hours to keep hourly backups |

Files in this skill

  • SKILL.md1.4 KB
  • package.json371 B
  • simple-backup.sh4.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…