# Exporting a Forecast Version

**Export** takes a forecast version's numbers out of Galdera. You can download them as CSV files, publish them to the export tables in your warehouse that downstream integrations read, or both.

Exporting is a separate step from locking: locking sets the official baseline inside Galdera, and exporting is how that locked data leaves Galdera.

## What gets exported

An export contains the version's **locked set**:

* The version's **locked baseline** run.
* Every **locked** overlay on the version whose run was computed against that same locked baseline. An overlay locked against an older baseline is not part of the locked set and is skipped.

## Before you start

* The version has a locked baseline. With nothing locked, export is unavailable. See [Locking a Forecast Version](/forecasting/saving-forecasts).
* Lock every overlay you want included, after its run against the current baseline completes.

## Export a version

1. Open the forecast version.
2. Open the toolbar's overflow menu and select **Export forecast…**. The **Export forecast** dialog opens.
3. Select **Download CSV files**, **Publish to warehouse**, or both. You must pick at least one.
   * **Download CSV files** gives you the numbers as files to download from the dialog.
   * **Publish to warehouse** writes the locked forecast to your export tables, where downstream integrations pick it up.
4. If you are downloading CSV files, optionally narrow the forecast window with **Forecast window start** and **Forecast window end**. The window defaults to the version's full horizon and applies to the CSV files only.
5. Click **Export**. Progress shows in the dialog. Closing the dialog doesn't stop the export, and the menu item reads **Exporting…** while it runs.
6. When the export finishes, the dialog confirms the warehouse publication. If you asked for files, it lists one download per source plus **Download all (.zip)** for everything in one file.

If the export fails, the dialog explains why and offers **Retry export**, which re-runs the same request.

## Reopen an export and its files

* The page address changes while the dialog is open. Opening that link, or reloading the page, reopens the same export and its downloads.
* Files from a completed export stay available for 30 days after the export runs. Nothing extends that period: reopening the dialog, downloading a file, and requesting the same export again all reuse the existing files.
* If you export again after 30 days, you get new files with a new 30-day period.
* Exported runs are marked in the version's run history.

## Export does not freeze the version

After exporting, you can still unlock, re-run, re-lock, and export again. Each export reflects the locked set at the moment you start it. If you change locks after exporting, the published data is out of date until you export again.
