simple-backup

v2026.09.24

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

GitHub
Install command
npx skhub add sundial-org/simple-backup
Markdown
SKILL.md

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:
    rclone config
    

Usage

Run the backup:

simple-backup

Configuration

You can override defaults with environment variables:

VariableDefaultDescription
BACKUP_ROOT~/clawd/BACKUPSLocal storage location
REMOTE_DEST(empty)Rclone path (e.g. gdrive:backups)
MAX_DAYS7Days to keep daily backups
HOURLY_RETENTION_HOURS24Hours to keep hourly backups
Discovery
Tags

No tags published for this skill.

Version
Latest version metadata

Version

v2026.09.24

Published

Sep 24, 2026

Category

Uncategorized

License

Not specified

Source path

skills/simple-backup

Default branch

main

Latest commit

b80cde2

Tree SHA

fc3a971