360 Secure SkillHub
360 安全技能中心

Proton Drive Backup

依托Proton Drive桌面端的隐私优先云备份工具,适配AI工作空间场景,可同步配置、草稿、媒体等文件。核心功能为按类型设置差异化保留期限,采用rsync实现增量同步,可重复运行自动清理过期文件。需依赖bash、rsync、docker及Proton Drive桌面APP,运行脚本即可完成备份,文件由APP加密上传。

nissan
nissan
热度 66.05
最近更新 2026-05-22 01:00:18
分类:自动化依赖:代码执行 / 读写文件应用场景:自动化脚本 / 工作流 / 任务管理

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add 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