<p>If you moved the Bitcoin Core data directory without telling Bitcoin Core that you had done so, then Bitcoin Core will not use the files that you moved and instead just make new ones. This means that it synced the blockchain entirely from scratch and generated a new wallet file. In order to access your Bitcoin, you need to move your wallet.dat file back to the data directory or tell Bitcoin Core that the data directory has changed by setting the <code>-datadir=&lt;path&gt;</code> option in its startup command.</p>

CC BY-SA 3.0
2017-09-02T06:31:37.560Z
Thank you very much for the reply. The problem is that I copy the file wallet.dat so when the file sync is overwritten?Please tell me a bit more about your solution, since I have 1BTC in it, that's all the money you borrow. Your situation is very dangerous, looking forward to your help.
user58997
CC BY-SA 3.0
2017-09-02T06:34:36.670Z
Now I only have the wallet.dat file generated by the second sync, not sure. Looking forward to your help, I thank you 0.2BTC for you
user58997
CC BY-SA 3.0
2017-09-02T06:46:07.187Z
please give me gmail for contact!Because I do not spend on this technology.
user58997
CC BY-SA 3.0
2017-09-02T15:33:36.780Z
If you had moved the wallet.dat file elsewhere (not copied, moved, so there was no wallet.dat file afterwards), then a new one will be created. If not, then the wallet.dat file will be used. Either way, I suggest that you copy your original wallet.dat file and put that copy back into the datadir.
Ava Chow
CC BY-SA 3.0
2017-09-03T10:45:27.253Z
thank you for the reply, but I did not have the original wallet.dat file because I cut the wallet file to the new file
user58997
CC BY-SA 3.0
2017-09-02T02:09:10.227Z
2017-09-02T02:09:10.227Z
Ava Chow
<p>I installed bitcoin core to drive d, then I cut all the files into a new file. bitcoin core gets synced from scratch and then i no longer coin in wallet. Please show me how to recover the bitcoin number, I would like to thank you very much</p>

<bitcoin-cash>
I lost bitcoin in core bitcoin account, pls help
user58997
# I lost bitcoin in core bitcoin account, pls help

(Asked by: username_0 on 2017-09-01)

I installed bitcoin core to drive d, then I cut all the files into a new file. bitcoin core gets synced from scratch and then i no longer coin in wallet. Please show me how to recover the bitcoin number, I would like to thank you very much

**Tags:** bitcoin-cash


---

## 1 answers

### Answer by username_1 on 2017-09-02. Score: 2 | Accepted answer

If you moved the Bitcoin Core data directory without telling Bitcoin Core that you had done so, then Bitcoin Core will not use the files that you moved and instead just make new ones. This means that it synced the blockchain entirely from scratch and generated a new wallet file. In order to access your Bitcoin, you need to move your wallet.dat file back to the data directory or tell Bitcoin Core that the data directory has changed by setting the `-datadir=<path>` option in its startup command.

> **Comments:**
> **username_0**: Thank you very much for the reply. The problem is that I copy the file wallet.dat so when the file sync is overwritten?Please tell me a bit more about your solution, since I have 1BTC in it, that's all the money you borrow. Your situation is very dangerous, looking forward to your help.  
> **username_0**: Now I only have the wallet.dat file generated by the second sync, not sure. Looking forward to your help, I thank you 0.2BTC for you  
> **username_0**: please give me gmail for contact!Because I do not spend on this technology.  
> **username_1**: If you had moved the wallet.dat file elsewhere (not copied, moved, so there was no wallet.dat file afterwards), then a new one will be created. If not, then the wallet.dat file will be used. Either way, I suggest that you copy your original wallet.dat file and put that copy back into the datadir.  
> **username_0**: thank you for the reply, but I did not have the original wallet.dat file because I cut the wallet file to the new file  

---

