Mirrors restic repositories to Proton Drive using the official Proton Drive CLI.
71
Mirrors restic repositories to Proton Drive using the official Proton Drive CLI. Uploads start shortly after the repository changes, idle checks make no API calls, and nothing is ever deleted from the Drive.
Not affiliated with or endorsed by Proton AG.
| Tag | Description |
|---|---|
latest | Latest release. |
Architectures: linux/amd64 and linux/arm64.
services:
protondrive:
image: edwarddn/proton-drive-backup:latest
container_name: proton-drive-backup
restart: unless-stopped
environment:
TZ: UTC
DRIVE_DEST: /my-files/backup
TELEGRAM_BOT_TOKEN: ${TELEGRAM_BOT_TOKEN}
TELEGRAM_CHAT_ID: ${TELEGRAM_CHAT_ID}
volumes:
- ./config:/config
- /path/to/restic-repo-parent:/backup:ro
Authenticate once, then start:
docker compose run --rm protondrive proton-drive auth login
docker compose up -d
The session is stored encrypted in /config with a local GPG key generated on first start.
| Variable | Default | Description |
|---|---|---|
DRIVE_DEST | /my-files/backup | Destination folder in Proton Drive. |
POLL_INTERVAL | 600 | Seconds between change checks. |
CYCLE_TIMEOUT | 6h | Maximum duration of one upload cycle. |
HEALTH_WINDOW | 172800 | Seconds without success before becoming unhealthy. |
WEBHOOK_URL | Generic JSON webhook for notifications. | |
TELEGRAM_BOT_TOKEN | Telegram bot token for notifications. | |
TELEGRAM_CHAT_ID | Telegram chat that receives notifications. |
The full list is in the README.
MIT. Copyright (c) 2026 Edward.
Content type
Image
Digest
sha256:71595cfc5…
Size
94.7 MB
Last updated
19 days ago
docker pull edwarddn/proton-drive-backup