<p>You can use the official snapshots, provided by IOHK. Just restore them after setting up the database.</p>
<p>They are usually linked in the release description on Github: <a href="https://github.com/input-output-hk/cardano-db-sync/releases" rel="nofollow noreferrer">https://github.com/input-output-hk/cardano-db-sync/releases</a></p>
<p>You will find a link to the list of snapshots, grouped by schema version.</p>
<p>As of today, the current schema version is 11 and the list of snapshots are listed here: <a href="https://update-cardano-mainnet.iohk.io/cardano-db-sync/index.html#11/" rel="nofollow noreferrer">https://update-cardano-mainnet.iohk.io/cardano-db-sync/index.html#11/</a></p>

CC BY-SA 4.0
2021-10-26T11:03:08.460Z
2021-10-26T11:03:08.460Z
LACE pool
<p>You cannot dump the PostgreSQL directly, as <code>cardano-db-sync</code> depends on other states as well.</p>
<p><a href="https://github.com/input-output-hk/cardano-db-sync/blob/master/doc/state-snapshot.md" rel="nofollow noreferrer">You need to use the <code>cardano-db-tool</code></a> to take and restore the snapshot.</p>

CC BY-SA 4.0
2021-09-05T13:06:39.070Z
2021-09-05T13:06:39.070Z
Marek Mahut - StakeNuts
<p>Db-sync takes about 48 hours to follow the tip, starting from a fresh installation fully. Is there a way to improve the sync time? Is it possible to dump the database and transfer it to a fresh installation?</p>

<cardano-db-sync>
Can we dump database of db-synch and use it for initialising a fresh db-synch instance?
# Can we dump database of db-synch and use it for initialising a fresh db-synch instance?

(Asked by: username_0 on 2021-09-05)

Db-sync takes about 48 hours to follow the tip, starting from a fresh installation fully. Is there a way to improve the sync time? Is it possible to dump the database and transfer it to a fresh installation?

**Tags:** cardano-db-sync

---

## 2 answers

### Answer by username_1 on 2021-10-26. Score: 1 | Accepted answer

You can use the official snapshots, provided by IOHK. Just restore them after setting up the database.

They are usually linked in the release description on Github: <https://github.com/input-output-hk/cardano-db-sync/releases>

You will find a link to the list of snapshots, grouped by schema version.

As of today, the current schema version is 11 and the list of snapshots are listed here: <https://update-cardano-mainnet.iohk.io/cardano-db-sync/index.html#11/>


---

### Answer by username_2 on 2021-09-05. Score: 1

You cannot dump the PostgreSQL directly, as `cardano-db-sync` depends on other states as well.

[You need to use the `cardano-db-tool`](https://github.com/input-output-hk/cardano-db-sync/blob/master/doc/state-snapshot.md) to take and restore the snapshot.


---

