← Back to Skills Marketplace
jaskies

Backup Full System

by Trần Anh Vũ · GitHub ↗ · v1.2.0 · MIT-0
cross-platform ⚠ suspicious
314
Downloads
0
Stars
1
Active Installs
3
Versions
Install in OpenClaw
/install backup-full-system-jaskies
Description
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.
README (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.
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install backup-full-system-jaskies
  3. After installation, invoke the skill by name or use /backup-full-system-jaskies
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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ũ.
Metadata
Slug backup-full-system-jaskies
Version 1.2.0
License MIT-0
All-time Installs 1
Active Installs 1
Total Versions 3
Frequently Asked Questions

What is 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. It is an AI Agent Skill for Claude Code / OpenClaw, with 314 downloads so far.

How do I install Backup Full System?

Run "/install backup-full-system-jaskies" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Backup Full System free?

Yes, Backup Full System is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Backup Full System support?

Backup Full System is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Backup Full System?

It is built and maintained by Trần Anh Vũ (@jaskies); the current version is v1.2.0.

💬 Comments