Title: Salvagewallet in latest Bitcoin core Post by: morbius55 on April 13, 2021, 07:24:09 PM How do you run salvagewallet in the latest version. Thanks.
Title: Re: Salvagewallet in latest Bitcoin core Post by: NotATether on April 13, 2021, 07:30:44 PM 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=<wallet name> salvage Title: Re: Salvagewallet in latest Bitcoin core Post by: morbius55 on April 13, 2021, 07:51:30 PM 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. 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?Code: bitcoin-wallet -wallet=<wallet name> salvage Title: Re: Salvagewallet in latest Bitcoin core Post by: nc50lc on April 14, 2021, 03:02:07 AM 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 Code: bitcoin-wallet -datadir="D:\Bitcoin" salvage 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 Title: Re: Salvagewallet in latest Bitcoin core Post by: NotATether on April 14, 2021, 06:32:44 AM 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). Title: Re: Salvagewallet in latest Bitcoin core Post by: DaveF on April 14, 2021, 10:35:10 AM 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 Title: Re: Salvagewallet in latest Bitcoin core Post by: morbius55 on April 14, 2021, 04:54:58 PM 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). Thanks for your help.Code: cd C:\Program Files\Bitcoin\daemon Code: bitcoin-wallet -datadir="D:\Bitcoin" salvage 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 Title: Re: Salvagewallet in latest Bitcoin core Post by: morbius55 on April 14, 2021, 04:55:53 PM Be sure to make a backup copy of your wallet.dat before you run it. I'm only using copies, but thanks for your reply.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 Title: Re: Salvagewallet in latest Bitcoin core Post by: morbius55 on April 14, 2021, 04:59:24 PM 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). |