360 Secure SkillHub
360 安全技能中心

fullbackup

核心功能:调用内置脚本对OpenClaw工作区及配置执行全量本地备份,自动排除缓存、日志等冗余内容,保留旧存档。典型使用场景:Telegram中触发/fullbackup指令,或用户主动请求完整本地备份时使用。输入为指令触发或运行指定bash脚本,输出备份存档的路径与大小信息。

trumppo
trumppo
热度 51.15
最近更新 2026-05-11 15:54:46
分类:自动化依赖:代码执行应用场景:自动化脚本 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add fullbackup
Metadata
name
fullbackup
description
Create a full local backup of the OpenClaw workspace and configuration using the existing backup-local.sh script. Use for /fullbackup in Telegram or when the user asks for a complete local backup.

Full Backup (local archive)

Overview

Run the local full-backup script and store the archive in /root/.openclaw/backups.

Quick start

Run the bundled wrapper:

bash /root/.openclaw/workspace/skills/fullbackup/scripts/full-backup.sh

Output

Print the archive path and size.

Notes

  • The backup script already applies safe exclusions (caches/logs).
  • Do not delete older archives.