# Manage Pipeline Versions

With versions, you can try different pipeline configurations without losing your past work. Currently, versions are available for query pipelines.

***

## About This Task

Use pipeline versions to experiment with different configurations while keeping your previous work safe. Each time you make changes and save your pipeline, a new version is created. You can compare versions, restore previous configurations, and deploy specific versions when you're ready.

Versions are created automatically when you:
- Save changes in Builder
- Deploy a pipeline
- Restore a previous version

Each version includes the complete pipeline configuration and metadata about when it was created and by whom.
If you duplicate a pipeline, its version history is not copied to the new pipeline.

### Restore a Version

To restore a version:
1. When editing a pipeline in Builder, click **Versions**.
2. Find the version you want to restore, click **More Actions** next to it, and click **Restore**. 
    <ClickableImage
      src="/img/how-tos/restore-version.png"
      alt="The Versions page with the Restore button highlighted"
      size="large"
    />
3. Confirm that you want to restore the version. Your current work is saved as a new version and the restored version opens for editing.

## Deploy a Version

To deploy a previous version:
1. When editing a pipeline in Builder, click **Versions**.
2. Find the version you want to deploy, click **More Actions** next to it, and choose **Deploy**. 
    This opens a comparison view where you can check the changes between the versions.
3. Click **Deploy**. The version you're deploying opens in Builder and the version you were previously working on is saved as a new version.

## Compare Versions

To see what changed between versions:
1. In Builder, click **Versions**.
2. Choose the version you want to compare with the current version and click the **Compare** icon. The differences are highlighted in the comparison view.

## Related Information

- [Deploy a Pipeline](/docs/how-to-guides/designing-your-pipeline/deploy-a-pipeline.mdx)
