AWS S3 OUT:
$87–$90/TB
VERCEL OVERAGE:
$150/TB
GCP APAC:
$122/TB
ZFS SLICE FLOOR:
$6.00/TB
RATE BASELINE: 2026-11-12
EgressZero Cloud Bandwidth, S3 Storage & Egress Escape Dossier VI · Bản Tiếng Việt

PostgreSQL Continuous pgBackRest & ZFS Archive: EgressZero Cross-Cloud PITR Dossier

Write-intensive OLTP PostgreSQL clusters generate hundreds of gigabytes of Write-Ahead Logs (WAL) per day. Retaining 35-day Point-in-Time Recovery (PITR) windows on AWS RDS backup storage plus cross-region S3 replication adds $650–$1,800/mo in our EgressZero equations—whereas streaming Zstd-compressed `pgBackRest` archives to an independent ZFS Storage Slice cuts retention spend by ~90%.

EgressZero FinOps Note: Independent-ASN PITR vaults survive even catastrophic cloud IAM account lockouts.

EGRESSZERO SIZING VERDICT

For an 8 TB fintech PostgreSQL cluster running daily DR clone verification, EgressZero calculates $14,160/yr saved by pairing Zstd WAL shipping with a $60.00/mo InterServer 10 TB ZFS slice instead of $1,240/mo in cross-region cloud backup charges.

EgressZero pgBackRest Zstd-Compressed Offsite Repository Configuration

# /etc/pgbackrest/pgbackrest.conf
[global]
repo1-type=s3
repo1-s3-endpoint=s3-vault.yourdomain.internal
repo1-s3-bucket=pg17-pitr-prod
repo1-cipher-type=aes-256-cbc
repo1-retention-full=4
repo1-retention-diff=14
compress-type=zst
compress-level=3
process-max=8
archive-async=y

EgressZero Production Cutover Checklist for POSTGRES

  • Enable `archive-async=y` with a local NVMe `spool-path` so transient WAN jitter never stalls PostgreSQL `archive_command` WAL recycling.
  • Tune receiving OpenZFS pools with `recordsize=128K` and `compression=lz4`, then automate nightly `pgbackrest --type=incr` + restore verification.
  • Host the PITR vault under a separate provider and billing credential from primary compute for true disaster isolation.
EgressZero chart (postgres-wal-archive): 1 TB to 50 TB/mo outbound bandwidth cost slope comparing AWS S3, Vercel, and fixed-pipe servers
Fig 1 (EgressZero): Metered AWS S3 ($87/TB) and Vercel ($150/TB) invoices scale linearly while fixed-pipe NVMe/ZFS servers stay flat.
EgressZero diagram (postgres-wal-archive): zero-downtime S3 repatriation pipeline using staged rclone sync and 60s DNS TTL cutover to MinIO
Fig 2 (EgressZero): Background rclone sync plus a 60-second DNS endpoint flip migrates S3 buckets to MinIO without dual-billing spikes.
EgressZero architecture (postgres-wal-archive): NGINX 4 MB byte-range NVMe slice caching shielding bulk ZFS and RAID media arrays
Fig 3 (EgressZero): NGINX 4 MB slice caching absorbs 94%+ of HTTP 206 byte-range pulls on NVMe before touching bulk ZFS spindles.
EgressZero topology (postgres-wal-archive): continuous PostgreSQL WAL and Restic backup replication onto $6/TB Price-Lock ZFS with $0 restore fees
Fig 4 (EgressZero): Encrypted pgBackRest and Restic streams onto $6/TB ZFS slices enable weekly full-restore DR drills with $0 egress fees.

EgressZero Scale-by-Scale TCO Ledger (postgres-wal-archive)

Dataset & Monthly Egress Tier Metered Cloud Bill Matched Fixed-Pipe Host 12-Month Net Retained
2 TB OLTP DB + 14-Day WAL Stream $395 / mo (RDS Backup + Cross-Region) $18.00 / mo (InterServer 3TB Slice) $4,524 / yr
8 TB FinTech DB + Daily DR Clone Verification $1,240 / mo $60.00 / mo (InterServer 10TB Slice) $14,160 / yr
18 TB Analytics Cluster + Multi-Region Standby $2,610 / mo $119.00 / mo (Dedicated 20TB ZFS) $29,892 / yr
Modeled by EgressZero Editorial using published 2026-11-12 vendor rate schedules; live promotional rates remain subject to change.

EgressZero Repatriation Thresholds for postgres-wal-archive

Choose Hyperscaler S3 / Managed CDN (EgressZero Rule) If:

  • Your RDS instance is under 100 GB (covered by free 1:1 automated backup quota) and requires zero cross-provider survivability.

Choose Unmetered / Fixed-Pipe VPS (EgressZero Rule) If:

  • Database size exceeds 1 TB, daily WAL churn is high, or QA/compliance requires spinning up frequent full-size staging clones at $0 egress.

EgressZero Engineering FAQ: postgres-wal-archive

How does EgressZero account for primary EC2 outbound egress when shipping WAL offsite?

Primary cloud egress applies only once on the Zstd-compressed WAL stream (typically 3x–4x smaller than raw 16 MB segments), whereas all 30-day retention, differential merges, QA staging clones, and full DR test restores execute at $0 egress on the fixed-pipe vault.

Why do EgressZero database blueprints pair PostgreSQL PITR with OpenZFS copy-on-write slices?

OpenZFS instant snapshots (`zfs clone`) let engineering teams provision an isolated, writable 5 TB staging PostgreSQL instance in under 2 seconds without duplicating underlying storage blocks.

EgressZero Pick: InterServer Zero-Egress Pipe InterServer Price-Lock Storage Slices & 20TB+ Dedicated · $6/mo
Inspect via EgressZero ↗