How to back up Amazon RDS Postgres to Wasabi
RESTORE-TESTED · ENCRYPTED · IN A BUCKET YOU OWN
Amazon RDS keeps your database running, but its snapshots live in the same account and region as the database itself. An off-site copy in your own Wasabi bucket protects you from the failures the platform can't: a bad migration, a locked account, or a compliance question you need a real answer to. Here's how to set it up in a few minutes — and, crucially, how to know the backup actually restores.
Step 1 — Get your Amazon RDS connection string
AWS Console → RDS → your database → Connectivity & security → Endpoint, with the master username you set.
The RDS security group must allow inbound Postgres (port 5432) from the backup service — email support for the current egress IP to allowlist. Mark the instance publicly accessible, or run it where it can accept the connection.
A read-only role is all you need. The exact CREATE ROLE SQL is on the security page.
Step 2 — Create a Wasabi bucket and access keys
- In the Wasabi console, create a bucket (keep it private).
- Create an access key pair under Access Keys.
- Copy the access key, secret key, and the regional endpoint for your bucket.
Create an access key in the Wasabi console. Wasabi is fully S3-compatible with flat pricing and no egress fees.
Endpoint: https://s3.<region>.wasabisys.com Region: your bucket's region, e.g. us-east-1 Bucket: your-backup-bucket
Step 3 — Connect it to OffsiteDB
Paste the Amazon RDS connection string, add Wasabi as your destination with the bucket and keys from Step 2, and choose a schedule (hourly to daily). OffsiteDB tests the connection, then runs pg_dump, gzips and seals the artifact with AES-256-GCM, and ships it to your bucket. Standard Postgres; a read-only role scoped to your schemas is all that's needed.
Step 4 — Know it restores (the part everyone skips)
Every snapshot is restore-drilled: OffsiteDB restores it into a throwaway Postgres cluster and counts the rows before marking it sealed. When you need it back, every artifact is a standard custom-format dump:
gunzip -c rds-db_2026-06-09.dump.gz \ | pg_restore -d "$NEW_DATABASE_URL" --clean --if-exists
You also get a monthly Restore Drill Report with tested restore times — the document you forward when someone asks “are your backups tested?”