<p>Unfortunately, I don't believe the <code>-reindex</code> option has the ability to be that smart. </p>

<p>If I were you, I would:</p>

<ol>
<li>Shutdown Bitcoin-Qt</li>
<li>Start Bitcoin-QT with the <code>-reindex</code> flag</li>
</ol>

<p>Reindexing doesn't take very long usually (maybe a few hours). 9 days is a long time to wait, it would probably be better to just start with a clean reindex. This won't delete the <code>blkxxxxx.dat</code> files, so you won't have to download all that data again at least.</p>

CC BY-SA 3.0
2015-01-20T01:44:17.603Z
Thanks! but i don't want to reindex from begin (start blk00000.dat), i want to continue index from error ! how can i do ?
jacker
CC BY-SA 3.0
2015-01-20T01:46:59.927Z
You can't. Doing what I suggested will be easier and take less time than trying to figure out how to continue from where you left off.
morsecoder
CC BY-SA 3.0
2015-01-19T17:57:46.403Z
2015-01-19T17:57:46.403Z
morsecoder
<p>While my Bitcoin-Qt was synchronizing, I ran into the following error:</p>

<p>It first loaded full blocks from blk00000.dat to blk00217.dat file (with file size about 131 MB per file). Then Bitcoin-Qt indexed everything from rev00000.dat to rev00214 (with file size about 17 MB per file), but skipped rev00215 and rev00216, and just created rev00217.</p>

<p>Now Bitcoin-Qt is stuck synchronizing with network but doesn't load more block. The block number is constant.</p>

<p>I ran Bitcoin-Qt for 9 more days. I want to keep all index data completed (to blk00214) and continue reindex from right before where the error occurred (blk00215), rather than restarting from the beginning. <strong>Is there a way to reindex from a certain point?</strong></p>

<p>Please help!</p>

CC BY-SA 3.0
2015-01-19T17:53:45.657Z
Which version of the Bitcoin-Qt software are you running?
morsecoder
<bitcoin-core><synchronization>
Is there a way to reindex from disk but not start from blk0000.dat?
jacker
# Is there a way to reindex from disk but not start from blk0000.dat?

(Asked by: username_0 on 2015-01-19)

While my Bitcoin-Qt was synchronizing, I ran into the following error:

It first loaded full blocks from blk00000.dat to blk00217.dat file (with file size about 131 MB per file). Then Bitcoin-Qt indexed everything from rev00000.dat to rev00214 (with file size about 17 MB per file), but skipped rev00215 and rev00216, and just created rev00217.

Now Bitcoin-Qt is stuck synchronizing with network but doesn't load more block. The block number is constant.

I ran Bitcoin-Qt for 9 more days. I want to keep all index data completed (to blk00214) and continue reindex from right before where the error occurred (blk00215), rather than restarting from the beginning. **Is there a way to reindex from a certain point?**

Please help!

**Tags:** bitcoin-core, synchronization

> **Comments:**
> **username_1**: Which version of the Bitcoin-Qt software are you running?  

---

## 1 answers

### Answer by username_1 on 2015-01-19. Score: 4

Unfortunately, I don't believe the `-reindex` option has the ability to be that smart.

If I were you, I would:

1. Shutdown Bitcoin-Qt
2. Start Bitcoin-QT with the `-reindex` flag

Reindexing doesn't take very long usually (maybe a few hours). 9 days is a long time to wait, it would probably be better to just start with a clean reindex. This won't delete the `blkxxxxx.dat` files, so you won't have to download all that data again at least.

> **Comments:**
> **username_0**: Thanks! but i don't want to reindex from begin (start blk00000.dat), i want to continue index from error ! how can i do ?  
> **username_1**: You can't. Doing what I suggested will be easier and take less time than trying to figure out how to continue from where you left off.  

---

