Install
openclaw skills install @silronin/bookers-openclaw-backupCreate, inspect, configure, and restore self-contained backup bundles for ~/.openclaw. Use when the user wants full-state backup, backup listing, changing the default backup directory, bundle selection, or guarded restore of OpenClaw state. Public default path is ~/backups/openclaw-snapshots; private local setups can override it with config or CLI.
openclaw skills install @silronin/bookers-openclaw-backupUse this skill as the unified backup and restore entrypoint for ~/.openclaw.
Create a backup bundle:
bash scripts/create_backup.sh
List existing bundles:
bash scripts/list_backups.sh
Show current configuration and effective values:
bash scripts/show_config.sh
Change the default backup directory:
bash scripts/set_backup_dir.sh /absolute/path
Select a bundle, audit it, extract it, and print the restore command:
bash scripts/select_and_restore.sh
Each backup is a self-contained tar.gz bundle with this structure:
occt7pkbak-YYYYMMDD-HHMMSS/
├── .openclaw/
├── restore.sh
├── manifest.txt
└── SHA256SUMS
The bundled restore.sh is the primary restore path.
Public default path:
~/backups/openclaw-snapshots
Local/private setups can override that path in two ways:
OPENCLAW_SNAPSHOT_DIRconfig.envThis skill keeps long-term local defaults in config.env.
Current configurable values:
OPENCLAW_SNAPSHOT_DIROPENCLAW_SNAPSHOT_PREFIXOPENCLAW_SNAPSHOT_KEEPPriority order is:
config.env)OPENCLAW_SNAPSHOT_* environment variablesImportant: in the current design, values stored in config.env override same-name environment variables.
If you want a one-off override, prefer command-line flags such as --out-dir.
show_config.sh shows stored config values, environment values, and final effective values.
Primary CLI flag for backup location:
--out-dirCompatibility alias still accepted:
--backup-dir.openclawrestore.sh