← 返回
未分类 中文

openclaw configure backup

Backup OpenClaw configuration file with hash-based change detection. Use when user asks to backup, create backup of, or save OpenClaw config (openclaw.json)....
备份 OpenClaw 配置文件,支持基于哈希的变更检测。当用户请求备份或保存 OpenClaw 配置时使用。
goog goog 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 402
下载
💾 1
安装
1
版本
#latest

概述

Clawbackup

Backup OpenClaw configuration file with automatic change detection.

Quick Start

Backup Config

From workspace directory:

python config_backup.py ..\openclaw.json

Or with custom backup directory:

python config_backup.py ..\openclaw.json -o backup

Features

  • JSON5 Validation: Validates config file before backup
  • Hash-based Change Detection: Skips backup if file hasn't changed (compares SHA256 hash)
  • Timestamped Backups: Creates backups with timestamp format: openclaw_20260319_143052_123456.json
  • Custom Output Directory: Specify backup location with -o flag

Script Location

The script is located in "scripts" directory

Usage

usage: config_backup.py [-h] [-o OUTPUT] file

Validate JSON5 and backup with hash check

positional arguments:
  file                  JSON5 file path

options:
  -h, --help            show this help message and exit
  -o OUTPUT, --output   Backup directory (default: backup)

Example Output

✅ JSON5 validate passed
📦 已备份: backup\openclaw_20260319_143052_123456.json

If file unchanged:

✅ JSON5 validate passed
⚠️ config file unchange, skip backup

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-31 01:17 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

it-ops-security

Free Ride - Unlimited free AI

shaivpidadi
管理OpenClaw的OpenRouter免费AI模型,自动按质量排名模型,配置速率限制备用方案,并更新opencla...
★ 471 📥 78,216
knowledge-management

Knowledge card creator, your memory notes

goog
知识卡片生成器:提取用户提供的文本、文件或 URL 中的关键知识,自动匹配合适的卡片类型(概念、备忘录、流程、比较等)。
★ 0 📥 760
it-ops-security

MoltGuard - Security & Antivirus & Guardrails

thomas-security
MoltGuard — OpenClaw 安全守卫,由 OpenGuardrails 提供。安装后可防止您和您的用户受到提示注入、数据泄露及恶意行为的侵害。
★ 116 📥 30,968