N
Neon2y ago
exotic-emerald

Our primary branch "main" now has parent "main_old"

As background we are new to Neon. We have several projects (development, staging, production) and in each project we have several branches. We just noticed that for development project the "main" branch which is marked "primary" now has a parent branch named "main_old_2024-04-29T21:29:39.677Z". I am trying to understand what created this "main_old" branch and if it is a side-effect of the way we are using Neon. Notes: 1. We currently have 23 branches 2. We create a branch for each PR that is opened and then remove the branch when the PR is closed. 3. We create a branch for each developer to be used for local development, these are long lived branches https://console.neon.tech/app/projects/raspy-band-27679519/branches
2 Replies
harsh-harlequin
harsh-harlequin2y ago
The _old_$TIMESTAMP suggests that you performed a Restore operation on the main branch. https://neon.tech/docs/guides/branch-restore#automatic-backups
Neon
Branch Restore - Neon Docs
With Neon's branch restore capability, you can easily restore a branch to an earlier state in its own or another branch's history. You can use Time Travel Assist to connect to a specific point in your...
exotic-emerald
exotic-emeraldOP2y ago
thank you! i just confirmed with an engineer that they did in fact restore our main branch.

Did you find this page helpful?