<p>Start <code>bitcoin-qt</code> with the <code>-choosedatadir</code> option. You'll get first startup dialog again. Uncheck pruning there if it is checked and make sure the datadir is pointed to where you want it to point to. Once you click OK, double check the settings that pruning is disabled. Then check for a bitcoin.conf file in your datadir. If it is not there, you are fine. If it is, make sure it does not have have a <code>prune=</code> line.</p>

<p>Bitcoin Core does not prune by default, but recent changes to the Choose a Data Directory dialog may automatically enable pruning.</p>

CC BY-SA 4.0
2020-02-12T20:32:19.057Z
I tried to start bitcoin-qt with -choosedatadir at the CLI on my Mac but my Mac refused to run the command for security reasons. How else can I run it? I will try to remove my external drive to force that window to show up.
Sameh Ramzy Labib
CC BY-SA 4.0
2020-02-12T20:40:01.393Z
I managed to get the "Choose Data Directory" window to show up and I unchecked pruning. But, will I have to uncheck it every time or will it remember?
Sameh Ramzy Labib
CC BY-SA 4.0
2020-02-12T21:30:42.530Z
It should remember it now.
Ava Chow
CC BY-SA 4.0
2020-02-14T03:15:45.950Z
Yes I think it did because the next time I saw the Welcome dialog box there was no more checkbox for pruning. Thanks!
Sameh Ramzy Labib
CC BY-SA 4.0
2020-02-11T17:51:10.153Z
2020-02-11T17:51:10.153Z
Ava Chow
<p>Bitcoin core v0.19.0.1 automatically prunes. I keep loosing the blockchain. How can I stop this?</p>

<p>I went into preferences and I de-selected the pruning. I also added the line prune=0 to bitcoin.conf. And in spite of all that when I booted my computer after a power outage Bitcoin Core desktop pruned my copy of the blockchain. At first when I booted my Mac Bitcoin Core showed me a screen asking me for the filesystem location for Bitcoin. I had to mount the USB external disk and enter its encryption password. As soon as I confirmed the file location it took it upon itself to prune. This problem is not limited to power outages. When I upgrade to the next version of the software it prunes again. How can I put a stop this?</p>

CC BY-SA 4.0
2020-02-07T23:28:10.330Z
possible duplicate of https://bitcoin.stackexchange.com/questions/92249/bitcoin-core-v0-19-0-1-automatically-prunes
Chan-Ho Suh
CC BY-SA 4.0
2020-02-08T01:08:20.843Z
I'm aware of a GitHub issue related to this where the developers claim to have added a checkbox on the welcome dialog box for whether to prune or not. However, I do not recall seeing that checkbox. Also, there is no way for me to summon that dialog box. It only shows up when I start the software and it can't find the Bitcoin directory where it expects it to be.
Sameh Ramzy Labib
CC BY-SA 4.0
2020-02-09T10:21:14.510Z
Please post the debug.log file.
Ava Chow
CC BY-SA 4.0
2020-02-09T20:54:02.230Z
@AndrewChow https://www.dropbox.com/s/81v5q3wzdtnk9pz/debug.log?dl=0
Sameh Ramzy Labib
<bitcoin-core><pruning>
Bitcoin core v0.19.0.1 automatically prunes. I keep loosing the blockchain. How can I stop this?
Sameh Ramzy Labib
# Bitcoin core v0.19.0.1 automatically prunes. I keep loosing the blockchain. How can I stop this?

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

Bitcoin core v0.19.0.1 automatically prunes. I keep loosing the blockchain. How can I stop this?

I went into preferences and I de-selected the pruning. I also added the line prune=0 to bitcoin.conf. And in spite of all that when I booted my computer after a power outage Bitcoin Core desktop pruned my copy of the blockchain. At first when I booted my Mac Bitcoin Core showed me a screen asking me for the filesystem location for Bitcoin. I had to mount the USB external disk and enter its encryption password. As soon as I confirmed the file location it took it upon itself to prune. This problem is not limited to power outages. When I upgrade to the next version of the software it prunes again. How can I put a stop this?

**Tags:** bitcoin-core, pruning

> **Comments:**
> **username_1**: possible duplicate of https://bitcoin.stackexchange.com/questions/92249/bitcoin-core-v0-19-0-1-automatically-prunes  
> **username_0**: I'm aware of a GitHub issue related to this where the developers claim to have added a checkbox on the welcome dialog box for whether to prune or not. However, I do not recall seeing that checkbox. Also, there is no way for me to summon that dialog box. It only shows up when I start the software and it can't find the Bitcoin directory where it expects it to be.  
> **username_2**: Please post the debug.log file.  
> **username_0**: @AndrewChow https://www.dropbox.com/s/81v5q3wzdtnk9pz/debug.log?dl=0  

---

## 1 answers

### Answer by username_2 on 2020-02-11. Score: 1

Start `bitcoin-qt` with the `-choosedatadir` option. You'll get first startup dialog again. Uncheck pruning there if it is checked and make sure the datadir is pointed to where you want it to point to. Once you click OK, double check the settings that pruning is disabled. Then check for a bitcoin.conf file in your datadir. If it is not there, you are fine. If it is, make sure it does not have have a `prune=` line.

Bitcoin Core does not prune by default, but recent changes to the Choose a Data Directory dialog may automatically enable pruning.

> **Comments:**
> **username_0**: I tried to start bitcoin-qt with -choosedatadir at the CLI on my Mac but my Mac refused to run the command for security reasons. How else can I run it? I will try to remove my external drive to force that window to show up.  
> **username_0**: I managed to get the "Choose Data Directory" window to show up and I unchecked pruning. But, will I have to uncheck it every time or will it remember?  
> **username_2**: It should remember it now.  
> **username_0**: Yes I think it did because the next time I saw the Welcome dialog box there was no more checkbox for pruning. Thanks!  

---

