搜索

PythonReactSEOPDF
OpenClaw

openclaw-backup

OpenClaw 备份还原工具。每次安装调试功能前自动备份,支持终端一键还原和重启。让技术小白也能放心折腾。

haohanyang920 来源安装数☆ 0 仓库 Stars

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

SkillHub CLI

skillhub install haohanyang92/openclaw-backup-tool

打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。

将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。

查看来源 ↗使用指南

技能说明

OpenClaw 备份还原工具

保护你的 OpenClaw 配置,防止折腾坏掉没退路。

功能

  1. 自动备份 - 每次安装/调试功能前自动备份
  2. 一键还原 - 终端输入命令选择时间节点恢复
  3. 重启网关 - 一条命令重启 OpenClaw Gateway

使用方法

备份脚本
bash ~/.openclaw/workspace/skills/openclaw-backup/scripts/backup.sh

或通过 alias(需添加到 ~/.zshrc):

alias ocl-backup="bash ~/.openclaw/workspace/skills/openclaw-backup/scripts/backup.sh"
还原脚本
bash ~/.openclaw/workspace/skills/openclaw-backup/scripts/restore.sh

会列出所有可用备份,选择后确认还原。

重启 Gateway
bash ~/.openclaw/workspace/skills/openclaw-backup/scripts/restart.sh

或通过 alias:

alias ocl-restart="bash ~/.openclaw/workspace/skills/openclaw-backup/scripts/restart.sh"

备份内容

  • IDENTITY.md
  • USER.md
  • MEMORY.md
  • SOUL.md
  • TOOLS.md
  • openclaw.json
  • memory/ 目录

添加 Alias(推荐)

在 ~/.zshrc 中添加:

alias ocl-backup="bash ~/.openclaw/workspace/skills/openclaw-backup/scripts/backup.sh"
alias ocl-restore="bash ~/.openclaw/workspace/skills/openclaw-backup/scripts/restore.sh"
alias ocl-restart="bash ~/.openclaw/workspace/skills/openclaw-backup/scripts/restart.sh"

然后执行 source ~/.zshrc 生效。

规则

重要:当用户让你安装、调试、配置任何 OpenClaw 功能之前,必须先运行备份脚本!

来源信息

Source
github
Repository
openclaw/skills
Path
skills/haohanyang92/openclaw-backup-tool
Version
—
Commit
6210eea98bddd6a12616ffea243803aee09bd0a2
分类来源
rules
状态
active
可见性
public

这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。

来源内容

SKILL.md
# OpenClaw 备份还原工具

保护你的 OpenClaw 配置,防止折腾坏掉没退路。

## 功能

1. **自动备份** - 每次安装/调试功能前自动备份
2. **一键还原** - 终端输入命令选择时间节点恢复
3. **重启网关** - 一条命令重启 OpenClaw Gateway

## 使用方法

### 备份脚本

```bash
bash ~/.openclaw/workspace/skills/openclaw-backup/scripts/backup.sh
```

或通过 alias(需添加到 ~/.zshrc):
```bash
alias ocl-backup="bash ~/.openclaw/workspace/skills/openclaw-backup/scripts/backup.sh"
```

### 还原脚本

```bash
bash ~/.openclaw/workspace/skills/openclaw-backup/scripts/restore.sh
```

会列出所有可用备份,选择后确认还原。

### 重启 Gateway

```bash
bash ~/.openclaw/workspace/skills/openclaw-backup/scripts/restart.sh
```

或通过 alias:
```bash
alias ocl-restart="bash ~/.openclaw/workspace/skills/openclaw-backup/scripts/restart.sh"
```

## 备份内容

- IDENTITY.md
- USER.md  
- MEMORY.md
- SOUL.md
- TOOLS.md
- openclaw.json
- memory/ 目录

## 添加 Alias(推荐)

在 ~/.zshrc 中添加:
```bash
alias ocl-backup="bash ~/.openclaw/workspace/skills/openclaw-backup/scripts/backup.sh"
alias ocl-restore="bash ~/.openclaw/workspace/skills/openclaw-backup/scripts/restore.sh"
alias ocl-restart="bash ~/.openclaw/workspace/skills/openclaw-backup/scripts/restart.sh"
```

然后执行 `source ~/.zshrc` 生效。

## 规则

**重要**:当用户让你安装、调试、配置任何 OpenClaw 功能之前,必须先运行备份脚本!

相关技能

OpenClaw

x402hub

capncoconut

Register, communicate, and earn on the x402hub AI agent marketplace. Use when an agent needs to register on x402hub, browse or claim bounties, submit deliverables, send messages to other agents via x402 Relay,...

OpenClaw

claw

capevace

Real-time event bus for AI agents. Publish, subscribe, and share live signals across a network of agents with Unix-style simplicity.

OpenClaw

captchas-openclaw

captchasco

OpenClaw integration guidance for CAPTCHAS Agent API, including OpenResponses tool schemas and plugin tool registration.