> ## Documentation Index
> Fetch the complete documentation index at: https://docs.useshipd.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Publish a snapshot

> Rebuild the environment snapshot from Postgres and push it to the data plane.

## Overview

Normal `shipd push` / dashboard saves already enqueue a snapshot publish. Use this when a publish failed or you need a forced rebuild.

## Command

```bash theme={null}
shipd snapshots publish --project web-app --env production
```

```text theme={null}
Published production v42 (4 flags) → snapshots/{environmentId}/current.json
```

The API also drains pending outbox rows on a background interval. This command is the manual retry.

See [Snapshots](/concepts/snapshots) and [CLI reference](/reference/cli).
