Author

Topic: Failed to Salvage (Read 95 times)

legendary
Activity: 3206
Merit: 2904
Block halving is coming.
August 15, 2023, 10:32:46 AM
#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.
legendary
Activity: 3206
Merit: 1069
August 15, 2023, 03: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
legendary
Activity: 1512
Merit: 4795
August 14, 2023, 07: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.
legendary
Activity: 3206
Merit: 2904
Block halving is coming.
August 14, 2023, 07:32:28 PM
#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.
staff
Activity: 3374
Merit: 6530
Just writing some code
August 14, 2023, 07: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.
legendary
Activity: 1512
Merit: 4795
August 14, 2023, 06: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.
legendary
Activity: 3206
Merit: 1069
August 14, 2023, 06: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
Jump to: