Перейти к содержимому
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 — любой кодинг-агент, которым пользуетесь.

Ссылки