Restore a previous point in your project and manage backups using version history in the chat.
When you’re building, you may try a change and realize the previous version worked better for your project. For example, maybe you switched a project’s color scheme and later wanted the old one back.Bolt backs up your projects in multiple ways and gives you different options for how to view version history and restore backups.
Understanding backups, restoring, and version history
Backups, restoring, and version history all work together to keep your projects safe and flexible.
Backups are saved copies of your project, created automatically or manually, so you always have something to fall back on.
Version history (which you can see using the View history button) is a timeline of changes, letting you see how your project has evolved and pick out the exact point you want to return to.
Restoring is the act of bringing back one of those saved states, whether it comes from your history, a dated backup in Project settings, or a manual download.
Having multiple backups and an easy way to switch between them means you can experiment without worrying about losing your progress. You can try out new ideas freely, knowing you can return to an earlier version at any time.
Bolt gives you flexibility with multiple backup methods. Here are the different ways you can bring a project back to an earlier state:
Version history ( ✅Recommended) – Browse, preview, label, and restore older versions of your project automatically saved by Bolt using the View history button.
Chat history – Scroll through the chat history and click the version you want to restore.
Manual Backups – Download a local copy of your project and restore it through your StackBlitz account.
GitHub Integration – Manage versioning through GitHub repositories.
This is our recommended method of restoring your projects from backup.
You can see a clear visual timeline of your backups and edit their names for clarity. You can also preview a backup before restoring it to make sure it’s the one you want.To restore a backup using version history, follow the steps below:
Open a project that you’ve made changes in.
Click View history
Review the list of versions, or search for one.
Click the version you want, which opens its preview mode.
Click Restore this version in the top-right of your screen.
Click Restore version to confirm.
After following these steps, you should see a success message in the chat history telling you that the version you selected has been restored.
Version history gives you a quick overview of your backups so you can easily pick the right one without mixing them up. However, if you already know which backup you want and it’s recent, you may find it easier to restore directly from the chatTo restore from chat, follow the steps below:
Scroll up in your chat history and find the version you want to restore.
Click Restore next to it.
Click Restore Version to confirm.
You can also click the Preview button to view a copy of that backup before choosing to restore.
You can download a copy of your site to use locally or to restore it in Bolt later.Follow these steps to export your project:
Log in to your Bolt project.
Click your project title at the top of your screen.
Click Export > Download.
This downloads a zipped folder of your project files. You can later use this file to manually restore your project by following the steps in the next section.
If you’re using the GitHub integration, you can follow the steps to Import an existing repository. This creates a new Bolt project using the files from your GitHub repository.