cloud-backup
بواسطة obuchowski
Web & Frontend Developmentموجز
Back up and restore OpenClaw state.
الوصف
ما الذي تفعله هذه المهارة
Backs up OpenClaw state to local archives and uploads them to S3-compatible cloud storage. Supports AWS S3, Cloudflare R2, Backblaze B2, MinIO, and DigitalOcean Spaces. Handles optional GPG encryption and automatic daily scheduling.
Combines local archiving, cloud upload, GPG encryption, and scheduled rotation in one workflow instead of requiring separate tools for each step.
متى تستخدمها
- Daily automated backup of OpenClaw config and credentials
- Restoring OpenClaw state after a machine wipe or migration
- Encrypting backup archives before uploading to third-party storage
- Pruning old backups across local and cloud storage by count and age
- Verifying cloud storage connectivity before a first backup
مثال على سير العمل
User asks: "Back up my OpenClaw state to S3"
- 1
Runs the backup script in full mode to create a local archive
- 2
Checks output for an encryption warning and prompts the user to set a passphrase if encryption is off
- 3
Detects that cloud storage is not configured and asks the user to pick a provider
- 4
Collects bucket name and credentials, writes config, and runs status to verify connectivity
- 5
Re-runs the backup, reports upload paths, and creates a daily cron job at 2 AM
Archive uploaded to the configured bucket; daily backup scheduled at 2 AM
المتطلبات
- Cloud storage account with an S3-compatible provider (AWS S3, Cloudflare R2, Backblaze B2, MinIO, or DigitalOcean Spaces)
- ACCESS_KEY_ID and SECRET_ACCESS_KEY for the chosen storage provider
- Storage bucket created in the chosen provider
التثبيت
clawhub install obuchowski/cloud-backupشغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.