跳到正文
TakoAPI
返回技能列表

cloud-backup

由 obuchowski 提供

Web & Frontend Development
1.0k下载量由 clawskills.sh 提供
4星标
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

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. 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

输出

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

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接