r/SQL • u/sqlink2 • Aug 10 '26
PostgreSQL Does Neon remove the need for Database backups?
I have been always taking backups of DB before performing any major changes, and was recently creating an app for displaying customer history retrieved from lakebase as a source.
I felt instead of taking a backup, i can just use a new branch.
This is sort of a new paradigm with databases, i come from OLTP background. Anyone else feels the same?
Apologies if this is already asked in the channel.
0
Upvotes
6
u/Haraj412 Aug 10 '26
You can only store it up to 30 days + you should not be storing all your backups on one site
5
u/Ven0mspawn Aug 10 '26
This sounds like an ad.
2
u/dwswish Aug 11 '26
Fairly heavy Neon user here. The branching capability of Neon is not a replacement for PITR and snapshots for backups. It means you don’t need to create a backup/snapshot every single time you need to make a change to schema since that’s what the branching is designed for.
1
u/National_Cod9546 Aug 11 '26
You should have 3 backups across 2 kinds of media and 1 of them off site. Also, an untested backup fails 100% of the time when you need it.
1
u/Professional-Debt401 Aug 21 '26
A branch is great for testing migrations or risky changes, but I wouldnt treat it as a backup. You still want backups/PITR for accidental deletes, corruption or anything that affects the main project itself.
I use Nearbase and still keep the automated backups there even though most DB changes are tested separately first.
3
u/teamhog Aug 10 '26
Never count on one source for your backups.
If you’ve ever had to restore anything you’ll learn that, at times, it either doesn’t work or isn’t as up to date as you thought it was.
Despite verifications things happen.
My process uses 2 separate cloud locations and one local non-cloud.
1
u/elevarq Aug 10 '26
Depends on your data strategy, not theirs.
1
u/Informal_Pace9237 Aug 11 '26
Data backup and restore testing is mandatory.
In general a LTAP branch just points to the source and doesnt create a copy.
1
u/Glitch_In_The_Data 28d ago
Branching before a big change is a great habit and it does replace the old…take a dump first.. step when dealing with Lakebase on a day to day basis. If the change does go wrong, you just need to point back to the branch or restore to an earlier point in time. I’d still keep real backups next to it though. Just remember branches live inside the same project and point in time restore only goes back as far as the history retention window.