Bitcoin Forum
April 19, 2024, 09:26:25 PM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 »  All
  Print  
Author Topic: Help Needed Recovering old wallet.dat file from 2011  (Read 588 times)
wetcat33333 (OP)
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
September 23, 2018, 09:49:32 PM
 #1

Hi, so I installed bitcoin and did a bit of mining back in 2011, forgot about it until a friend of my started talking about bitcoin and I remembered I had tried it so he suggested I look on my old hard drive for a wallet.dat file, I did and I found one.  I am installing bitcoin core now, downloading part of the chain, I added prune 1000 because it's just too much for my machine.  I did try to open the old wallet by replacing the wallet.dat file with my old file but got a message saying it was corrupted. I am waiting until bitcoin finishes downloading to try it again but if it doesn't work - any suggestions?

Thanks!
1713561985
Hero Member
*
Offline Offline

Posts: 1713561985

View Profile Personal Message (Offline)

Ignore
1713561985
Reply with quote  #2

1713561985
Report to moderator
1713561985
Hero Member
*
Offline Offline

Posts: 1713561985

View Profile Personal Message (Offline)

Ignore
1713561985
Reply with quote  #2

1713561985
Report to moderator
1713561985
Hero Member
*
Offline Offline

Posts: 1713561985

View Profile Personal Message (Offline)

Ignore
1713561985
Reply with quote  #2

1713561985
Report to moderator
"There should not be any signed int. If you've found a signed int somewhere, please tell me (within the next 25 years please) and I'll change it to unsigned int." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713561985
Hero Member
*
Offline Offline

Posts: 1713561985

View Profile Personal Message (Offline)

Ignore
1713561985
Reply with quote  #2

1713561985
Report to moderator
Btcspot
Jr. Member
*
Offline Offline

Activity: 184
Merit: 1


View Profile
September 23, 2018, 11:01:39 PM
Last edit: September 24, 2018, 01:28:29 PM by achow101
 #2

 Make sure you dont overwrite the original wallet.dat and just place it there after you delete the default wallet or youll lose money. Keep it in safe place and make copies.  You can try this

    Open bitcoin-qt

    In bitcoin-qt open console

    In console you can type "help" <return> for commands. Enter your password like this: walletpassphrase passphrasetimeout in seconds. If you dont have password then type dumprivkey (with your address) will dump your private key

    Copy that key

    Open Electrum you can get it in electrum.org site

    Choose "New" and "restore wallet"

    Enter the copied private key and enter
    You should see your funds. [mod edit: no begging]
wetcat33333 (OP)
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
September 23, 2018, 11:04:39 PM
 #3

Thanks, if it works I will Smiley  I doubt there is much in there though I don't remember spending a lot of time on it.
Abdussamad
Legendary
*
Offline Offline

Activity: 3598
Merit: 1560



View Profile
September 24, 2018, 07:41:00 AM
 #4

you have to replace the wallet.dat before you download the chain because it's looking for unspent outputs related to your wallet as it downloads the chain. if you do it later you have to run rescan. also you only replace it after you've shutdown core. never replace the file while core is running. so i suggest shutting down core, replacing the file and then running core and seeing what happens. there's also a recover wallet command line option you can try if the wallet file is corrupted. see salvage wallet: https://en.bitcoin.it/wiki/Running_Bitcoin#Command-line_arguments


wetcat33333 (OP)
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
September 24, 2018, 04:00:56 PM
 #5

you have to replace the wallet.dat before you download the chain because it's looking for unspent outputs related to your wallet as it downloads the chain. if you do it later you have to run rescan. also you only replace it after you've shutdown core. never replace the file while core is running. so i suggest shutting down core, replacing the file and then running core and seeing what happens. there's also a recover wallet command line option you can try if the wallet file is corrupted. see salvage wallet: https://en.bitcoin.it/wiki/Running_Bitcoin#Command-line_arguments


Yeah, I saw that after I started downloading the chain.  I'm still waiting for it to finish downloading, hopefully it will be done today at some point. I didn't download the entire chain though, I'm wondering if that will be an issue...

Thanks for the info.  I'll post what happens, hopefully I can recover it!
bob123
Legendary
*
Offline Offline

Activity: 1624
Merit: 2481



View Profile WWW
September 29, 2018, 06:34:03 AM
 #6

Yeah, I saw that after I started downloading the chain.  I'm still waiting for it to finish downloading, hopefully it will be done today at some point. I didn't download the entire chain though, I'm wondering if that will be an issue...

What do you mean by "didn't download the entire chain" ?

You can either sync the (full) blockchain or not sync it. You can't just partially sync it on your device.

Did you properly start core and started the syncing process ? If so, it doesn't matter when you paste your wallet.dat file into the data directory.
Simply just download + sync the blockchain, shutdown core, replace the wallet file (never delete a wallet file, always just rename them), start up core again with a rescan.

That's the fastest and most convenient way to check whether you still have funds sitting inside of your wallet. But your local copy of the blockchain has to be fully synced to be able to check different wallet.dat's for their BTC's.

wetcat33333 (OP)
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
March 21, 2019, 05:52:13 AM
 #7

I forgot to post the result.  I kept getting a message that wallet file was corrupted.  I sent it to a friend, bitcoin miner from way back, and he checked it and the balance was 0, but he also got the corrupted message and said he had never seen that before so he wanted me to try and check it on my old hard drive but I haven't done it yet.  I don't think there is anything recoverable, if there was anything to begin with.  Sad
poordeveloper
Hero Member
*****
Offline Offline

Activity: 896
Merit: 527


₿₿₿₿₿₿₿


View Profile WWW
March 21, 2019, 06:11:44 AM
 #8

I forgot to post the result.  I kept getting a message that wallet file was corrupted.  I sent it to a friend, bitcoin miner from way back, and he checked it and the balance was 0, but he also got the corrupted message and said he had never seen that before so he wanted me to try and check it on my old hard drive but I haven't done it yet.  I don't think there is anything recoverable, if there was anything to begin with.  Sad
Even if it's corrupt, you may be able to get some results using other methods.

Please note it's strongly recommended to backup your entire drive (or even working with a drive clone, if possible) before trying to recover the keys. A boot CD/USB is a great way to achieve this.

Then, here is a guide on how to use pywallet for searching keys: https://bitcointalk.org/index.php?topic=38004.0 (credits to LoyceV for listing it on his thread).

As a last resort, I repeat - as a last resort, and working with a backup: the -salvagewallet command may be able to recover some of the keys: https://en.bitcoin.it/wiki/Running_Bitcoin#Command-line_arguments

🎰 Bitcoin Casinos ⭐⭐⭐⭐⭐
.
🔵 Buy Bitcoin (Visa / Mastercard / SEPA / Bank Transfer / Western Union / MoneyGram / RIA)
calkob
Hero Member
*****
Offline Offline

Activity: 1092
Merit: 520


View Profile
March 23, 2019, 08:46:33 AM
 #9

I forgot to post the result.  I kept getting a message that wallet file was corrupted.  I sent it to a friend, bitcoin miner from way back, and he checked it and the balance was 0, but he also got the corrupted message and said he had never seen that before so he wanted me to try and check it on my old hard drive but I haven't done it yet.  I don't think there is anything recoverable, if there was anything to begin with.  Sad

Sent it to a friend............ opps  Shocked I hope you could trust him? how do you know that he didnt just move some Bitcoin from it?
Bitcoin_Arena
Copper Member
Legendary
*
Offline Offline

Activity: 2002
Merit: 1771


฿itcoin for all, All for ฿itcoin.


View Profile
March 23, 2019, 10:19:02 PM
 #10

Sent it to a friend............ opps  Shocked I hope you could trust him? how do you know that he didnt just move some Bitcoin from it?
What kind of foolish friend would that be?
He will obviously see a recent transaction if the friend did try to move out the Bitcoins

.BEST..CHANGE.███████████████
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
███████████████
..BUY/ SELL CRYPTO..
elda34b
Sr. Member
****
Offline Offline

Activity: 910
Merit: 351


View Profile
March 24, 2019, 02:58:22 AM
 #11

What kind of foolish friend would that be?
He will obviously see a recent transaction if the friend did try to move out the Bitcoins

Yep, but the problem is how to prove that he is the one who did that transaction.
Anyway, that's not really a good practice unless you've a very trusted friend. As long as OP doesn't give away any file online.
keychainX
Member
**
Offline Offline

Activity: 374
Merit: 53

Telegram @keychainX


View Profile WWW
March 28, 2019, 01:33:05 PM
 #12

Hi, so I installed bitcoin and did a bit of mining back in 2011, forgot about it until a friend of my started talking about bitcoin and I remembered I had tried it so he suggested I look on my old hard drive for a wallet.dat file, I did and I found one.  I am installing bitcoin core now, downloading part of the chain, I added prune 1000 because it's just too much for my machine.  I did try to open the old wallet by replacing the wallet.dat file with my old file but got a message saying it was corrupted. I am waiting until bitcoin finishes downloading to try it again but if it doesn't work - any suggestions?

Thanks!

If you are familiar with python, then you can use pywallet.py to dump your key, then you can import it into a lightwallet like electrum. No need to download the whole
blockchain and sync.

Pywallet can be downloaded from here: https://github.com/jackjack-jj/pywallet (its opensource)

Electrum can be downloaded here: https://electrum.org/#download

Anyways, pls post updates how it went.

/KX

wetcat33333 (OP)
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
March 30, 2019, 06:05:50 PM
 #13

I forgot to post the result.  I kept getting a message that wallet file was corrupted.  I sent it to a friend, bitcoin miner from way back, and he checked it and the balance was 0, but he also got the corrupted message and said he had never seen that before so he wanted me to try and check it on my old hard drive but I haven't done it yet.  I don't think there is anything recoverable, if there was anything to begin with.  Sad
Even if it's corrupt, you may be able to get some results using other methods.

Please note it's strongly recommended to backup your entire drive (or even working with a drive clone, if possible) before trying to recover the keys. A boot CD/USB is a great way to achieve this.

Then, here is a guide on how to use pywallet for searching keys: https://bitcointalk.org/index.php?topic=38004.0 (credits to LoyceV for listing it on his thread).

As a last resort, I repeat - as a last resort, and working with a backup: the -salvagewallet command may be able to recover some of the keys: https://en.bitcoin.it/wiki/Running_Bitcoin#Command-line_arguments

Thanks. I did write down the seed, I found that the other day.
wetcat33333 (OP)
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
March 30, 2019, 06:13:48 PM
 #14

I forgot to post the result.  I kept getting a message that wallet file was corrupted.  I sent it to a friend, bitcoin miner from way back, and he checked it and the balance was 0, but he also got the corrupted message and said he had never seen that before so he wanted me to try and check it on my old hard drive but I haven't done it yet.  I don't think there is anything recoverable, if there was anything to begin with.  Sad

Sent it to a friend............ opps  Shocked I hope you could trust him? how do you know that he didnt just move some Bitcoin from it?


I've known him for 20 years. He has plenty of BTC.  He was one of the first miners, he's the one that told me about it back in 2011. But yeah, normally, that's not a good idea. Smiley
wetcat33333 (OP)
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
March 30, 2019, 09:06:58 PM
 #15

Hi, so I installed bitcoin and did a bit of mining back in 2011, forgot about it until a friend of my started talking about bitcoin and I remembered I had tried it so he suggested I look on my old hard drive for a wallet.dat file, I did and I found one.  I am installing bitcoin core now, downloading part of the chain, I added prune 1000 because it's just too much for my machine.  I did try to open the old wallet by replacing the wallet.dat file with my old file but got a message saying it was corrupted. I am waiting until bitcoin finishes downloading to try it again but if it doesn't work - any suggestions?

Thanks!

If you are familiar with python, then you can use pywallet.py to dump your key, then you can import it into a lightwallet like electrum. No need to download the whole
blockchain and sync.

Pywallet can be downloaded from here: https://github.com/jackjack-jj/pywallet (its opensource)

Electrum can be downloaded here: https://electrum.org/#download

Anyways, pls post updates how it went.

/KX

I have electrum, just tried to import the old wallet and got this message: "Cannot read file"

wetcat33333 (OP)
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
March 30, 2019, 10:00:41 PM
 #16

I forgot to post the result.  I kept getting a message that wallet file was corrupted.  I sent it to a friend, bitcoin miner from way back, and he checked it and the balance was 0, but he also got the corrupted message and said he had never seen that before so he wanted me to try and check it on my old hard drive but I haven't done it yet.  I don't think there is anything recoverable, if there was anything to begin with.  Sad
Even if it's corrupt, you may be able to get some results using other methods.

Please note it's strongly recommended to backup your entire drive (or even working with a drive clone, if possible) before trying to recover the keys. A boot CD/USB is a great way to achieve this.

Then, here is a guide on how to use pywallet for searching keys: https://bitcointalk.org/index.php?topic=38004.0 (credits to LoyceV for listing it on his thread).

As a last resort, I repeat - as a last resort, and working with a backup: the -salvagewallet command may be able to recover some of the keys: https://en.bitcoin.it/wiki/Running_Bitcoin#Command-line_arguments

Thanks. I did write down the seed, I found that the other day.

And why is -salvagewallet a last resort? I tried that back in Sept when I first found the file.
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
March 30, 2019, 10:21:18 PM
 #17

Thanks. I did write down the seed, I found that the other day.
If you have a "seed that you wrote down"... then you didn't have Bitcoin Core. Bitcon Core has never used "12 word seed mnemonics".


I have electrum, just tried to import the old wallet and got this message: "Cannot read file"
And why is -salvagewallet a last resort? I tried that back in Sept when I first found the file.
If it was an Electrum wallet file... and you attempted to load it into Bitcoin Core using -salvagewallet, you probably corrupted the wallet file. Hence why Electrum will no longer be able to read it. "salvagewallet" tries it's best to extract keys, but will irrevocably change the wallet file... so if it wasn't a Bitcoin Core wallet file, it will likely end up corrupted.


So, if you have an Electrum seed, use Electrum, create new wallet file, use "standard wallet -> I already have a seed" option and input the seed... wallet will be regenerated.

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
wetcat33333 (OP)
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
March 30, 2019, 10:45:15 PM
 #18

Thanks. I did write down the seed, I found that the other day.
If you have a "seed that you wrote down"... then you didn't have Bitcoin Core. Bitcon Core has never used "12 word seed mnemonics".


I have electrum, just tried to import the old wallet and got this message: "Cannot read file"
And why is -salvagewallet a last resort? I tried that back in Sept when I first found the file.
If it was an Electrum wallet file... and you attempted to load it into Bitcoin Core using -salvagewallet, you probably corrupted the wallet file. Hence why Electrum will no longer be able to read it. "salvagewallet" tries it's best to extract keys, but will irrevocably change the wallet file... so if it wasn't a Bitcoin Core wallet file, it will likely end up corrupted.


So, if you have an Electrum seed, use Electrum, create new wallet file, use "standard wallet -> I already have a seed" option and input the seed... wallet will be regenerated.

No, the old wallet was a bitcoin wallet. I tried to load it into bitcoin with -salvagewallet months ago. Maybe that corrupted it?  I have another backup copy.

Today I tried electrum and got the error.  The seed I found was not the old seed, it was the new seed Sad I might have written itdown somewhere else but who knows...  I took at my old files and I do have an address.dat file.  Do you know of a way to get my old address off of that?
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
March 31, 2019, 01:53:55 AM
 #19

I took at my old files and I do have an address.dat file.  Do you know of a way to get my old address off of that?

According to the wiki...
addr.dat [Versions prior to v0.7.0]
 - Storage for ip addresses to make a reconnect easier

So I doubt that the file you have, has anything related to your wallet or biutcoin addresses in it. Undecided



No, the old wallet was a bitcoin wallet.

Today I tried electrum and got the error.  The seed I found was not the old seed, it was the new seed Sad I might have written itdown somewhere else but who knows...  
I am confused, because you keep talking about "seeds"??!? Huh Bitcoin Core never utilised "seed mnemonics" (aka 12 word phrases etc) as a backup system. So, unless you are also attempting to recover a completely unrelated Electrum/BIP39 wallet... any seeds you may or may not have written down are completely irrelevant, with regards to recovering your Bitcoin Core wallet.

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
wetcat33333 (OP)
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
March 31, 2019, 02:29:44 AM
 #20

I took at my old files and I do have an address.dat file.  Do you know of a way to get my old address off of that?

According to the wiki...
addr.dat [Versions prior to v0.7.0]
 - Storage for ip addresses to make a reconnect easier

So I doubt that the file you have, has anything related to your wallet or biutcoin addresses in it. Undecided

OK.

No, the old wallet was a bitcoin wallet.

Today I tried electrum and got the error.  The seed I found was not the old seed, it was the new seed Sad I might have written itdown somewhere else but who knows...  
I am confused, because you keep talking about "seeds"??!? Huh Bitcoin Core never utilised "seed mnemonics" (aka 12 word phrases etc) as a backup system. So, unless you are also attempting to recover a completely unrelated Electrum/BIP39 wallet... any seeds you may or may not have written down are completely irrelevant, with regards to recovering your Bitcoin Core wallet.

Really? I thought I remembered using a seed way back when, maybe not.  I checked my old hard drive, the only thing on it was Bitcoin. I'm going to try pywallet as soon as I figure it out.

Pages: [1] 2 »  All
  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!