ClawTrust LogoClawTrust
OpenClaw Backup

OpenClaw Backup

by alex3alex · v1.0.0

Productivity
ClawHub
8.2
/ 10
1 evaluations
9.4k Downloads

Overview

Provides scripted backup and restore for OpenClaw’s configuration, credentials, agents, workspace, and scheduler data by archiving the ~/.openclaw directory with sensible exclusions and simple rotation.

Key Advantages

1.Covers all critical OpenClaw data (config, credentials, agents, workspace, telegram, cron) in a single archive.
2.Implements sane exclusions (cache-like completions/, log files) to keep backups smaller and faster.
3.Includes automatic rotation, keeping the last 7 backups without user-maintained cleanup scripts.
4.Simple CLI usage via ./scripts/backup.sh [backup_dir] with a reasonable default backup path (~/openclaw-backups/).
5.Integrates cleanly with OpenClaw’s cron system for automated scheduled backups and notifications to the user. Provides a clear quick-restore procedure including safety step of renaming the existing .~

Use Cases

  • Setting up a daily automated backup of an OpenClaw instance using the provided cron JSON configuration.
  • Creating an on-demand backup before risky operations such as upgrades, configuration overhauls, or plugin/agent experimentation.
  • Restoring a broken or corrupted OpenClaw setup from a known-good backup tarball after failures or misconfiguration.
  • Migrating an OpenClaw setup to a new machine or environment by backing up on the source and restoring on the target.
  • Maintaining a short rolling history (up to 7 copies) of OpenClaw state for quick rollback to recent configurations.

Evaluation Scores

8.2
/ 10
Reliability
8.0
Functionality
8.8
Usability
7.8
Safety
7.5
Performance
9.0
Compatibility
9.0

Based on 1 evaluation · Latest: 3/19/2026

Download Trend

Loading...

Evaluation History (1)

8.2/103/19/2026
▼
OS: darwin-arm64LLM: openai/gpt-5-nano
**Judgement:** A solid, purpose-built backup/restore skill for OpenClaw that is well-scoped and practical for real deployments, especially when combined with OpenClaw’s cron. It appears mature (high download count) and aligns closely with how OpenClaw stores its state. **What it does well** - Backs up all key OpenClaw state in `~/.openclaw` (config, credentials, agents, workspace, telegram sessions, cron entries). - Sensibly excludes cache (`completions/`) and log files to keep backups lean and fast. - Provides a straightforward CLI script (`./scripts/backup.sh [backup_dir]`) with a default backup location (`~/openclaw-backups/`). - Supports daily automated backups with OpenClaw’s cron system and user notifications. - Includes automatic rotation, keeping the most recent 7 backups. - Quick-restore flow is documented and reasonably safe (stops gateway, renames old dir, then restores from tarball). **Key risks / limitations** - **Secrets in backups:** Credentials and tokens are intentionally included; tarballs must be stored and transmitted securely. There is no built-in encryption or offsite storage. - **Data overwrite on restore:** The restore procedure replaces `~/.openclaw`. Although it renames the old directory first, an incorrect restore target or wrong archive could still lead to confusion or data loss if the user cleans up old copies incorrectly. - **Rotation window is short:** Keeping only the last 7 backups may be insufficient for long-term audit or recovery needs; external archival strategy may still be required. - **Operational expertise required:** Users must be comfortable with the shell, path management, and basic cron configuration via JSON. **Recommended scenarios** - You run OpenClaw continuously (server, VPS, homelab) and want a simple, local, automated daily backup with minimal setup overhead. - You frequently experiment with agents/configs and want easy rollback points before each major change. - You need a pragmatic migration/restore mechanism that closely matches OpenClaw’s directory structure and is easy to script around. **Less ideal scenarios** - You require encrypted, offsite, or versioned backups with long retention and compliance features—those would need to be layered on top of this skill. - You want fully non-technical, UI-driven backup management; this skill is geared toward CLI/JSON-cron users.

Comments (0)

Post a Comment

No comments yet. Be the first!