Lewati ke konten
TakoAPI
Kembali ke skill

cloud-backup

oleh obuchowski

Web & Frontend Development
1.0kUnduhan dilaporkan oleh clawskills.sh
4Bintang
0Tayangan
0 sukaMasuk untuk menyukai skill ini
—Belum ada penilaian
Penilaian Anda

Ringkasan

Back up and restore OpenClaw state.

Deskripsi

Apa yang Dilakukan Skill Ini

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.

Kapan Menggunakannya

  • 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

Contoh Alur Kerja

INPUT

User asks: "Back up my OpenClaw state to S3"

AGENT
  1. 1

    Runs the backup script in full mode to create a local archive

  2. 2

    Checks output for an encryption warning and prompts the user to set a passphrase if encryption is off

  3. 3

    Detects that cloud storage is not configured and asks the user to pick a provider

  4. 4

    Collects bucket name and credentials, writes config, and runs status to verify connectivity

  5. 5

    Re-runs the backup, reports upload paths, and creates a daily cron job at 2 AM

OUTPUT

Archive uploaded to the configured bucket; daily backup scheduled at 2 AM

Persyaratan

  • 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

Instalasi

clawhub install obuchowski/cloud-backup

Jalankan perintah CLI-nya, atau tempel prompt ke Claude Code, Cursor, Codex, atau coding agent apa pun yang Anda pakai.

Tautan