cloud-backup
Back up and restore OpenClaw configuration to S3-compatible cloud storage (AWS S3, Cloudflare R2, Backblaze B2, MinIO, DigitalOcean Spaces). Use for local backups, cloud upload, restore, and retention cleanup.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/obuchowski/openclaw-cloud-backupOpenClaw Cloud Backup
Back up OpenClaw configuration locally, with optional sync to S3-compatible cloud storage.
Requirements
Local backups:
bash,tar,jq
Cloud sync (AWS S3, Cloudflare R2, Backblaze B2, MinIO, DigitalOcean Spaces):
awsCLI v2 — required for upload/download/list/restore from cloud
Optional:
gpg— for client-side encryption
References
references/provider-setup.md— endpoint, region, keys, and least-privilege setup per providerreferences/security-troubleshooting.md— security guardrails and common failure fixesreferences/local-config.md— optional local settings (paths, retention, behavior)
Setup
Secrets are stored in OpenClaw config at skills.entries.cloud-backup.*:
bucket - S3 bucket name (required)
region - AWS region (default: us-east-1)
endpoint - Custom endpoint for non-AWS providers
awsAccessKeyId - Access key ID
awsSecretAccessKey - Secret access key
awsProfile - Named AWS profile (alternative to keys)
gpgPassphrase - For client-side encryption (optional)
Agent-assisted setup (recommended)
Tell the agent:
"Set up cloud-backup with bucket
my-backup-bucket, regionus-east-1, access keyAKIA...and secret..."
The agent will run gateway config.patch to store credentials securely.
Manual setup
# Store secrets in OpenClaw config
openclaw config patch 'skills.entries.cloud-backup.bucket="my-bucket"'
openclaw config patch 'skills.entries.cloud-backup.region="us-east-1"'
openclaw config patch 'skills.entries.cloud-backup.awsAccessKeyId="AKIA..."'
openclaw config patch 'skills.entries.cloud-backup.awsSecretAccessKey="..."'
# For non-AWS providers, also set endpoint:
openclaw config patch 'skills.entries.cloud-backup.endpoint="https://..."'
Local settings (optional)
For non-secret settings (paths, retention), see references/local-config.md and copy the config block to ~/.openclaw-cloud-backup.conf.
Verify setup
bash "{baseDir}/scripts/openclaw-cloud-backup.sh" setup
bash "{baseDir}/scripts/openclaw-cloud-backup.sh" status
Commands
| Command | Description |
|---|---|
setup | Show configuration guide and test connection |
status | Print effective config and dependency status |
backup [full|skills|settings] | Create and upload backup |
list | List cloud backups |
restore <name> [--dry-run] [--yes] | Download and restore backup |
cleanup | Prune old backups by retention rules |
Workflow
- Run
setupto configure credentials (via agent or manually). - Run
statusto verify everything is connected. - Run
backup fullfor first backup. - Confirm with
list. - Daily backups are scheduled automatically on first run (see Scheduling).
- Restore with
restore <name> --dry-runfirst, then without--dry-run.
Scheduling
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-obuchowski-openclaw-cloud-backup": {
"enabled": true,
"auto_update": true
}
}
}