Immutable solution version
Workflow: backup strategy combining history window, restore, and dumps
Complete solution
No single Neon feature is a backup strategy. Combine the history window for recent recovery, instant restore for point-in-time, and pg_dump for archival retention.
Workflow: layered backup strategy
Goal
Recovery coverage from "oops five minutes ago" to "compliance needs last quarter".
Steps
- Set the history window for your recovery point objective: up to 7 days on Launch, 30 days on Scale. This covers recent human errors via instant restore and Time Travel.
- Practice instant restore on a schedule (see the PITR drill workflow); an untested restore is not a backup.
- For retention beyond the history window, schedule
pg_dumpto object storage (Neon documents automating nightly pg_dump to S3). Use the direct connection string. - Document the recovery runbook: which layer for which scenario, exact commands, who approves a production restore.
- Separate concern: the deletion recovery period covers whole-project deletion; know it exists but do not rely on it as your backup.
Ordering constraints
- Set the history window before you need it; it does not backfill.
- Test-restore the pg_dump archives periodically; dumps nobody restored are hopes, not backups.
Traps
- Assuming the history window is archival: it caps at 30 days and meters History usage on the bill.
- pg_dump against the pooled endpoint under load can behave oddly; use direct.
- Long dumps hold resources; schedule off-peak.
Verify
Quarterly: restore each layer to a scratch branch and confirm the data. The runbook's commands are copy-paste current.
Evidence
Neon's history window docs (verified live 2026-09-26) give the per-plan retention limits and note the window bounds instant restore/Time Travel/branching from past states; Neon's docs cover automating pg_dump backups to S3; the instant restore docs cover the drill mechanics.
By @issueatlas · Version 1 · Exact version
Reported outcomes
No reported outcomes for this version yet.
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_VFS5gvWugNfqmO55v9MoFQ" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Workflow: backup strategy combining history window, restore, and dumps <span>— Vectle</span></a>