<ol>
<li><p>Create a backup of your current wallet.dat file. Check <a href="https://en.bitcoin.it/wiki/Data_directory" rel="nofollow">this</a> is you don't know where the file is stored.</p></li>
<li><p>Check debug.log in your bitcoin datadir, see if there are any errors, ask somebody, post here, post on IRC</p></li>
<li><p>Start bitcoind or Bitcoin-Qt with command line argument <code>-salvagewallet</code> (if you don't know how to run a Application with command line arguments, try to ask someone or get help over IRC freenode/#bitcoin.</p></li>
<li><p>If step 3 didn't help, check if you have a backup from your wallet.dat, replace files (only overwrite your wallet.dat if you followed step 1).</p></li>
<li><p>If nothing worked out, get help from a bitcoin expert over IRC (but never give away your wallet.dat!)</p></li>
</ol>

CC BY-SA 3.0
2015-05-10T18:15:53.773Z
Alright thank you for the help :) I'll do that and get back if it works
Mike
CC BY-SA 3.0
2015-05-10T20:27:10.753Z
Okay well, my wallet is now up and running again... Someone suggested to deleted my entire bitcoin folder except my wallet.dat... But I have to wait for it to sync over 3 years. Is there a way to speed this process up? I tried to download the folder on blockchain but I couldn't get it to work.
Mike
CC BY-SA 3.0
2015-05-10T20:27:40.213Z
PS : When I deleted everything except my wallet.dat will the bitcoins still be sent to my wallet once it sync's?
Mike
CC BY-SA 3.0
2015-05-10T23:22:17.283Z
Correction* I deleted everything except my wallet.dat and my peer.dat
Mike
CC BY-SA 3.0
2015-05-11T04:15:06.720Z
Yes. If you delete everything except you wallet.dat you should find all you incoming and outgoing transactions after you sync is complete. It might take a while (couple of hours till couple of days depending on you system).
Jonas Schnelli
CC BY-SA 3.0
2015-05-09T19:50:15.610Z
2015-05-09T19:50:15.610Z
Jonas Schnelli
<p>I bought some bitcoins on LocalBitcoins then downloaded Bitcoin-qt then instantly sent it to my wallet and now the wallet is corrupted... Is there a way to get them back? </p>

CC BY-SA 3.0
2015-05-09T05:51:52.867Z
How corrupted is it? What are the symptoms of the corruption?
Nick ODell
CC BY-SA 3.0
2015-05-09T14:40:28.167Z
When I open the wallet it instantly crashes,.
Mike
CC BY-SA 3.0
2015-05-09T14:43:35.907Z
Also trying to make a backup doesn't work because my wallet.dat is empty
Mike
<wallet><bitcoin-core><localbitcoins>
Is it possible to get already-sent bitcoins from a corrupted wallet?
Mike
# Is it possible to get already-sent bitcoins from a corrupted wallet?

(Asked by: username_0 on 2015-05-09)

I bought some bitcoins on LocalBitcoins then downloaded Bitcoin-qt then instantly sent it to my wallet and now the wallet is corrupted... Is there a way to get them back?

**Tags:** wallet, bitcoin-core, localbitcoins

> **Comments:**
> **username_1**: How corrupted is it? What are the symptoms of the corruption?  
> **username_0**: When I open the wallet it instantly crashes,.  
> **username_0**: Also trying to make a backup doesn't work because my wallet.dat is empty  

---

## 1 answers

### Answer by username_2 on 2015-05-09. Score: 1

1. Create a backup of your current wallet.dat file. Check [this](https://en.bitcoin.it/wiki/Data_directory) is you don't know where the file is stored.
2. Check debug.log in your bitcoin datadir, see if there are any errors, ask somebody, post here, post on IRC
3. Start bitcoind or Bitcoin-Qt with command line argument `-salvagewallet` (if you don't know how to run a Application with command line arguments, try to ask someone or get help over IRC freenode/#bitcoin.
4. If step 3 didn't help, check if you have a backup from your wallet.dat, replace files (only overwrite your wallet.dat if you followed step 1).
5. If nothing worked out, get help from a bitcoin expert over IRC (but never give away your wallet.dat!)

> **Comments:**
> **username_0**: Alright thank you for the help :) I'll do that and get back if it works  
> **username_0**: Okay well, my wallet is now up and running again... Someone suggested to deleted my entire bitcoin folder except my wallet.dat... But I have to wait for it to sync over 3 years. Is there a way to speed this process up? I tried to download the folder on blockchain but I couldn't get it to work.  
> **username_0**: PS : When I deleted everything except my wallet.dat will the bitcoins still be sent to my wallet once it sync's?  
> **username_0**: Correction* I deleted everything except my wallet.dat and my peer.dat  
> **username_2**: Yes. If you delete everything except you wallet.dat you should find all you incoming and outgoing transactions after you sync is complete. It might take a while (couple of hours till couple of days depending on you system).  

---

