Author

Topic: restore wallet.dat (Read 5090 times)

newbie
Activity: 46
Merit: 0
January 31, 2014, 02:57:30 PM
#18
make sure you have a second backup of wallet.dat
member
Activity: 70
Merit: 10
January 31, 2014, 12:19:40 PM
#17
Bad luck IIIXLRIII. Did you try using the -rescan option ?
newbie
Activity: 2
Merit: 0
January 27, 2014, 05:36:13 AM
#16
My Macbook crashed... reinstalled OS X
Recovered my QT client & .Dat - .Cvs documents from 16G SD card.
When I launched the app, my balance didn't load.
The wallet was encrypted. . .
newbie
Activity: 23
Merit: 0
April 15, 2013, 01:36:57 PM
#15
But encrypting a wallet.dat creates 100 new keys in a keypool (...)

I believe you understand it wrong. The Bitcoin-qt client always keeps 100 addresses in reserve, regardless of the walet being encrypted or not.
newbie
Activity: 18
Merit: 0
April 15, 2013, 12:53:44 PM
#14
But encrypting a wallet.dat creates 100 new keys in a keypool, so I'm not so sure it's a good plan to decrypt it for use, then encrypt it for storage. If you google things like encrypted wallets bitcointalk, you'll find people complaining about this. I could have sworn I read people dealing with wallets that had completely different addresses encrypted compared to decrypted.

I don't see how encrypting a wallet causes new keys to be created. Can you provide a reference to specific examples of this being discussed? I could not surface anything in google on this with the terms you suggested above.

Quote
Also, if you're going to use a wallet.dat for offline use, a wallet.dat from bitcoin-qt isn't a deterministic wallet, so once 100 addresses are used up, and they will be due to change, the offline won't be keeping up with the keys getting created online, or something like that. It's quite complicated, I still don't understand it myself.

Well, you should backup wallet.dat more frequently if you are using it for a lot of payments and therefore receiving a lot of change, which forces new keys to be generated as you burn through the first 100.

This is not an issue though if you are only using the wallet primarily for cold storage.
full member
Activity: 205
Merit: 100
April 12, 2013, 07:47:17 PM
#13
But encrypting a wallet.dat creates 100 new keys in a keypool, so I'm not so sure it's a good plan to decrypt it for use, then encrypt it for storage. If you google things like encrypted wallets bitcointalk, you'll find people complaining about this. I could have sworn I read people dealing with wallets that had completely different addresses encrypted compared to decrypted.

Also, if you're going to use a wallet.dat for offline use, a wallet.dat from bitcoin-qt isn't a deterministic wallet, so once 100 addresses are used up, and they will be due to change, the offline won't be keeping up with the keys getting created online, or something like that. It's quite complicated, I still don't understand it myself.
newbie
Activity: 56
Merit: 0
March 27, 2013, 04:45:39 PM
#12
Thanks for the info.. very helpful.
newbie
Activity: 18
Merit: 0
March 26, 2013, 03:17:18 PM
#11
why are people doing this? is it because of btc viruses, or something? or are you just paranoid?
Disaster recovery planning.
newbie
Activity: 13
Merit: 0
March 26, 2013, 03:14:07 PM
#10
why are people doing this? is it because of btc viruses, or something? or are you just paranoid?
newbie
Activity: 18
Merit: 0
March 26, 2013, 11:20:36 AM
#9
That was my understanding too. I'm glad to hear that only the wallet.dat file is what acts as the container for the "crown jewels" and that it is as simple as keeping that file well protected. Will test it out to confirm for myself that all works as described in this thread.

Thanks everyone for your questions/input.
Please share your results. Thanks.
Worked as expected. I created two wallet.dat files with different public/private keys stored in them and swapped them around at will. Main thing was to shutdown Bitcoin-Qt first, then swap the files, then start it up again.

Some other stuff I tested on two different machines (both OS X running 0.8.0 (haven't upgraded to 0.8.1 yet):

Downloaded entire blockchain on machine A and created a wallet on it too. Installed Bitcoin-Qt on machine B but DID NOT start it up. Instead I first copied the whole data directory (~/Library/Application Support/Bitcoin) from A to B. Then booted it up on B and it synced the last couple of blocks and was up and running nicely without having to sync the whole blockchain from scratch (and the keys from my wallet where there too). So was easy to port everything over to another machine and be up and running quickly.
newbie
Activity: 56
Merit: 0
March 24, 2013, 04:17:21 PM
#8
I guess in old versions of Bitcoin-Qt you had to -resync or something after copying back in wallet.dat.

I just wanted to make sure you don't have to do that now.

That was my understanding too. I'm glad to hear that only the wallet.dat file is what acts as the container for the "crown jewels" and that it is as simple as keeping that file well protected. Will test it out to confirm for myself that all works as described in this thread.

Thanks everyone for your questions/input.

Please share your results. Thanks.
newbie
Activity: 18
Merit: 0
March 24, 2013, 10:31:11 AM
#7
I guess in old versions of Bitcoin-Qt you had to -resync or something after copying back in wallet.dat.

I just wanted to make sure you don't have to do that now.

That was my understanding too. I'm glad to hear that only the wallet.dat file is what acts as the container for the "crown jewels" and that it is as simple as keeping that file well protected. Will test it out to confirm for myself that all works as described in this thread.

Thanks everyone for your questions/input.
newbie
Activity: 56
Merit: 0
March 24, 2013, 10:06:32 AM
#6
To do this, do I just need to re-install Bitcoin-Qt, let it sync, shut it down, and then overwrite the wallet.dat with my back up from my external drive? When I turn Bitcoin-Qt back on, will I see my wallet and be able to sell/sent?

Yes that will work fine.

Thanks. I'll test it out.

I guess in old versions of Bitcoin-Qt you had to -resync or something after copying back in wallet.dat.

I just wanted to make sure you don't have to do that now.
newbie
Activity: 9
Merit: 0
March 24, 2013, 08:52:41 AM
#5
thanks for the info guys, the should be a basics thread somewhere..
sr. member
Activity: 412
Merit: 250
March 24, 2013, 08:26:28 AM
#4
To do this, do I just need to re-install Bitcoin-Qt, let it sync, shut it down, and then overwrite the wallet.dat with my back up from my external drive? When I turn Bitcoin-Qt back on, will I see my wallet and be able to sell/sent?

Yes that will work fine.
newbie
Activity: 56
Merit: 0
March 24, 2013, 08:12:38 AM
#3
The thing is I won't be using Bitcoin on my computer to sell, so I don't need to keep it on there at all. Maybe in a year or so (who knows) I'll want to load up my wallet and sell.

I just want to remove it and then restore it later.

My question is:

To do this, do I just need to re-install Bitcoin-Qt, let it sync, shut it down, and then overwrite the wallet.dat with my back up from my external drive? When I turn Bitcoin-Qt back on, will I see my wallet and be able to sell/sent?
legendary
Activity: 966
Merit: 1004
CryptoTalk.Org - Get Paid for every Post!
March 23, 2013, 11:25:21 PM
#2
Man youre doing too much...

 just install bitcoin let it sync .. do your transactions then turn it off and encrypt the wallet.dat with maybe --->>>  http://lrzip.kolivas.org/


Copy/move the wallet to a usb drive ..


Next time you want to use bitcoin.. First decrypt the wallet.dat and then turn on bitcoin and use it..

When done turn it off and encrypt the wallet.dat, and move or copy it to USB or secure location.



If youre that noid just move the wallet after encryption to a USB like mentioned and just put it back after you decrytpt the next time you use bitcoin.

Use one of these from each group in your pass:

Lowercase: abcdefghijklmnopqrstuvwxyz
 Uppercase: ABCDEFGHIJKLMNOPQRSTUVWXYZ
 Number: 1234567890
 Symbol: `~!@#$%^&*()-_=+\|[{]};:'",<.>/?

Smiley

newbie
Activity: 56
Merit: 0
March 23, 2013, 11:08:07 PM
#1
Here's what I did:

Installed (Mac)

- I installed Bitcoin-Qt (v0.8.1-beta)
- I let the application synchronize
- I then encrypted the wallet with a password
- I shut down Bitcoin-Qt
- I moved the wallet.dat to an external drive

I bought one bitcoin. I see it in my wallet.

Uninstalled

- I removed/uninstalled Bitcoin-Qt
- I deleted the Bitcoin directory from ~Library...
- I securely emptied my trash (there should be no reference to Bitcoin on my computer)

I plan on receiving coins and checking my balance online, from this point on, at blockexplorer.

If I want to sell/send my bitcoins one day, I'll need to restore my wallet.dat file.

To do this, do I just need to re-install Bitcoin-Qt, let it sync, shut it down, and then overwrite the wallet.dat with my back up from my external drive? When I turn Bitcoin-Qt back on, will I see my wallet and be able to sell/sent?

Thanks

Jump to: