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.