ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified utilities Safety 4/5

openclaw-backup

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

Why use this skill?

Securely back up your OpenClaw agents, credentials, and configurations. Supports Windows, Linux, and Mac with automated retention and cleanup for data safety.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/hi-jiajun/openclaw-backup-hiliang
Or

What This Skill Does

The openclaw-backup skill is an essential utility designed to safeguard your OpenClaw environment by automating the backup of critical local configuration files. It acts as a safety net for your AI agent setup, ensuring that your settings, agent definitions, credentials, and identity profiles are never lost due to system failures or accidental deletions. The tool provides a user-friendly, interactive configuration wizard that handles the complex path mappings across Windows, Linux, and macOS platforms. Once configured, it manages the lifecycle of your backups, supporting retention policies based on the number of snapshots or storage volume constraints, effectively cleaning up outdated data while keeping your most important configurations secure.

Installation

To install this skill, use the ClawHub command-line interface. Run: clawhub install openclaw/skills/skills/hi-jun/openclaw-backup-hiliang. After installation, navigate to the skill directory within your .openclaw/skills folder. For Windows, execute the scripts/setup.ps1 script to initiate the interactive wizard. For Linux and macOS, grant execution permissions using chmod +x on the setup scripts, then run them to map your backup destination and schedule preferences. Once the setup is complete, the backup scripts are ready for manual execution or integration into system-level cron jobs or Task Scheduler tasks.

Use Cases

  • Disaster Recovery: Quickly restore your entire OpenClaw configuration if your machine suffers from OS corruption or hardware failure.
  • Environment Migration: Easily export your agent setups, custom skills, and saved identities to a new computer or server by syncing your backup folder.
  • Version Control and Snapshotting: Create snapshots before performing significant updates or changes to your agent configurations, allowing you to roll back if a new agent behavior does not meet expectations.

Example Prompts

  1. "OpenClaw, please trigger a manual backup now to make sure my latest agent changes are saved."
  2. "Show me the status of my recent backups and confirm if the daily automated task is active."
  3. "I need to restore my configuration from last Tuesday; can you guide me through the recovery process using the latest backup?"

Tips & Limitations

  • Security Warning: Because the backup includes your credentials/ folder, which contains sensitive API keys, ensure that your backup destination is encrypted or stored in a secure, private location with restricted access.
  • Automation: While the script is manual-first, we strongly recommend creating a recurring OS-level task to execute the backup script daily.
  • Storage Management: If you have limited disk space, leverage the script's capacity-based cleanup features to prevent old, redundant backups from consuming your local storage unnecessarily.

Metadata

Author@hi-jiajun
Stars2387
Views1
Updated2026-03-09
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-hi-jiajun-openclaw-backup-hiliang": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#backup#security#recovery#automation#system-maintenance
Safety Score: 4/5

Flags: file-write, file-read