Bitcoin Forum
November 15, 2024, 07:33:14 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Failed to Salvage  (Read 119 times)
Amph (OP)
Legendary
*
Offline Offline

Activity: 3248
Merit: 1070



View Profile
August 14, 2023, 10:47:58 PM
 #1

i've tried to salvage an old bitcoin wallet, but it still say it's corrupted and need to be salvaged

it say

Salvage: Database salvage found errors, all data may not be recoverable.
Salvage: WARNING: Unexpected end of file while reading salvage output.
Salvage(aggressive) found no records in C:\Users\Amph\AppData\Roaming\Bitcoin\wallets\wallet.dat.1692053040.bak
Charles-Tim
Legendary
*
Offline Offline

Activity: 1736
Merit: 5212


Leading Crypto Sports Betting & Casino Platform


View Profile
August 14, 2023, 10:56:50 PM
 #2

On Windows. You can right click on the wallet and click on 'restore previous version' and see if it works. On other OS, you can look for something like that to restore the wallet and see if it is going to work.

The best is to backup your seed phrase on a paper and have like two or three backups in different locations.

..Stake.com..   ▄████████████████████████████████████▄
   ██ ▄▄▄▄▄▄▄▄▄▄            ▄▄▄▄▄▄▄▄▄▄ ██  ▄████▄
   ██ ▀▀▀▀▀▀▀▀▀▀ ██████████ ▀▀▀▀▀▀▀▀▀▀ ██  ██████
   ██ ██████████ ██      ██ ██████████ ██   ▀██▀
   ██ ██      ██ ██████  ██ ██      ██ ██    ██
   ██ ██████  ██ █████  ███ ██████  ██ ████▄ ██
   ██ █████  ███ ████  ████ █████  ███ ████████
   ██ ████  ████ ██████████ ████  ████ ████▀
   ██ ██████████ ▄▄▄▄▄▄▄▄▄▄ ██████████ ██
   ██            ▀▀▀▀▀▀▀▀▀▀            ██ 
   ▀█████████▀ ▄████████████▄ ▀█████████▀
  ▄▄▄▄▄▄▄▄▄▄▄▄███  ██  ██  ███▄▄▄▄▄▄▄▄▄▄▄▄
 ██████████████████████████████████████████
▄▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▄
█  ▄▀▄             █▀▀█▀▄▄
█  █▀█             █  ▐  ▐▌
█       ▄██▄       █  ▌  █
█     ▄██████▄     █  ▌ ▐▌
█    ██████████    █ ▐  █
█   ▐██████████▌   █ ▐ ▐▌
█    ▀▀██████▀▀    █ ▌ █
█     ▄▄▄██▄▄▄     █ ▌▐▌
█                  █▐ █
█                  █▐▐▌
█                  █▐█
▀▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▀█
▄▄█████████▄▄
▄██▀▀▀▀█████▀▀▀▀██▄
▄█▀       ▐█▌       ▀█▄
██         ▐█▌         ██
████▄     ▄█████▄     ▄████
████████▄███████████▄████████
███▀    █████████████    ▀███
██       ███████████       ██
▀█▄       █████████       ▄█▀
▀█▄    ▄██▀▀▀▀▀▀▀██▄  ▄▄▄█▀
▀███████         ███████▀
▀█████▄       ▄█████▀
▀▀▀███▄▄▄███▀▀▀
..PLAY NOW..
achow101
Moderator
Legendary
*
Offline Offline

Activity: 3542
Merit: 6886


Just writing some code


View Profile WWW
August 14, 2023, 11:24:18 PM
 #3

What condition was the wallet in before you tried to salvage it? What prompted you to try to use salvage?

Salvaging is a last resort thing to do and doesn't even work particularly well since there's lots of different things that can be corrupted that BDB can't recover from. Salvage is also known to actually corrupt perfectly fine wallets.

BitMaxz
Legendary
*
Offline Offline

Activity: 3444
Merit: 3173


Playbet.io - Crypto Casino and Sportsbook


View Profile WWW
August 14, 2023, 11:32:28 PM
Last edit: August 15, 2023, 12:00:22 AM by BitMaxz
 #4

Are you using the same PC where this wallet.dat was created? You can maybe try to recover it through pywallet to recover the missing wallet or private keys.
Sample command you can use with Pywallet

Code:
python pywallet.py --recover --recov_device=D: --recov_size=500Gio --recov_outputdir=C:\this is the folder for recovering files\

Just replace the recovery size 500 with the current size of your hard drive sample if the current hard drive is 256 GB then replace it with 256.


The best is to backup your seed phrase on a paper and have like two or three backups in different locations.

I don't think Bitcoin Core supports seed mnemonic.

███████████████
█████████████████████
██████▄▄███████████████
██████▐████▄▄████████████
██████▐██▀▀▀██▄▄█████████
████████▌█████▀██▄▄██████
██████████████████▌█████
█████████████▀▄██▀▀██████
██████▐██▄▄█▌███████████
██████▐████▀█████████████
██████▀▀███████████████
█████████████████████
███████████████

.... ..Playbet.io..Casino & Sportsbook.....Grab up to  BTC + 800 Free Spins........
████████████████████████████████████████
██████████████████████████████████████████████
██████▄▄████████████████████████████████████████
██████▐████▄▄█████████████████████████████████████
██████▐██▀▀▀██▄▄██████████████████████████████████
████████▌█████▀██▄▄█████▄███▄███▄███▄█████████████
██████████████████▌████▀░░██▌██▄▄▄██████████████
█████████████▀▄██▀▀█████▄░░██▌██▄░░▄▄████▄███████
██████▐██▄▄█▌██████████▀███▀███▀███▀███▀█████████
██████▐████▀██████████████████████████████████████
██████▀▀████████████████████████████████████████
██████████████████████████████████████████████
████████████████████████████████████████
Charles-Tim
Legendary
*
Offline Offline

Activity: 1736
Merit: 5212


Leading Crypto Sports Betting & Casino Platform


View Profile
August 14, 2023, 11:45:14 PM
 #5

I don't think Bitcoin Core supports seed mnemonic.
Do not mind me, Bitcoin Core does not support seed phrase. Backup can only be in wallet file or master private key or individual key of the addresses.

..Stake.com..   ▄████████████████████████████████████▄
   ██ ▄▄▄▄▄▄▄▄▄▄            ▄▄▄▄▄▄▄▄▄▄ ██  ▄████▄
   ██ ▀▀▀▀▀▀▀▀▀▀ ██████████ ▀▀▀▀▀▀▀▀▀▀ ██  ██████
   ██ ██████████ ██      ██ ██████████ ██   ▀██▀
   ██ ██      ██ ██████  ██ ██      ██ ██    ██
   ██ ██████  ██ █████  ███ ██████  ██ ████▄ ██
   ██ █████  ███ ████  ████ █████  ███ ████████
   ██ ████  ████ ██████████ ████  ████ ████▀
   ██ ██████████ ▄▄▄▄▄▄▄▄▄▄ ██████████ ██
   ██            ▀▀▀▀▀▀▀▀▀▀            ██ 
   ▀█████████▀ ▄████████████▄ ▀█████████▀
  ▄▄▄▄▄▄▄▄▄▄▄▄███  ██  ██  ███▄▄▄▄▄▄▄▄▄▄▄▄
 ██████████████████████████████████████████
▄▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▄
█  ▄▀▄             █▀▀█▀▄▄
█  █▀█             █  ▐  ▐▌
█       ▄██▄       █  ▌  █
█     ▄██████▄     █  ▌ ▐▌
█    ██████████    █ ▐  █
█   ▐██████████▌   █ ▐ ▐▌
█    ▀▀██████▀▀    █ ▌ █
█     ▄▄▄██▄▄▄     █ ▌▐▌
█                  █▐ █
█                  █▐▐▌
█                  █▐█
▀▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▀█
▄▄█████████▄▄
▄██▀▀▀▀█████▀▀▀▀██▄
▄█▀       ▐█▌       ▀█▄
██         ▐█▌         ██
████▄     ▄█████▄     ▄████
████████▄███████████▄████████
███▀    █████████████    ▀███
██       ███████████       ██
▀█▄       █████████       ▄█▀
▀█▄    ▄██▀▀▀▀▀▀▀██▄  ▄▄▄█▀
▀███████         ███████▀
▀█████▄       ▄█████▀
▀▀▀███▄▄▄███▀▀▀
..PLAY NOW..
Amph (OP)
Legendary
*
Offline Offline

Activity: 3248
Merit: 1070



View Profile
August 15, 2023, 07:18:48 AM
 #6

On Windows. You can right click on the wallet and click on 'restore previous version' and see if it works. On other OS, you can look for something like that to restore the wallet and see if it is going to work.

The best is to backup your seed phrase on a paper and have like two or three backups in different locations.

i'll try that tnx

What condition was the wallet in before you tried to salvage it? What prompted you to try to use salvage?

Salvaging is a last resort thing to do and doesn't even work particularly well since there's lots of different things that can be corrupted that BDB can't recover from. Salvage is also known to actually corrupt perfectly fine wallets.

it said that the wallet was corrupted and to try to salvage it, which is what i did

Are you using the same PC where this wallet.dat was created? You can maybe try to recover it through pywallet to recover the missing wallet or private keys.
Sample command you can use with Pywallet

Code:
python pywallet.py --recover --recov_device=D: --recov_size=500Gio --recov_outputdir=C:\this is the folder for recovering files\

Just replace the recovery size 500 with the current size of your hard drive sample if the current hard drive is 256 GB then replace it with 256.


The best is to backup your seed phrase on a paper and have like two or three backups in different locations.

I don't think Bitcoin Core supports seed mnemonic.

yeah it's the same pc from 2014

i usually do a backup every year to keep up with the new version, but this wallet is empty so it was not so important, but i need it to prove that an old address is mine

what if i run a old bitcoin verion like 0.12 it should work there, myabe there is some backward compatibility issue
BitMaxz
Legendary
*
Offline Offline

Activity: 3444
Merit: 3173


Playbet.io - Crypto Casino and Sportsbook


View Profile WWW
August 15, 2023, 02:32:46 PM
 #7

yeah it's the same pc from 2014

i usually do a backup every year to keep up with the new version, but this wallet is empty so it was not so important, but i need it to prove that an old address is mine


Since you made a backup every year why not use those other wallet backups to retrieve your wallet if you make a backup every year?
Did you remove the old wallet.dat every time you made a backup?

what if i run a old bitcoin verion like 0.12 it should work there, myabe there is some backward compatibility issue

Whether you install the old or updated version of the Bitcoin core wallet. That should work just fine because it is backward compatible.

███████████████
█████████████████████
██████▄▄███████████████
██████▐████▄▄████████████
██████▐██▀▀▀██▄▄█████████
████████▌█████▀██▄▄██████
██████████████████▌█████
█████████████▀▄██▀▀██████
██████▐██▄▄█▌███████████
██████▐████▀█████████████
██████▀▀███████████████
█████████████████████
███████████████

.... ..Playbet.io..Casino & Sportsbook.....Grab up to  BTC + 800 Free Spins........
████████████████████████████████████████
██████████████████████████████████████████████
██████▄▄████████████████████████████████████████
██████▐████▄▄█████████████████████████████████████
██████▐██▀▀▀██▄▄██████████████████████████████████
████████▌█████▀██▄▄█████▄███▄███▄███▄█████████████
██████████████████▌████▀░░██▌██▄▄▄██████████████
█████████████▀▄██▀▀█████▄░░██▌██▄░░▄▄████▄███████
██████▐██▄▄█▌██████████▀███▀███▀███▀███▀█████████
██████▐████▀██████████████████████████████████████
██████▀▀████████████████████████████████████████
██████████████████████████████████████████████
████████████████████████████████████████
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!