DBDriveSync
Cross-platform automated PostgreSQL backup orchestration engine with encrypted snapshot upload to Google Drive.
- Python
- PostgreSQL
- Google Drive API
- Linux cron
- GPG
- Bash
- 3platforms: Linux, macOS, Windows
- 0unencrypted copies off-site
unmanaged cron scriptsdisk space exhaustion on local servers
atomic encrypted snapshot streamzero local disk leaks
unencrypted off-site backupscompliance violations & security risks
automated Google Drive syncclient-side encrypted off-site disaster recovery
manual backup verificationsilent failure of backup scripts
webhook telemetryinstant alert on backup completion or failure
What it does
Lightweight, production-grade backup automation utility for PostgreSQL databases across Linux, macOS, and Windows environments.
Generates compressed database dumps, applies client-side AES/GPG encryption, enforces automated retention policies (daily, weekly, and monthly snapshot rotation), and streams encrypted archives atomically via Google Drive API.
Engineered with zero external daemon dependencies, resilient retry with exponential backoff on transient network failures, and execution telemetry via webhooks.