← 返回
效率工具 中文

Backup Manager

Manage local and cloud backups with listing, creating, restoring, scheduling, and monitoring using Time Machine, rsync, cron, and rclone integration.
使用 Time Machine、rsync、cron 和 rclone 集成,管理本地和云备份,包括列出、创建、恢复、调度和监控。
ppopen
效率工具 clawhub v1.0.0 1 版本 99871 Key: 无需
★ 0
Stars
📥 774
下载
💾 10
安装
1
版本
#latest

概述

backup-manager Skill

Manage local and cloud backups — list status, create backups, restore, monitor health.

Installation

This skill is automatically available in OpenClaw. The backup-manager CLI is located at:

~/.openclaw/workspace/skills/backup-manager/backup-manager

Commands

List Backups

backup-manager list

Lists all backups including Time Machine, configured backups, and rsync snapshots.

Create Backup

backup-manager create <name> <source> <destination>

Creates a new backup from source to destination.

Examples:

# Backup home directory
backup-manager create home /Users/pp /Volumes/Backup/home

# Backup documents
backup-manager create documents ~/Documents /Volumes/Backup/docs

# Backup to network location
backup-manager create server ~/Documents /mnt/server/backup

Check Status

backup-manager status

Shows backup status including:

  • Time Machine status
  • Last backup times
  • Disk space availability
  • Configured backup destinations

Restore from Backup

backup-manager restore <source> <destination>

Restores files from a backup location to a destination.

Examples:

backup-manager restore /Volumes/Backup/home /Users/pp

Schedule Backups

# List scheduled backups
backup-manager schedule list

# Add a schedule (cron expression)
backup-manager schedule add <backup-name> "<cron>"

# Remove a schedule
backup-manager schedule remove <backup-name>

Cron Examples:

# Daily at 2 AM
backup-manager schedule add daily-home '0 2 * * *'

# Weekly on Sundays at 3 AM
backup-manager schedule add weekly-docs '0 3 * * 0'

# Every 6 hours
backup-manager schedule add frequent '0 */6 * * *'

Cloud Backup (rclone)

# Check cloud status
backup-manager cloud status

# Sync to cloud
backup-manager cloud sync <remote-name> <local-path>

Rclone Examples:

# Configure a remote (run once)
rclone config

# Sync local folder to Google Drive
backup-manager cloud sync mydrive /Users/pp/Backup

# Sync to S3
backup-manager cloud sync s3-backup /Users/pp/Backup

Configuration

The configuration file is stored at:

~/.config/openclaw/backups.json

Structure:

{
  "backups": [
    {
      "name": "home",
      "source": "/Users/pp",
      "destination": "/Volumes/Backup/home",
      "last_run": "2024-01-15T02:00:00-08:00"
    }
  ],
  "schedules": [
    {
      "name": "schedule-1",
      "backup_name": "home",
      "cron": "0 2 * * *"
    }
  ],
  "cloud": {
    "rclone": {
      "enabled": false,
      "remote": ""
    }
  }
}

Requirements

The skill uses these macOS/Unix tools (installed by default on macOS):

  • rsync - File synchronization
  • tmutil - Time Machine (macOS)
  • diskutil - Disk management (macOS)
  • jq - JSON parsing
  • rclone - Cloud sync (optional, install via brew install rclone)

If a tool is missing, the skill handles it gracefully and provides warnings.

Features

  1. Time Machine Integration - Detects and manages Time Machine backups
  2. Rsync Backups - Efficient incremental backups using rsync
  3. Cron Scheduling - Schedule recurring backups via cron
  4. Cloud Support - rclone integration for cloud backups (S3, GDrive, etc.)
  5. Config Management - JSON-based configuration with backup history

Notes

  • Backups are incremental by default (rsync -a)
  • The skill prompts for confirmation before restoring
  • Use absolute paths for reliability
  • Ensure backup destinations have sufficient disk space

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-30 18:22 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

productivity

Word / DOCX

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

Nano Pdf

steipete
使用nano-pdf CLI通过自然语言指令编辑PDF
★ 275 📥 114,919
ai-intelligence

Docker Manager

ppopen
{ "answer": "Docker 容器生命周期管理。使用场景:用户请求列出容器、启动/停止容器、查看日志、检查统计信息、清理未使用的容器或镜像..." }
★ 0 📥 792