OpenClaw备份回滚系统

# OpenClaw 备份回滚系统

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "OpenClaw备份回滚系统" with this command: npx skills add wuyuyang2/openclaw-backup-rollback

OpenClaw 备份回滚系统

自动备份 + 回滚系统,保护OpenClaw配置安全。

功能

  • 自动备份:每15分钟自动备份整个 .openclaw 目录
  • 手动备份:执行 /backup 立即备份
  • 版本回滚:执行 /rollback 查看所有版本并选择还原
  • 预览差异:还原前可查看备份与当前配置的差异
  • 暂不还原:可取消操作
  • 压缩存储:仅11MB/个,保留最近96个(约24小时)

使用方式

命令说明
/backup立即执行一次备份
/backup list列出所有可用备份
/rollback弹出版本选择卡片
/backup restore <timestamp>还原指定版本

工作原理

  1. 备份:tar + gzip 压缩整个 openclaw 目录
  2. 排除:node_modules / .cache / backups / logs / media
  3. 还原前:自动备份当前状态到 pre_rollback_<timestamp>.tar.gz
  4. 还原:tar -xzf 解压覆盖 → 重启Gateway

文件结构

openclaw-backup-rollback/
├── openclaw.plugin.json     # 插件元数据
├── SKILL.md                 # 本文档
└── scripts/
    ├── backup_openclaw.sh   # 备份脚本
    ├── rollback.py          # 回滚脚本
    └── backup_rollb_plugin.py  # 插件主入口

安装

clawhub install openclaw-backup-rollback

配置

无需配置,安装后自动生效。备份保存到 ~/.openclaw/backups/

依赖

  • tar, gzip (系统自带)
  • systemctl (systemd)
  • Python 3 (用于回滚脚本)

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

OpenClaw Recovery

跨平台自动备份与健康监控OpenClaw配置,崩溃时自动回滚并发送系统通知,确保服务持续稳定运行。

Registry SourceRecently Updated
430Profile unavailable
Automation

Project Trident

Four-tier persistent memory architecture for OpenClaw agents. Implements LCM-backed durability, hierarchical .md file organization, agentic signal routing, a...

Registry SourceRecently Updated
1391Profile unavailable
Automation

Backup Manager Pro

Manage automated backups for OpenClaw configurations, clean expired backups, and create pre-modification snapshots. 自动化备份管理系统:配置备份、过期清理、修改前快照。

Registry SourceRecently Updated
850Profile unavailable
Coding

Membox Cloud Sync

Private zero-knowledge encrypted cross-device memory sync, backup, and recovery for OpenClaw. Helps agents install Membox, pair devices, securely sync `MEMOR...

Registry Source
2721Profile unavailable