← 返回 Skills 市场
jaskies

Backup Full System

作者 Trần Anh Vũ · GitHub ↗ · v1.2.0 · MIT-0
cross-platform ⚠ suspicious
314
总下载
0
收藏
1
当前安装
3
版本数
在 OpenClaw 中安装
/install backup-full-system-jaskies
功能描述
Thực hiện sao lưu toàn bộ hệ thống OpenClaw (bao gồm database, cấu hình và bộ nhớ) rồi tải lên đám mây. Yêu cầu cài đặt rclone hoặc công cụ upload tương ứng.
使用说明 (SKILL.md)

Backup System: Sao lưu hệ thống toàn diện

Skill này giúp em bảo vệ an toàn toàn bộ dữ liệu của chúng mình bằng cách nén và tải lên đám mây (Google Drive/OneDrive) một cách tự động.

Yêu cầu hệ thống

Để skill này hoạt động, máy của anh cần có:

  1. Bash Shell: Môi trường thực thi script chuẩn trên Linux.
  2. tar & zip: Để đóng gói và nén dữ liệu.
  3. rclone (Khuyến nghị): Công cụ mạnh mẽ để đồng bộ dữ liệu lên đám mây.

Lệnh cài đặt nhanh (cho Linux/Ubuntu)

Anh chạy lệnh này để cài đặt các công cụ cần thiết nhé:

# Cài đặt công cụ nén và rclone
sudo apt update && sudo apt install -y tar zip rclone

Cấu hình Đám mây (Rclone)

Trước khi chạy lần đầu, anh cần cấu hình nơi lưu trữ:

rclone config
# Làm theo hướng dẫn để thêm Google Drive hoặc tài khoản lưu trữ của anh.
# Đảm bảo đặt tên remote trùng với cấu hình trong file script backup.

Quy trình thực hiện

  1. Quét dữ liệu: Script tự động liệt kê các thư mục quan trọng cần sao lưu (workspace, configs, memory).
  2. Nén & Đóng gói: Sử dụng tar để tạo bản lưu trữ gọn nhẹ.
  3. Tải lên: Sử dụng lệnh thực thi bên trong script để đẩy file lên đám mây.

Lệnh thực thi sao lưu

bash skills/public/backup-system/scripts/backup_full_system.sh

Lưu ý

  • Thời gian: Quá trình sao lưu có thể mất từ 1-5 phút tùy thuộc vào dung lượng bộ nhớ của em.
  • Bảo mật: Script đã được thiết kế để không làm lộ các mã khóa bí mật trong quá trình nén nếu được cấu hình đúng.
  • Định kỳ: Anh có thể kết hợp với công cụ cron để đặt lịch sao lưu tự động hàng tuần.
安全使用建议
Before installing or running this skill: 1) Inspect and edit the script — change PARENT_DIR to the intended path or make it configurable; remove or review copying of /etc/tailscale and any systemd files if you do not want service credentials backed up. 2) Understand sudo: the script uses sudo to copy system files; run it in a controlled environment or grant sudo only when you review the commands. 3) Rclone configuration: the script expects a remote called 'gdrive' (gdrive:OpenClaw_Backups). Ensure your rclone remote name and permissions are correct and consider enabling encryption on the remote. 4) Test on a non-production system first to confirm which files are included. 5) If you want to reduce risk, remove collection of apt/pip lists and crontab, or limit which config directories are archived. Additional information that would increase confidence: confirmation from the author that the hardcoded path is intentional, a configurable version of the script, and explicit documentation of exactly which files are considered sensitive and why they are included.
功能分析
Type: OpenClaw Skill Name: backup-full-system-jaskies Version: 1.2.0 The skill performs an overly broad system backup that collects highly sensitive data, including the entire `~/.config` directory, shell configuration files (`.bashrc`, `.profile`), and VPN credentials from `/etc/tailscale`. While the stated purpose is a system backup, the script `scripts/backup_full_system.sh` contains a hardcoded user path (`/home/jackie_chen_phong`) and the documentation in `SKILL.md` deceptively claims the script is designed not to leak secrets despite explicitly copying files known to contain them. Although it requires the user to configure their own `rclone` destination, the excessive data collection and misleading security claims present a high risk of accidental credential exposure.
能力评估
Purpose & Capability
The declared purpose (full-system backup to cloud) matches what the script does, but the implementation contains unexplained hardcoding and platform assumptions: PARENT_DIR is fixed to /home/jackie_chen_phong (not configurable), the rclone remote name 'gdrive' is hardcoded, and the SKILL metadata declares no required binaries or env vars even though the script requires sudo, tar, rclone, apt/pip/crontab utilities. Those omissions reduce coherence between stated requirements and actual needs.
Instruction Scope
The script accesses many sensitive items: ~/.bashrc, ~/.profile, ~/.config, system package lists, pip packages, crontab, and system files such as /etc/tailscale and /etc/systemd/system/openclaw*. Collecting and archiving these is consistent with a 'full backup' goal, but it will capture credentials/configuration that could be sensitive (e.g., Tailscale keys or service unit files). The SKILL.md does not warn that sudo is required to read system files nor emphasize reviewing which files will be included.
Install Mechanism
This is an instruction-only skill with no install spec, which is low-risk from an installation perspective. The README suggests installing rclone/tar via apt, but there is no automated installer. That's acceptable, but users should be warned that following the suggested apt commands will change system state (install packages) and must be run with sudo.
Credentials
No environment variables or credentials are declared in metadata, yet the script implicitly depends on a preconfigured rclone remote (named 'gdrive') and uses sudo to read system files. The skill will archive tokens/configuration stored in the filesystem (rclone config, Tailscale files, systemd service files) without declaring or constraining access — this is disproportionate relative to the metadata and increases risk of unintended secret exfiltration.
Persistence & Privilege
The skill is not always-enabled and does not request persistent platform privileges. However, it requires elevated file-read privileges (via sudo) at run time to collect system config, and it writes backups to the user's backups directory and deletes old archives. These actions are within a backup's scope but should be explicit and require user consent.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install backup-full-system-jaskies
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /backup-full-system-jaskies 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.2.0
Thêm tính năng sao lưu tập tin người dùng trực tiếp trong home dir, loại trừ file log.
v1.1.0
Cập nhật hướng dẫn cài đặt rclone và công cụ nén chi tiết.
v1.0.0
Initial release of backup-system skill. - Thực hiện sao lưu toàn bộ hệ thống OpenClaw và tải dữ liệu lên đám mây. - Hướng dẫn sử dụng script backup và quy trình chi tiết. - Cung cấp lệnh thực thi script rõ ràng. - Lưu ý về thời gian thực hiện và yêu cầu thông báo kết quả cho anh Vũ.
元数据
Slug backup-full-system-jaskies
版本 1.2.0
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 3
常见问题

Backup Full System 是什么?

Thực hiện sao lưu toàn bộ hệ thống OpenClaw (bao gồm database, cấu hình và bộ nhớ) rồi tải lên đám mây. Yêu cầu cài đặt rclone hoặc công cụ upload tương ứng. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 314 次。

如何安装 Backup Full System?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install backup-full-system-jaskies」即可一键安装,无需额外配置。

Backup Full System 是免费的吗?

是的,Backup Full System 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Backup Full System 支持哪些平台?

Backup Full System 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Backup Full System?

由 Trần Anh Vũ(@jaskies)开发并维护,当前版本 v1.2.0。

💬 留言讨论