NeonN
Neon9mo ago
1 reply
primary-violet

Confusing branches and backups. Unclear how to delete all branches

Hi! We are in quite a pickle with the neondb branches. We have 6 branches now one of them being master - the main one we use. When i'm trying to cleanup, none of the branches are letting me to delete them, it's either the "cannot delete branch that has children" or "cannot delete root". When I try to flip the default branch by using the "restore from branch" features, i end up with one more branch which is created every time I do the restore (which also cannot be deleted). I'm afraid we are stuck and unable to delete these branches and not even sure at this point how "restore from branch" functionality is meant to work without getting into such situation.

I do see the early access "backup and restore" function, however, it seems to not work with the previous backup mechanism with branches as it's not letting to create a snapshot when branches are involved. Could you please clarify how this feature is meant to be used and how would it be possible to have 1 branch and delete all the rest 🙏 I presume backups via branches are more flexible than just snapshotting, however the deletion part is unclear.
Screenshot_2025-04-20_at_21.17.09.png
Was this page helpful?