Post
Topic
Board Bitcoin Technical Support
Re: i need help whis broken wallet.dat
by
Sanka555
on 16/02/2022, 07:44:11 UTC
Which version are you running? It seems salvagewallet was removed from 0.21.0, so if you're running a version pre 0.21.0, you could try the initial command given by BitMaxz.

EDIT: i just logged on to my system, and had a look for myself (-help). Seems like the command is:
./bitcoin-wallet salvage --"wallet.dat"
At least, that how it works for me..

On windows, that would make
bitcoin-wallet.exe salvage --"c:\\path to\\wallet.dat"
(at least, i think it'll need double slashes)

So basically, if you're running >=0.21.0, you could try to switch the salvage command and the path...

i do
Quote
I:\Bitcoin\bitcoin-qt.exe -salvagewallet I:\bit\wallets\wallet.dat
and
Quote
I:\Bitcoin\bitcoin-qt.exe -salvagewallet I:\\bit\\wallets\\wallet.dat

the same effect. Flashes for a second. But nothing starts and nothing happens

-salvage   does not work in my version at all. writes that such command is unknown

I really hope that my key that I received after processing the information from the first post by the script will somehow help
"YmM63dDbt...+....."


Did you look at the command i posted vs your command?
executable -salvagewallet --"path"
is not the same as
executable salvage --"path"

But first things first: which bitcoin core version are you using?
0.20.1