Bitcoin Forum
May 03, 2024, 07:09:26 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Salvagewallet in latest Bitcoin core  (Read 124 times)
morbius55 (OP)
Full Member
***
Offline Offline

Activity: 217
Merit: 109


View Profile
April 13, 2021, 07:24:09 PM
Merited by ABCbits (1)
 #1

How do you run salvagewallet in the latest version. Thanks.
1714763366
Hero Member
*
Offline Offline

Posts: 1714763366

View Profile Personal Message (Offline)

Ignore
1714763366
Reply with quote  #2

1714763366
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714763366
Hero Member
*
Offline Offline

Posts: 1714763366

View Profile Personal Message (Offline)

Ignore
1714763366
Reply with quote  #2

1714763366
Report to moderator
NotATether
Legendary
*
Offline Offline

Activity: 1596
Merit: 6726


bitcoincleanup.com / bitmixlist.org


View Profile WWW
April 13, 2021, 07:30:44 PM
Merited by ABCbits (2)
 #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=<wallet name> salvage

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
morbius55 (OP)
Full Member
***
Offline Offline

Activity: 217
Merit: 109


View Profile
April 13, 2021, 07:51:30 PM
Last edit: April 13, 2021, 09:43:44 PM by morbius55
 #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=<wallet name> 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?
nc50lc
Legendary
*
Offline Offline

Activity: 2408
Merit: 5583


Self-proclaimed Genius


View Profile
April 14, 2021, 03:02:07 AM
Merited by ABCbits (2)
 #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

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
NotATether
Legendary
*
Offline Offline

Activity: 1596
Merit: 6726


bitcoincleanup.com / bitmixlist.org


View Profile WWW
April 14, 2021, 06: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).

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
DaveF
Legendary
*
Offline Offline

Activity: 3472
Merit: 6259


Crypto Swap Exchange


View Profile WWW
April 14, 2021, 10: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

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
morbius55 (OP)
Full Member
***
Offline Offline

Activity: 217
Merit: 109


View Profile
April 14, 2021, 04:54:58 PM
 #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.
morbius55 (OP)
Full Member
***
Offline Offline

Activity: 217
Merit: 109


View Profile
April 14, 2021, 04:55:53 PM
 #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.
morbius55 (OP)
Full Member
***
Offline Offline

Activity: 217
Merit: 109


View Profile
April 14, 2021, 04:59:24 PM
 #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.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!