myclaw-backup

Automate OpenClaw data backup and restoration with dry-run previews.

665|121|Updated Mar 2, 2026
One-click install
npx skills add https://github.com/LeoYeAI/openclaw-backup --skill myclaw-backup-leoyeai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: myclaw-backup
Source: https://github.com/LeoYeAI/openclaw-backup/tree/main
Command: npx skills add https://github.com/LeoYeAI/openclaw-backup --skill myclaw-backup-leoyeai

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires rsync, tar, openclaw, python3, node, and includes scripts (resource) and references (resource) components.

What problem does it solve?

OpenClaw data backup and restoration can be risky and tedious; this skill automates capturing a complete snapshot of critical OpenClaw data (workspace, memory, skills, credentials, and configuration) and restoring it to a new instance, enabling reliable migration and disaster recovery.

Core Features & Use Cases

  • Backs up the entire OpenClaw state into a single, compressed archive (openclaw-backup_*.tar.gz) including workspace, agent data, credentials, and cron tasks.
  • Restores from a backup to another OpenClaw instance with safety features like dry-run previews and gateway token preservation options.
  • Provides a built-in HTTP server for browser-based backup management (download/upload/restore) with localhost-only execution for destructive actions and token-based access control.
  • Supports migration to new servers by preserving channel states and re-establishing connections automatically.

Quick Start

Run the backup.sh script to create a snapshot, then run the restore.sh script on the target machine to replay it.

Frequently Asked Questions about myclaw-backup

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I back up and restore OpenClaw data for server migration?

OpenClaw data backup and restoration is automated by capturing workspace, memories, skills, credentials, and configuration into a compressed archive. You run the backup script to create a snapshot, then execute the restore script on the target machine to replay it.

Can I restore OpenClaw credentials and sessions without overwriting existing gateway tokens?

Restoring OpenClaw credentials and sessions supports gateway token preservation options. The restore process includes safety features like dry-run previews, allowing you to check the restoration scope before applying any destructive changes to the target instance.

What is included in a complete OpenClaw backup archive?

A complete OpenClaw backup archive includes the workspace, agent data, memories, skills, credentials, cron tasks, and configuration files. Everything is compressed into a single tar.gz file to ensure reliable disaster recovery and migration.

Does OpenClaw backup management support browser-based access for downloading and restoring files?

OpenClaw backup management provides a built-in HTTP server for browser-based download, upload, and restore operations. Destructive actions are restricted to localhost-only execution with token-based access control to enforce a strict trust boundary.

How does OpenClaw migration handle channel states when moving to a new server?

OpenClaw migration to new servers preserves channel states and re-establishes connections automatically. This ensures continuity when moving your workspace, agent data, and configuration across different server instances.

Do I need rsync and python3 installed to run OpenClaw backup scripts?

Running OpenClaw backup scripts requires dependencies including rsync, tar, python3, node, and openclaw. These tools facilitate the secure data capture, compression, and restoration processes across your server environment.