返回顶部
o

openclaw-backup-skill

Run and schedule local OpenClaw backup operations with a bundled Bash script. Use when the user wants to create, prune, or automate local OpenClaw backups, inspect retention behavior, or manage backup retention windows.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 0.2.2
安全检测
已通过
87
下载量
0
收藏
概述
安装方式
版本历史

openclaw-backup-skill

# OpenClaw Backup Skill Use the bundled script `scripts/openclaw-backup.sh` for real operations. Do not rewrite backup logic inline when the bundled script already covers the task. ## When to use Use this skill when the user wants to: - create a local OpenClaw backup; - create a manual backup before risky changes; - prune old regular backups; - schedule recurring backup runs; - inspect or adjust retention behavior. ## Preconditions This skill assumes: - Linux; - Bash 4+; - OpenClaw CLI installed and working; - local filesystem access. ## Primary commands - Show the current CLI contract directly from the script: - `scripts/openclaw-backup.sh --help` - Regular backup: - `scripts/openclaw-backup.sh --backup` - Manual backup: - `scripts/openclaw-backup.sh --manual` - Dry-run prune: - `scripts/openclaw-backup.sh --prune --dry-run --keep-hours 24 --keep-days 7 --keep-weeks 4` - Automatic backup + prune: - `scripts/openclaw-backup.sh --auto --keep-hours 24 --keep-days 7 --keep-weeks 4` ## Recommended scheduled run For recurring local backups, a good default pattern is: - `scripts/openclaw-backup.sh --auto --keep-hours 24 --keep-days 7 --keep-weeks 4` On Linux hosts, use the system scheduler (for example cron) when the goal is a direct local script run without chat delivery. ## Operational notes The current backup format includes: - workspace contents, including assistant identity and continuity files (for example SOUL.md, USER.md, AGENTS.md, and other workspace-level context files); - OpenClaw config; - cron export and human-readable cron summary; - software versions; - restore instructions; - manifest. The current backup format intentionally excludes: - backup storage inside a workspace (legacy support); - temp artifacts; - environment variables / system env / system override. - Regular archives are subject to prune; manual archives are excluded from normal prune. - Retention is based on UTC timestamps encoded in archive filenames, not on `mtime` / `ctime`. - The script resolves the OpenClaw workspace/config automatically unless the caller passes an explicit output directory. - If the user wants recurring backups, ask before installing or changing scheduled jobs. - For the full behavior contract, retention model, and archive naming rules, read `references/spec.md`.

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 openclaw-backup-skill-1775938981 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 openclaw-backup-skill-1775938981 技能

通过命令行安装

skillhub install openclaw-backup-skill-1775938981

下载 Zip 包

⬇ 下载 openclaw-backup-skill v0.2.2

文件大小: 10.29 KB | 发布时间: 2026-4-12 10:48

v0.2.2 最新 2026-4-12 10:48
Initial public release of the OpenClaw Backup Skill with auto/manual modes, deterministic prune, rolling recent retention, and recovery-oriented backup metadata.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部