Bitcoin Forum
May 08, 2024, 12:28:12 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Did I fail at backing up my wallet.dat?  (Read 871 times)
sydsid (OP)
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
June 21, 2016, 11: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 :<
The trust scores you see are subjective; they will change depending on who you have in your trust list.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715128092
Hero Member
*
Offline Offline

Posts: 1715128092

View Profile Personal Message (Offline)

Ignore
1715128092
Reply with quote  #2

1715128092
Report to moderator
1715128092
Hero Member
*
Offline Offline

Posts: 1715128092

View Profile Personal Message (Offline)

Ignore
1715128092
Reply with quote  #2

1715128092
Report to moderator
md1120
Newbie
*
Offline Offline

Activity: 42
Merit: 0


View Profile
June 21, 2016, 11:06:27 AM
 #2

how to backup a wallet data?
wintermeasures
Sr. Member
****
Offline Offline

Activity: 322
Merit: 250



View Profile
June 21, 2016, 11: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
sydsid (OP)
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
June 21, 2016, 11: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
shorena
Copper Member
Legendary
*
Offline Offline

Activity: 1498
Merit: 1520


No I dont escrow anymore.


View Profile WWW
June 21, 2016, 11: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.

Im not really here, its just your imagination.
sydsid (OP)
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
June 21, 2016, 11: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
Real-Duke
Legendary
*
Offline Offline

Activity: 3374
Merit: 2148


Top Crypto Casino


View Profile
June 21, 2016, 11: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

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


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

Activity: 5
Merit: 0


View Profile
June 21, 2016, 12:03:34 PM
 #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
Real-Duke
Legendary
*
Offline Offline

Activity: 3374
Merit: 2148


Top Crypto Casino


View Profile
June 21, 2016, 12:09:03 PM
 #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?

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


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
opossum
Hero Member
*****
Offline Offline

Activity: 924
Merit: 1000


View Profile
June 21, 2016, 12:21:27 PM
 #10

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.


 
         ▄▄█████████▄▄
      ▄█████████████████▄
   ▄████▀            ▀████▄
  █████                █████▄
 ███████████████████████████▄
████▀▀▀▀▀▀▀████████▀▀▀▀▀▀▀███▄
████        ██████        ████
████        ██████        ████
████        ██████        ████
████        ██████        ████
 ████▄      ██████      ▄████
  ▀████     ██████    ▄████▀
    ▀████▄▄▄██████▄▄▄████▀
      ▀▀██████████████▀▀
TIDEX



DannyHamilton
Legendary
*
Offline Offline

Activity: 3388
Merit: 4653



View Profile
June 21, 2016, 12:30:22 PM
 #11

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.
sydsid (OP)
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
June 21, 2016, 12:34:23 PM
 #12

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
philipma1957
Legendary
*
Online Online

Activity: 4116
Merit: 7858


'The right to privacy matters'


View Profile WWW
June 21, 2016, 01:12:25 PM
 #13

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

▄▄███████▄▄
▄██████████████▄
▄██████████████████▄
▄████▀▀▀▀███▀▀▀▀█████▄
▄█████████████▄█▀████▄
███████████▄███████████
██████████▄█▀███████████
██████████▀████████████
▀█████▄█▀█████████████▀
▀████▄▄▄▄███▄▄▄▄████▀
▀██████████████████▀
▀███████████████▀
▀▀███████▀▀
.
 MΞTAWIN  THE FIRST WEB3 CASINO   
.
.. PLAY NOW ..
Real-Duke
Legendary
*
Offline Offline

Activity: 3374
Merit: 2148


Top Crypto Casino


View Profile
June 21, 2016, 02:37:43 PM
 #14

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

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


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
philipma1957
Legendary
*
Online Online

Activity: 4116
Merit: 7858


'The right to privacy matters'


View Profile WWW
June 21, 2016, 04:30:23 PM
 #15

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

▄▄███████▄▄
▄██████████████▄
▄██████████████████▄
▄████▀▀▀▀███▀▀▀▀█████▄
▄█████████████▄█▀████▄
███████████▄███████████
██████████▄█▀███████████
██████████▀████████████
▀█████▄█▀█████████████▀
▀████▄▄▄▄███▄▄▄▄████▀
▀██████████████████▀
▀███████████████▀
▀▀███████▀▀
.
 MΞTAWIN  THE FIRST WEB3 CASINO   
.
.. PLAY NOW ..
Real-Duke
Legendary
*
Offline Offline

Activity: 3374
Merit: 2148


Top Crypto Casino


View Profile
June 21, 2016, 09:33:16 PM
 #16


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.

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


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
patronis
Sr. Member
****
Offline Offline

Activity: 420
Merit: 250


View Profile
June 21, 2016, 10: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
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!