Skip to main content
All CollectionsBubble FeaturesVersion Control
Version Control - Creating Savepoints
Version Control - Creating Savepoints

Learn how to create savepoints for your branches using Version Control in Bubble.

Updated over 5 months ago

Transcript

The History tab of the Version Control side-panel will show you all the existing savepoints for your currently-selected branch. Savepoints allow you to take a snapshot of a branch in its current form so that later, if you ever wish to return to an earlier version of your app, you can restore your branch to a previous savepoint!

Bubble will automatically create savepoints for your branches at particular milestones of development, which include, but are not limited to: when a branch is created, right before a merge is kicked off (Base Branch), right after a merge is completed (Base Branch), before a branch is restored to a savepoint, or whenever you deploy to Live from either the Main or Hotfix branch (Main or Hotfix).

You can also create custom savepoints on your branch whenever you wish! To manually create a savepoint on a particular branch, under the History tab of the Version Control side-panel, you can click the button "Create a savepoint." You can quickly add a Description to this savepoint for future context, and just like that you have a new savepoint in your History! The UI window even has icons to help you quickly identify what triggered the creation of each savepoint, whether custom or automated.

In general, it's a good idea to create a custom savepoint whenever you could see yourself wanting to restore your branch to that particular state. Overall, we recommend you create a savepoint more often than not, since there are no limits to the number of savepoints you can create, and you can always restore back to a specific save point if you ever need to go back to a previous point in time.

Alternatively, there's also an option for you to restore to a Custom Date and Time, if, for example, instead of a particular savepoint, you just want to restore your app to 10 AM of the previous day.

Just note that branches have a retention window which dictates how far back in time you can go to restore an earlier version. If you need a longer retention window, you can upgrade to a higher tier plan.

Did this answer your question?