跳到正文
TakoAPI
返回技能列表

rhandus-backup-recovery

由 rhanxerox 提供

Coding Agents & IDEs
—暂无评分
你的评分

简介

Backup & Recovery Automation for OpenClaw using rClone.

描述

该技能的功能

Automates daily backups of OpenClaw configuration and workspace files to Google Drive using rClone. Maintains a rolling 20-day history with automatic rotation, checksums for integrity verification, and optional end-to-end encryption.

Using rClone's sync with backup-dir preserves versioned snapshots without duplicating unchanged files, making it more storage-efficient than naive full-copy scripts.

何时使用

  • Restoring a deleted workspace file from a specific past date
  • Recovering full OpenClaw config after a system failure
  • Running nightly scheduled backups without manual intervention
  • Checking storage usage across the last 20 backup snapshots
  • Verifying backup integrity before a major system upgrade

示例工作流

输入

User asks: recover MEMORY.md from yesterday's backup

智能体
  1. 1

    Run backup recover --list to show available backup dates

  2. 2

    Identify yesterday's backup folder in Google Drive

  3. 3

    Run backup recover --file /workspace/MEMORY.md --date <yesterday>

  4. 4

    Verify file integrity against stored checksum

  5. 5

    Confirm file is restored to original path

输出

MEMORY.md restored from the previous day's backup with integrity verified

前置要求

  • rclone installed
  • Google account with Drive access
  • Google Drive OAuth credentials (client_id and client_secret)

安装

clawhub install rhanxerox/rhandus-backup-recovery

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

链接