Use roll backs if you decide you want to go back to an earlier point in the project and then continue working from there. For example: you ask the AI to make a major change to the look and feel, but decide you don’t like it. You can now either try to undo all the changes (which could be complicated, especially if you made a lot of changes at once), or you can go back (roll back) to the point in your project before the changes were introduced, and start over from that point.

Roll back to a previous point in your project

To go back to a previous point in your project:

  1. In your project, scroll back up through the chat to the message point that you want to restore your project to.
  2. Click Rollback to Checkpoint.

Create backups

Backing up your project has several purposes:

  • Bolt uses the automated backups to provide rollbacks.
  • Having a copy of the project outside Bolt means your work is safe, even if something goes wrong in Bolt.
  • Backing up is the first step in other processes, such as creating a fresh project from an existing one.

There are two types of backup:

  • Bolt creates automatic backups of your project every time you send a message. You can use these to Restore from backup.
  • Manual backups, created and managed by you.

To manually backup your project, you can download a copy, or use the GitHub integration to back up your project in GitHub.

Restore from an automatic backup

To restore from a backup:

  1. Open the Bolt menu by hovering over the left of the screen.
  2. Click Settings > Backups.
  3. Click Load on the timestamp you want to restore. This creates a new version of your project, using the backup, without erasing the current version.

Restore from a downloaded copy

You can create a new project from a downloaded copy of your Bolt project:

  1. Log in to your StackBlitz account.
  2. Create a new empty project:
  3. In your StackBlitz account, go to Projects.
  4. Click + New.
  5. Create a new project. It doesn’t matter what type you choose, as you’ll delete the contents.
  6. Delete all the files in the project.
  7. On your computer, unzip the downloaded copy of your Bolt project.
  8. Drag and drop the files from your download into the StackBlitz IDE.
  9. Click Save.
  10. Click Open in bolt.new | AI to open the new project in Bolt.

Restore from GitHub

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.