openclaw-backup

自动备份 OpenClaw 本地存储配置文件。支持 Windows/Linux/Mac。 使用场景:(1) 定期备份配置 (2) 迁移配置 (3) 恢复配置 这是一个 OpenClaw 备份工具 skill,提供交互式配置向导。

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-backup" with this command: npx skills add Hi-Jiajun/openclaw-backup-hiliang

OpenClaw Backup Skill

自动备份 OpenClaw 配置,让数据永不丢失

功能

  • ✅ 交互式配置向导
  • ✅ 每日自动备份(可配置时间)
  • ✅ 保留最近 N 个备份
  • ✅ 旧备份自动转移和清理
  • ✅ 按容量自动清理旧备份
  • ✅ 支持 Windows / Linux / Mac

支持平台

平台脚本
Windowsscripts/backup.ps1
Linuxscripts/backup.sh
Macscripts/backup.sh

安装方式

Windows

# 克隆到 OpenClaw skills 目录
cd $env:USERPROFILE\.openclaw\skills
git clone https://github.com/Hi-Jiajun/openclaw-backup.git

Linux / Mac

# 克隆到你的 OpenClaw skills 目录
cd ~/.openclaw/skills
git clone https://github.com/Hi-Jiajun/openclaw-backup.git

快速开始

Windows

# 首次配置(交互式向导)
powershell -ExecutionPolicy Bypass -File "scripts/setup.ps1"

# 执行备份
powershell -ExecutionPolicy Bypass -File "scripts/backup.ps1"

Linux / Mac

# 首次配置(交互式向导)
chmod +x scripts/setup.sh
./scripts/setup.sh

# 执行备份
chmod +x scripts/backup.sh
./scripts/backup.sh

配置文件说明

setup.ps1 / setup.sh 会生成配置文件

首次运行 setup.ps1 或 setup.sh 会创建配置文件,保存你的配置。

backup.ps1 / backup.sh 会自动加载配置

脚本会自动读取配置文件,无需手动修改。

备份内容

目录/文件说明
openclaw.json主配置文件
agents/Agent 配置
credentials/凭证文件(含 API 密钥)
cron/定时任务
devices/配对设备
identity/身份配置
skills/全局技能

注意事项

  1. credentials/ 包含敏感信息 - 妥善保管备份
  2. 首次使用建议运行交互式配置
  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

M3U8 Downloader

Download encrypted m3u8/HLS videos using parallel downloads. Use when given an m3u8 URL to download a video, especially encrypted HLS streams with AES-128.

Registry SourceRecently Updated
General

Data Analyst Cn

数据分析助手 - 数据清洗、统计分析、可视化建议。适合:数据分析师、产品经理、运营。

Registry SourceRecently Updated
General

QuantumOS

Install and manage QuantumOS, an AI command center dashboard for OpenClaw. Use when the user wants to set up QuantumOS, start/stop the dashboard, troubleshoo...

Registry SourceRecently Updated