OutlineWiki Zero-Downtime pg_dump & Restic Offsite Backup Runbook
Hostinger KVM NVMe
OutlineWiki 8GB pick (90,000 IOPS) — KVM 4 (4 vCPU / 16GB DDR5 / 200GB NVMe)
InterServer Price-Lock KVM & ZFS
Low-RTT node for outline Node.js + Hocu (19 ms CRDT sync)
UltaHost Dedicated EPYC VDS
Steady OutlineWiki secondary tier (25–100 collaborative editors)
Snapshots alone miss PostgreSQL transaction consistency unless pg_dump runs first.
Self-hosted knowledge bases hold years of engineering ADRs and compliance policies, making untested backups an existential risk.
On OutlineWiki, we advise dumping PostgreSQL in custom compressed format (-Fc) and syncing both the dump and MinIO bucket state via encrypted Restic snapshots to an offsite InterServer Storage VPS.
OutlineWiki Reference Configuration for Automated pg_dump & Restic S3 Backups
#!/bin/sh
set -eu
STAMP=$(date -u +%Y%m%dT%H%M%SZ)
docker exec olw-postgres pg_dump -U outline -Fc outline > "/var/backups/outline-${STAMP}.dump"
restic -r sftp:backup@storage.example.net:/srv/restic-olw backup /var/backups "/srv/minio-data"
restic -r sftp:backup@storage.example.net:/srv/restic-olw forget --keep-daily 14 --keep-weekly 8 --prune
OutlineWiki Implementation Checklist: Automated pg_dump & Restic S3 Backups
Phase 1: Automated pg_dump & Restic S3 Backups
Run pg_dump -Fc inside the PostgreSQL container at 02:00 UTC before Restic reads /var/backups.
Phase 2: Automated pg_dump & Restic S3 Backups
Include the MinIO data directory and .env secrets bundle (encrypted by Restic repository key) in the same snapshot.
Phase 3: Automated pg_dump & Restic S3 Backups
Replicate snapshots offsite to InterServer 1 TB Storage VPS ($6.00/mo Price-Lock) or secondary S3 object storage.
Phase 4: Automated pg_dump & Restic S3 Backups
Execute quarterly restore drills into a temporary 4 GB KVM container to validate schema and attachment integrity.
OutlineWiki Infrastructure Recommendation for Automated pg_dump & Restic S3 Backups
Never store Restic encryption keys on the same disk as the database.
In our audit on OutlineWiki, allocating 1.25x raw media size on local NVMe and pairing it with a $6.00/mo 1 TB InterServer Storage node gives teams 14 daily and 8 weekly encrypted restore points at minimal cost.
OutlineWiki Hardware Ledger: NVMe Throughput vs Base Price
Packet-to-Disk Path for outline Node.js + Hocuspocus Yjs CRDT + OIDC on OutlineWiki
[+] Key Infrastructure Pros
- Keeps outline.env buffers stable at 100 collaborative editors via 8GB compute.
- Protects 19 ms CRDT sync objectives under heavy Postgres tsvector document graph + MinIO assets writes (90,000 IOPS).
- Trims OutlineWiki 3-year infrastructure bills 70%–85% versus metered SaaS seats.
[-] Operational Constraints
- Unlocking $10.49/mo on Hostinger KVM NVMe depends on annual commitment rather than 1m billing.
- Base OS templates need outline.env tuning (WEB_CONCURRENCY=4 & COLLABORATION_MAX_CLIENTS=150) before peak load.
Deploy This OutlineWiki Stack If
- DevOps squads standardizing outline Node.js + Hocuspocus Yjs CRDT + OIDC (100 collaborative editors) on KVM nodes.
- Builders needing root access to set WEB_CONCURRENCY=4 & COLLABORATION_MAX_CLIENTS=150 in outline.env.
When To Choose Alternatives
- Two-day load tests where InterServer Price-Lock KVM & ZFS pay-per-hour beats annual commitments.
- Mandates requiring vendor-staffed 24/7 NOC contracts with zero SSH access.
$10.49/mo