Releases And Snippets

Branch Merge Update | Backup and Roll Back

Summary

In the ever-evolving world of application development, having the ability to experiment and make changes with confidence is crucial. That's why we at Xano are thrilled to introduce our latest update to the Branch Merge feature – the ability to backup your destination branch before merging and quickly roll back to that backup if needed.

Step-by-Step Guide

Let's dive right in and explore how to use this powerful new feature:

  1. Create a New Branch: From your workspace, create a new branch by clicking the "Create Branch" button. Give your branch a descriptive name, such as "V2" or "feature-xyz".
  2. Make Changes to Your Branch: Navigate to the API endpoint or data model you want to modify, and make the necessary changes. For example, you can add a new "Create Variable" step to an API endpoint.
  3. Publish Your Changes: Once you've made your modifications, don't forget to publish your changes to the new branch.
  4. Merge Branches: With your changes ready, open the Branches panel and click on "Merge Branches". Select your source branch (e.g., "V2") and your destination branch (e.g., "V1").
  5. Backup the Destination Branch: Before merging, you'll now see an option to "Backup the destination branch". Check this box to create a full backup of your destination branch prior to the merge.
  6. Publish the Merge: Click the "Publish" button to initiate the merge process. Xano will merge your changes from the source branch into the destination branch, while also creating a backup of the destination branch's pre-merge state.
  7. View Backups: After the merge is complete, you can view the backup by checking the "Include Backups" option in the Branches panel. This will display the backup of your destination branch before the merge took place.
  8. Roll Back if Needed: If you need to revert to the pre-merge state of your destination branch, simply click on the backup branch in the Branches panel. From there, you can either edit the backup or set it live, effectively rolling back your changes.

By incorporating this backup and rollback functionality into our Branch Merge feature, Xano empowers you with the confidence to experiment and make changes without the fear of irreversible mistakes. Whether you're a no-code enthusiast, a citizen developer, a traditional developer, or a startup/small business, this update ensures a seamless and stress-free development experience.

Conclusion

We hope this new feature gives you the peace of mind you need when working with the Branch Merge feature in Xano. Remember, if you have any questions or need further assistance, you can leave a comment below, reach out to us in the Xano community, or contact our support team through the chat in Xano.

Happy building!

This transcript was AI generated to allow users to quickly answer technical questions about Xano.

Was this helpful?

I found it helpful

I need more support
Sign up for XanoSign up for Xano

Build without limits on a secure, scalable backend.

Unblock your team's progress and create a backend that will scale for free.

Start building for free