<p>You can attempt to launch the client via the command line and add the -salvagewallet option this attempts to recover and dump the private keys from the wallet.</p>

CC BY-SA 3.0
2013-11-26T01:40:06.460Z
i tried Pywallet 2.1.7 and it just keeps getting errors does this mean the wallet.dat is no use?
sean
CC BY-SA 3.0
2013-11-26T01:44:09.773Z
I once had a similar problem on a Linux box that had a simple permission error (owned by root running as standard user) but barring something like that it may not be recoverable.  I presume you have no other backup of the wallet?
Mark S.
CC BY-SA 3.0
2013-11-26T01:48:05.390Z
i had many backups but that was 1.5 years ago but hopefully i find one of them or i get the old hard drive repaired some how fingers crossed.
sean
CC BY-SA 3.0
2013-11-26T02:04:33.303Z
Spinrite is worth checking out as far as hard drive recovery goes.  Well worth the price especially if your coin can be recovered.
Mark S.
CC BY-SA 3.0
2013-11-26T01:06:11.683Z
2013-11-26T01:06:11.683Z
Mark S.
<p>I wrote a <a href="https://walletrecovery.info/how-to-recover-your-corrupt-or-deleted-bitcoin-core-wallet/" rel="nofollow noreferrer">guide to corrupt Bitcoin Wallet recovery.</a>  The first thing I would try is <a href="https://github.com/jackjack-jj/pywallet" rel="nofollow noreferrer">pywallet</a>. It can dump the private keys from your wallet to a file even if Bitcoin Core fails to salvage it.  You can then import them into a new wallet.</p>

CC BY-SA 3.0
2018-01-08T20:47:43.687Z
2018-01-08T20:47:43.687Z
David Veksler
<p>I recommend using the information given <a href="https://bitcointalk.org/index.php?topic=22697.0" rel="nofollow">here</a>. I once managed to use it to recover wallets that resisted all other salvage methods I tried. (Casascius mentions full drive scanning in this post, but that is not needed if you have the wallet file).</p>

CC BY-SA 3.0
2014-05-29T12:43:24.410Z
2014-05-29T12:43:24.410Z
Meni Rosenfeld
<p>I bought bitcoins about a year half ago and my hard drive broke and i managed to recover them using a recovery tool that found wallet.dat from a deleted wallet on another hard drive but its courrped and wont work at all. i tired something to do wtih python dbdump.py --wallet but it failed, is there anything i can do any help would be great.The wallet.dat is only 112kb i dont know if that matters.</p>

<wallet><wallet.dat>
Wallet.dat Corrupted help please?
sean
# Wallet.dat Corrupted help please?

(Asked by: username_0 on 2013-11-26)

I bought bitcoins about a year half ago and my hard drive broke and i managed to recover them using a recovery tool that found wallet.dat from a deleted wallet on another hard drive but its courrped and wont work at all. i tired something to do wtih python dbdump.py --wallet but it failed, is there anything i can do any help would be great.The wallet.dat is only 112kb i dont know if that matters.

**Tags:** wallet, wallet.dat


---

## 3 answers

### Answer by username_1 on 2013-11-26. Score: 2

You can attempt to launch the client via the command line and add the -salvagewallet option this attempts to recover and dump the private keys from the wallet.

> **Comments:**
> **username_0**: i tried Pywallet 2.1.7 and it just keeps getting errors does this mean the wallet.dat is no use?  
> **username_1**: I once had a similar problem on a Linux box that had a simple permission error (owned by root running as standard user) but barring something like that it may not be recoverable.  I presume you have no other backup of the wallet?  
> **username_0**: i had many backups but that was 1.5 years ago but hopefully i find one of them or i get the old hard drive repaired some how fingers crossed.  
> **username_1**: Spinrite is worth checking out as far as hard drive recovery goes.  Well worth the price especially if your coin can be recovered.  

---

### Answer by username_2 on 2018-01-08. Score: 1

I wrote a [guide to corrupt Bitcoin Wallet recovery.](https://walletrecovery.info/how-to-recover-your-corrupt-or-deleted-bitcoin-core-wallet/) The first thing I would try is [pywallet](https://github.com/jackjack-jj/pywallet). It can dump the private keys from your wallet to a file even if Bitcoin Core fails to salvage it. You can then import them into a new wallet.


---

### Answer by username_3 on 2014-05-29. Score: 0

I recommend using the information given [here](https://bitcointalk.org/index.php?topic=22697.0). I once managed to use it to recover wallets that resisted all other salvage methods I tried. (Casascius mentions full drive scanning in this post, but that is not needed if you have the wallet file).


---

