Ugreen NAS provides a service to deploy OpenClaw directly through the App Center. OpenClaw deployed this way runs on Docker, but the hosting method has limitations - Docker's clone and export features cannot be used to backup the OpenClaw container. This Skill provides backup and restore functionality for OpenClaw container configuration and skills.
什么时候使用 / When to Use
用户要求 / User requests:
"备份 OpenClaw" / "Backup OpenClaw"
"创建快照" / "Create snapshot"
"备份部署" / "Backup deployment"
"导出配置" / "Export configuration"
"恢复备份" / "Restore backup"
"还原配置" / "Restore configuration"
备份功能 / Backup Feature
自动检测备份位置 / Auto-detect Backup Location
此 Skill 会自动查找可访问的宿主目录进行备份 / This Skill automatically finds accessible host directory for backup:
读取 OpenClaw 配置获取工作空间路径 (~/.openclaw/workspace) / Read OpenClaw config to get workspace path
从工作空间路径推断宿主挂载目录(如 /root/.openclaw/workspace → /用户安装openclaw时指定的路径)/ Infer host mount directory from workspace path
验证该目录可写 / Verify the directory is writable
如果无法自动检测到有效目录,会提示用户指定备份目录 / If unable to detect, prompt user to specify backup directory.
恢复功能 / Restore Feature
自动查找备份文件 / Auto-find Backup Files
自动检测备份目录(同备份功能)/ Auto-detect backup directory (same as backup)
列出目录中所有 openclaw-backup-*.tar.gz 文件 / List all backup files
按文件修改时间排序,显示日期和时间 / Sort by modification time, show date and time
让用户选择要恢复的时间点 / Let user select restore point
用户确认后执行恢复 / Execute restore after user confirmation