360 Secure SkillHub
360 安全技能中心

Proton Drive Backup

该 Skill 提供一个 Bash 脚本,将配置、记忆文件、内容草稿、图片、音频、视频及 Docker 卷备份复制到 Proton Drive 本地同步文件夹,并按内容类型设置保留期(配置与草稿永久、记忆 60 天、图片 90 天、音频 30 天、视频 60 天、Docker 备份保留 3 份),使用 rsync 增量同步,可重复运行;需 Proton Drive 桌面应用与 rsync、doc…

分类:自动化
nissan
nissan
热度 42.25
最近更新 2026-05-22 01:00:18

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add nissan/proton-drive-backup
兼容性
通用兼容
联网要求
不联网
数据出网
必须出网
Metadata
name
proton-drive-backup
version
1.0.2
description
Automated backup to Proton Drive with age-based truncation — sync configs, memory files, content drafts, and media with configurable retention periods. Use when you need privacy-first cloud backup for AI workspaces. Requires Proton Drive desktop app.
metadata
{"openclaw":{"emoji":"☁️","requires":{"bins":["bash","rsync","docker"],"env":[]},"primaryEnv":null,"network":{"outbound":false,"reason":"Copies files to local Proton Drive sync folder. Proton Drive app handles encrypted upload separately."}}}

Proton Drive Backup

Privacy-first cloud backup via Proton Drive's local sync folder. Copies workspace files with age-based truncation to keep storage manageable.

Retention Policy

Content Type Retention Rationale
Configs (plists, JSON) Forever Small, critical
Memory files 60 days Daily notes age out
Content drafts Forever Intellectual property
Images 90 days Large, reproducible
Audio 30 days Very large, reproducible
Video 60 days Largest files
Docker backups Keep 3 Rotated

Usage

bash scripts/backup_to_proton.sh

Safe to run multiple times — uses rsync for incremental sync.

Files

  • scripts/backup_to_proton.sh — Backup script with configurable paths and retention