Author

Topic: Salvagewallet in latest Bitcoin core (Read 145 times)

full member
Activity: 217
Merit: 109
April 14, 2021, 11:59:24 AM
#9
Does the bitcoin-wallet offer any more tools?

Currently there's only two other commands: one to create a wallet (create) and another that lists information about a wallet (info).
Cheers again for your help.
full member
Activity: 217
Merit: 109
April 14, 2021, 11:55:53 AM
#8
Be sure to make a backup copy of your wallet.dat before you run it.
Yes, it's supposed to make a backup before it does anything but like anything involving money it's better to do your own backup before anything else touches the file.

-Dave

I'm only using copies, but thanks for your reply.
full member
Activity: 217
Merit: 109
April 14, 2021, 11:54:58 AM
#7
If you're still using Windows7, open command prompt to Bitcoin\daemon where bitcoin-wallet.exe is located (change the directory if you're not using the default).
Code:
cd C:\Program Files\Bitcoin\daemon
For the default wallet 'wallet.dat', this command should work:
Code:
bitcoin-wallet -datadir="D:\Bitcoin" salvage
For other wallets, use NotATether's command.

Note: It will not return with a response (aside from errors), you can check the data directory and a backup of the wallet will be created upon using the command.
Does the bitcoin-wallet offer any more tools?
Use:
Code:
bitcoin-wallet --help
Thanks for your help.
legendary
Activity: 3500
Merit: 6320
Crypto Swap Exchange
April 14, 2021, 05:35:10 AM
#6
Be sure to make a backup copy of your wallet.dat before you run it.
Yes, it's supposed to make a backup before it does anything but like anything involving money it's better to do your own backup before anything else touches the file.

-Dave
legendary
Activity: 1568
Merit: 6660
bitcoincleanup.com / bitmixlist.org
April 14, 2021, 01:32:44 AM
#5
Does the bitcoin-wallet offer any more tools?

Currently there's only two other commands: one to create a wallet (create) and another that lists information about a wallet (info).
legendary
Activity: 2618
Merit: 6452
Self-proclaimed Genius
April 13, 2021, 10:02:07 PM
#4
If you're still using Windows7, open command prompt to Bitcoin\daemon where bitcoin-wallet.exe is located (change the directory if you're not using the default).
Code:
cd C:\Program Files\Bitcoin\daemon
For the default wallet 'wallet.dat', this command should work:
Code:
bitcoin-wallet -datadir="D:\Bitcoin" salvage
For other wallets, use NotATether's command.

Note: It will not return with a response (aside from errors), you can check the data directory and a backup of the wallet will be created upon using the command.
Does the bitcoin-wallet offer any more tools?
Use:
Code:
bitcoin-wallet --help
full member
Activity: 217
Merit: 109
April 13, 2021, 02:51:30 PM
#3
The -salvagewallet command line option was moved into the bitcoin-wallet utility as of Bitcoin Core 0.21, and its name has changed to salvage.

Code:
bitcoin-wallet -wallet= salvage
Thanks, how do I run that on my wallet files? My wallet files are In D:\Bitcoin, and Daemon is in the same. I have 3 wallet files with different names. Does the bitcoin-wallet offer any more tools?
legendary
Activity: 1568
Merit: 6660
bitcoincleanup.com / bitmixlist.org
April 13, 2021, 02:30:44 PM
#2
The -salvagewallet command line option was moved into the bitcoin-wallet utility as of Bitcoin Core 0.21, and its name has changed to salvage.

Code:
bitcoin-wallet -wallet= salvage
full member
Activity: 217
Merit: 109
April 13, 2021, 02:24:09 PM
#1
How do you run salvagewallet in the latest version. Thanks.
Jump to: