Repository Presets
VPS + PostgreSQL Hook to InterServer $6/TB Storage Slice
Stream consistent PostgreSQL custom-format dumps and /etc configs over SSH into a 1-Slice or 2-Slice InterServer Borg target with zero S3 egress fees.
2M Chunks · ~385 MB Peak RAM · $6-$12/mo Slice
Why Database VPS Nodes Need Native SSH borg serve
Pushing PostgreSQL backups over raw SFTP or S3 forces the database host to pull and rewrite remote index segments during maintenance. Pointing Borgmatic at an InterServer Storage Slice executes borg serve natively over SSH so compaction stays local on the storage slice.
Eliminating Temp Dump Disk Exhaustion
Using Borgmatic postgresql_databases with format: custom pipes pg_dump straight into Borg's deduplicating chunker. Even a 40 GB database never writes an extra 40 GB temporary .sql file on your production Vultr NVMe volume.
Measured Thresholds & Borgmatic Configuration
| Parameter | Recommended Setting | Operational Benefit |
|---|---|---|
| Compression | zstd,3 | 265 MB/s stream with ~1.78x shrinkage on SQL + app files |
| Retention Policy | keep_daily: 14 / keep_weekly: 8 / keep_monthly: 6 | Balances 6-month audit rollback against chunks.archive.d RAM |
| Database Hook | postgresql_databases: name: all / format: custom | Streams logical pg_dump directly into Borg named pipe without disk bloat |
| Off-Site Target | InterServer 1-2 Slice ($6-$12/mo) | Native borg serve SSH execution with instant borg mount recovery |