# How to reparse counterblock database?

**URL:** <https://forums.counterparty.io/t/how-to-reparse-counterblock-database/1199>\
**Category:** FAQ\
**Created:** [May 23, 2015, 10:37am UTC](https://forums.counterparty.io/t/how-to-reparse-counterblock-database/1199 "2015-05-23T10:37:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![something](https://yyz2.discourse-cdn.com/flex004/user_avatar/forums.counterparty.io/something/32/240_2.png) [@something](https://forums.counterparty.io/u/something)\
**Post date:** [May 23, 2015, 10:37am UTC](https://forums.counterparty.io/t/how-to-reparse-counterblock-database/1199/1 "2015-05-23T10:37:33Z")

</div>

The procedure is very similar to counterparty database reparse.

Example for counterblock mainnet on Federated Node is given below. For testnet modify the name of counterblock command(s) and specify the right the configuration file.

```auto
$ sudo sv stop counterblock[-testnet]
$ sudo su -s /bin/bash -c 'counterblock --config-file /home/xcp/.config/counterblock/server.[testnet.]conf -v --reparse' xcpd
$ sudo sv start counterblock[-testnet]

```

This can take a long time (30+ mins just for testnet), but with counterblock you can actually stop the reparse with `CTRL+C` after couple of mins and start counterblock service.

Reparse will continue in the background.
