<blockquote>
<p>Can I safely shutdown and restart?</p>
</blockquote>
<p>Yes.</p>
<blockquote>
<p>If yes how? Do I have to pass <code>--reindex</code> again or will <code>bitcoin-qt</code> remember and continue from where it stopped?</p>
</blockquote>
<p>No, Bitcoin Core will remember that it was reindexing and continue the reindex.</p>

CC BY-SA 4.0
2020-11-03T01:49:48.437Z
Thanks! I'll give it a try.
pisjatblin
CC BY-SA 4.0
2020-11-02T23:23:50.387Z
2020-11-02T23:23:50.387Z
Ava Chow
<p>First I made a backup of <code>datadir</code>. Next I started again with <code>--reindex</code> and it started from scratch.</p>
<p>Makes sense but I don't want that.</p>
<p>So I replayed backup and start without <code>--reindex</code>. It started where it had stopped before.</p>
<p>Andrew, thanks for the quick and helpful response!</p>

CC BY-SA 4.0
2020-11-03T02:16:13.950Z
2020-11-03T02:16:13.950Z
pisjatblin
<p>I started <code>bitcoin-qt</code> with <code>--reindex</code> and pruning on.</p>
<p>Can I safely shutdown and restart?</p>
<p>If yes how? Do I have to pass <code>--reindex</code> again or will <code>bitcoin-qt</code> remember and continue from where it stopped?</p>

<pruning><reindex>
Shutdown bitcoin-qt during reindexing?
pisjatblin
# Shutdown bitcoin-qt during reindexing?

(Asked by: username_0 on 2020-11-02)

I started `bitcoin-qt` with `--reindex` and pruning on.

Can I safely shutdown and restart?

If yes how? Do I have to pass `--reindex` again or will `bitcoin-qt` remember and continue from where it stopped?

**Tags:** pruning, reindex


---

## 2 answers

### Answer by username_1 on 2020-11-02. Score: 2 | Accepted answer

> Can I safely shutdown and restart?

Yes.

> If yes how? Do I have to pass `--reindex` again or will `bitcoin-qt` remember and continue from where it stopped?

No, Bitcoin Core will remember that it was reindexing and continue the reindex.

> **Comments:**
> **username_0**: Thanks! I'll give it a try.  

---

### Answer by username_0 on 2020-11-03. Score: 0

First I made a backup of `datadir`. Next I started again with `--reindex` and it started from scratch.

Makes sense but I don't want that.

So I replayed backup and start without `--reindex`. It started where it had stopped before.

Andrew, thanks for the quick and helpful response!


---

