← 返回
效率工具 中文

OpenClaw Backup Safe

Backup and restore OpenClaw data. Use when user asks to create backups, set up automatic backup schedules, restore from backup, or manage backup rotation. Ha...
备份和还原OpenClaw数据。当用户要求创建备份、设置自动备份计划、从备份还原或管理备份轮换时使用。
alessandropcostabr
效率工具 clawhub v1.0.1 1 版本 99596 Key: 无需
★ 2
Stars
📥 2,425
下载
💾 41
安装
1
版本
#latest

概述

OpenClaw Backup

Backup and restore OpenClaw configuration, credentials, and workspace.

Create Backup

Run the backup script:

./scripts/backup.sh [backup_dir]

Default backup location: ~/openclaw-backups/

Output: openclaw-YYYY-MM-DD_HHMM.tar.gz

What Gets Backed Up

  • openclaw.json - main config
  • credentials/ - API keys, tokens
  • agents/ - agent configs, auth profiles
  • workspace/ - memory, SOUL.md, user files
  • telegram/ - session data
  • cron/ - scheduled tasks

Excluded

  • completions/ - cache, regenerated automatically
  • *.log - logs

Setup Daily Backup with Cron

Use OpenClaw cron for daily backups with notification:

{
  "name": "daily-backup",
  "schedule": {"kind": "cron", "expr": "0 3 * * *", "tz": "UTC"},
  "payload": {
    "kind": "agentTurn",
    "message": "Run ~/.openclaw/workspace/skills/openclaw-backup/scripts/backup.sh and report result to user."
  },
  "sessionTarget": "isolated",
  "delivery": {"mode": "announce"}
}

Restore

See references/restore.md for step-by-step restore instructions.

Quick restore:

openclaw gateway stop
mv ~/.openclaw ~/.openclaw-old
tar -xzf ~/openclaw-backups/openclaw-YYYY-MM-DD_HHMM.tar.gz -C ~
openclaw gateway start

Rotation

Script keeps last 7 backups automatically.

版本历史

共 1 个版本

  • v1.0.1 当前
    2026-03-29 00:58 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

productivity

Word / DOCX

ivangdavila
创建、检查和编辑 Microsoft Word 文档及 DOCX 文件,支持样式、编号、修订记录、表格、分节符及兼容性检查等功能。
★ 438 📥 147,223
security-compliance

ClawHub Quarantine Installer

alessandropcostabr
在隔离环境中安装并审计 ClawHub 的技能,以进行安全分析,允许在部署到生产环境前审查风险...
★ 0 📥 1,025
productivity

Weather

steipete
获取当前天气和预报(无需API密钥)
★ 444 📥 226,122