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

# Backfill full market history

> Load a past block range of decoded Polymarket events into your own Postgres or Redpanda.

Load a market's full history into your own database. [Indexing & Backfilling](/indexing/overview) writes Radion's decoded Polymarket events straight into your Postgres or pushes them to your Redpanda topics. You do not run an indexer yourself.

<Note>
  Indexing & Backfilling is on the **Enterprise** plan, on demand. Radion sets
  up the pipeline for you from the scope you choose below.
</Note>

## What you get

Decoded, typed events across Polymarket — trades, positions, holders, and resolutions. The full event list is in [Onchain Data](/concepts/onchain-data).

## 1. Choose the scope

Pick what you receive, so you store only what you need:

| Option       | What it does                                    |
| ------------ | ----------------------------------------------- |
| Contracts    | Keep only certain Polymarket contract addresses |
| Event topics | Keep only the event types you choose            |
| Block range  | Set the start and end of the backfill           |

For one market's full history, scope to its contracts and set the block range from the market's first block to now.

## 2. Pick a destination

| Destination  | What happens                                                   |
| ------------ | -------------------------------------------------------------- |
| **Postgres** | Radion makes the schema and writes rows, with upsert and dedup |
| **Redpanda** | Radion pushes decoded events to your topics, in order          |

## 3. How the backfill runs

* **Backfill** loads the past block range in one pass. If it stops, it resumes where it left off instead of starting over.
* **Live sync** takes over once the backfill reaches the tip and keeps your data current as new blocks land.

You can run backfill and live sync at the same time with no double rows.

## What Radion promises

* **Reorg-safe.** When the chain rewrites a block, Radion fixes the affected rows so your data lands on the canonical chain.
* **No duplicates.** Every row is keyed by `(chain_id, block_number, log_index)`. Re-sending a row overwrites it.
* **In order.** Events arrive in block and log order per stream.

## Get access

Choose **Get Enterprise Plan** on the [landing page](https://www.radion.app) or in the [dashboard](https://radion.app/dashboard). Tell Radion the scope (contracts, topics, block range) and destination you want, and the pipeline gets set up for you.

## Next steps

<Columns cols={2}>
  <Card title="Indexing & Backfilling" icon="database" href="/indexing/overview">
    The full pipeline, promises, and scope options.
  </Card>

  <Card title="Onchain Data" icon="book-open" href="/concepts/onchain-data">
    Every decoded event you can receive.
  </Card>
</Columns>
