Author

Topic: Did I fail at backing up my wallet.dat? (Read 894 times)

sr. member
Activity: 420
Merit: 250
June 21, 2016, 05:21:43 PM
#17
Everything below was written with bitcoin core in mind since its the only wallet I know that uses files called "wallet.dat"

how to backup a wallet data?

File -> Backup



Hi guys Smiley not new there but can't remember my nickname nor my registration email.

Simple question:
Let's say Monday I have 15 btc. Monday night I backup my wallet.dat on an external drive.
Thursday I get 5 more btc, so total btc on my wallet = 20.
Wednesday my computer crashes, I reinstall Windows, then Bitcoin-qt, then put back the wallet.dat I backed up on Monday.

Will I have 20 btc or only 15?

This happened for real and I'm not sure I got back all my coins :<

20 BTC course, because bitcoin you go online and recorded in the data base of your wallet. because bitcoin does not go into your pc, but to your wallet. Thank you

No, no, no. Stop posting bullshit for a few satoshi.

#1 "bitcoin does not go into your pc, but to your wallet"

OP is talking about a local wallet, namely bitcoin core as indicated by the wallet.dat filename. Thus, the crucial private keys are stored in the wallet file, which is not "online".

#2 The correct answer is not "20 BTC (of) course", but maybe 20 BTC maybe 15 BTC.

Bitcoin core - by default - keeps up to 100 private keys pregenerated and hidden from the user. If the 5 BTC have been received on an address that was generated with the private key 101 after the last backup (or any later key), the answer is 15 BTC. If the 5 BTC have been received on an address that can be generated with one of these 100 private keys, the answer is 20 BTC. Bitcoin core requires periodical backups, as the pool of private keys still covered by the last one constantly decrease, e.g. due to change addresses or new receiving addresses.

Should also mention that you want to store your wallet (and most importantly encrypt it!) in a safe place. Stolen wallet + encryption key = bye bye bitcoins
legendary
Activity: 3486
Merit: 2287
Top Crypto Casino

he said he has windows in the first post.

Ohh you're right on this, sorry I haven't seen!  Shocked
But after all the kind help in this thread it looks like he has sorted his problems out.
legendary
Activity: 4256
Merit: 8551
'The right to privacy matters'
you can avoid this  in the future  by using apple mac minis and the cloning program super duper.

15 to 20 coins are enoguh to consider doing this

He never mentioned about his OS  Undecided

he said he has windows in the first post.

I run 0.12.1 on a mac mini with a cloner program super duper.

 I clone the hdd onto 2 other hdds. on Monday and on Thursday each  week.

I also don't switch out addresses . I use  a hot wallet on blockchain.info
legendary
Activity: 3486
Merit: 2287
Top Crypto Casino
you can avoid this  in the future  by using apple mac minis and the cloning program super duper.

15 to 20 coins are enoguh to consider doing this

He never mentioned about his OS  Undecided
legendary
Activity: 4256
Merit: 8551
'The right to privacy matters'
you can avoid this  in the future  by using apple mac minis and the cloning program super duper.

15 to 20 coins are enoguh to consider doing this
newbie
Activity: 5
Merit: 0
So the really important thing to know is: When did you generate the last of your 3-4 payment adress on that you have been receive the 5 coins?

It's been almost two years so unfortunately I can't answer that. That's why I'm wondering if I didn't use a too old backup.
I launched a file recovery to see if I can get back a more recent version of my wallet.dat.

Thank you all for your help Smiley
legendary
Activity: 3472
Merit: 4801
Yes but the last coins I received might have been received on an address that wasn't generated yet when I made my backup Sad

Very unlikely.

When you first create your wallet, it creates 100 private keys and addresses.  It keeps them all hidden from you and stores them in your wallet.dat.

Then whenever you request an address for someone to pay you, or create a transaction to send bitcoins to someone, the wallet uses one of those 100 addresses. The wallet then replenishes this pool of 100 addresses whenever it can (if you have password protected your wallet, then that would be whenever you enter your password).

So if you entered your password shortly before you backed up on Monday and the sum of addresses you requested plus transactions you sent after you backed up your wallet on Monday was greater than 100 before you generated the address on Thursday, then the Thursday address won't be in your wallet.dat and you will have lost those bitcoins.

However, if the sum of addresses you requested plus transactions you sent after you entered your password and backed up your wallet on Monday is less than 100 before you generated the address on Thursday, then the Thursday address will be one of the 100 addresses that you backed up on Monday.
hero member
Activity: 924
Merit: 1000
Hi guys Smiley not new there but can't remember my nickname nor my registration email.

Simple question:
Let's say Monday I have 15 btc. Monday night I backup my wallet.dat on an external drive.
Thursday I get 5 more btc, so total btc on my wallet = 20.
Wednesday my computer crashes, I reinstall Windows, then Bitcoin-qt, then put back the wallet.dat I backed up on Monday.

Will I have 20 btc or only 15?

This happened for real and I'm not sure I got back all my coins :<
If you have received another 5BTC to the bitcoin address that is a part of wallet.dat file that you backup on external drive then you will have 20BTC in your wallet.
legendary
Activity: 3486
Merit: 2287
Top Crypto Casino
June 21, 2016, 07:09:03 AM
#9
So the really important thing to know is: When did you generate the last of your 3-4 payment adress on that you have been receive the 5 coins?
newbie
Activity: 5
Merit: 0
June 21, 2016, 07:03:34 AM
#8
Yes but the last coins I received might have been received on an address that wasn't generated yet when I made my backup Sad
legendary
Activity: 3486
Merit: 2287
Top Crypto Casino
June 21, 2016, 06:55:21 AM
#7
If you receive the 5 btc on an older existing adress generated before the monday backup you don't have to worry about.
You wrote that you have only 3-4 adresses
newbie
Activity: 5
Merit: 0
June 21, 2016, 06:26:40 AM
#6
Yes I'm using bitcoin core / bitcoin-qt. I only generated like 3-4 adresses so far. I'm not sure I did get this part : "If the 5 BTC have been received on an address that can be generated with one of these 100 private keys", what does determine if I received the coins on one of those 100 private keys or not?

So what you mean is that, as I didn't backup my wallet.dat on Thursday, the Monday backup could lack the 5 thursday coins?

hmm Cry
copper member
Activity: 1498
Merit: 1528
No I dont escrow anymore.
June 21, 2016, 06:18:44 AM
#5
Everything below was written with bitcoin core in mind since its the only wallet I know that uses files called "wallet.dat"

how to backup a wallet data?

File -> Backup



Hi guys Smiley not new there but can't remember my nickname nor my registration email.

Simple question:
Let's say Monday I have 15 btc. Monday night I backup my wallet.dat on an external drive.
Thursday I get 5 more btc, so total btc on my wallet = 20.
Wednesday my computer crashes, I reinstall Windows, then Bitcoin-qt, then put back the wallet.dat I backed up on Monday.

Will I have 20 btc or only 15?

This happened for real and I'm not sure I got back all my coins :<

20 BTC course, because bitcoin you go online and recorded in the data base of your wallet. because bitcoin does not go into your pc, but to your wallet. Thank you

No, no, no. Stop posting bullshit for a few satoshi.

#1 "bitcoin does not go into your pc, but to your wallet"

OP is talking about a local wallet, namely bitcoin core as indicated by the wallet.dat filename. Thus, the crucial private keys are stored in the wallet file, which is not "online".

#2 The correct answer is not "20 BTC (of) course", but maybe 20 BTC maybe 15 BTC.

Bitcoin core - by default - keeps up to 100 private keys pregenerated and hidden from the user. If the 5 BTC have been received on an address that was generated with the private key 101 after the last backup (or any later key), the answer is 15 BTC. If the 5 BTC have been received on an address that can be generated with one of these 100 private keys, the answer is 20 BTC. Bitcoin core requires periodical backups, as the pool of private keys still covered by the last one constantly decrease, e.g. due to change addresses or new receiving addresses.
newbie
Activity: 5
Merit: 0
June 21, 2016, 06:16:22 AM
#4
Sorry I posted in the wrong forum, this is a technical question I guess.

Thank you wintermeasures Smiley gotta figure why I'm missing coins then, I might have lost them on cryptsy.

mdd1120 : depends on your system, using Windows type %appdata% and then go to your Bitcoin folder, the wallet.dat should be there. I strongly encourage you to back it up. Smiley
sr. member
Activity: 322
Merit: 250
June 21, 2016, 06:08:47 AM
#3
Hi guys Smiley not new there but can't remember my nickname nor my registration email.

Simple question:
Let's say Monday I have 15 btc. Monday night I backup my wallet.dat on an external drive.
Thursday I get 5 more btc, so total btc on my wallet = 20.
Wednesday my computer crashes, I reinstall Windows, then Bitcoin-qt, then put back the wallet.dat I backed up on Monday.

Will I have 20 btc or only 15?

This happened for real and I'm not sure I got back all my coins :<

20 BTC course, because bitcoin you go online and recorded in the data base of your wallet. because bitcoin does not go into your pc, but to your wallet. Thank you
newbie
Activity: 42
Merit: 0
June 21, 2016, 06:06:27 AM
#2
how to backup a wallet data?
newbie
Activity: 5
Merit: 0
June 21, 2016, 06:03:06 AM
#1
Hi guys Smiley not new there but can't remember my nickname nor my registration email.

Simple question:
Let's say Monday I have 15 btc. Monday night I backup my wallet.dat on an external drive.
Thursday I get 5 more btc, so total btc on my wallet = 20.
Wednesday my computer crashes, I reinstall Windows, then Bitcoin-qt, then put back the wallet.dat I backed up on Monday.

Will I have 20 btc or only 15?

This happened for real and I'm not sure I got back all my coins :<
Jump to: