Post
Topic
Board Bitcoin Technical Support
Re: Help needed recovering old wallet from bitcoin qt (around 2016)
by
nc50lc
on 15/01/2022, 03:55:19 UTC
Ok, I tried salvage, but I can't find that option in bitcoin core 22.0.0
It was removed in Bitcoin-qt/bitcoin-cli a few months ago, it's now accessible using "bitcoin-wallet" tool in the 'daemon' folder.
I have a post above with a guide to use the command:

-snip-
"bitcoin-wallet" is in the "daemon" folder inside Bitcoin Core's installation directory (where bitcoind and bitcoin-cli are located).

To use it, open Terminal, cd to the directory where bitcoin-wallet is.
Then use the command (provide the full path to the wallet.dat file):
Code:
bitcoin-wallet --wallet="E:\Folder\wallet.dat" salvage

It wont return with any response (unless it failed) but you will see a backup file (wallet.dat.xxxxx.bak) where the wallet.dat is located.
The new wallet.dat is the "salvaged" wallet.