What problem does it solve?
This Skill provides reliable backup and restore procedures for OpenClaw data and configuration, removing the risk of data loss from accidental changes, crashes, or migrations.
Core Features & Use Cases
- Automated backups: A shell script creates timestamped compressed archives of the ~/.openclaw directory with sensible exclusions.
- Rotation and reporting: Keeps the last seven backups, reports archive size and count, and safely removes older snapshots.
- Restore and scheduling: Clear restore steps and a cron-ready payload example let you schedule daily backups and recover gateways after failures.
- Use Case: Schedule nightly backups of agent configs, credentials, and workspace so you can quickly restore a gateway after a faulty update.
Quick Start
Run the scripts/backup.sh script to create a timestamped openclaw-YYYY-MM-DD_HHMM.tar.gz archive in your backup directory and rotate older snapshots.