Bitcoin Forum
December 14, 2024, 12:38:43 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: wallet.dat file need periodical backup? or just one time?  (Read 276 times)
wsxdrfv (OP)
Jr. Member
*
Offline Offline

Activity: 413
Merit: 5


View Profile WWW
June 21, 2018, 03:09:29 AM
 #1

wallet.dat file is important,

1. so is it enough to backup it just once?

2. or should it be backup continuously?

I think 1 is right. Is this right?
ranochigo
Legendary
*
Offline Offline

Activity: 3052
Merit: 4443


Crypto Swap Exchange


View Profile
June 21, 2018, 03:21:09 AM
 #2

Depends on when you've created the wallet. If you've created the wallet (not restore) recently, then you probably just need one. If it says HD at the bottom right, one backup is enough, unless you change or set a password.

If you've created the wallet a long time ago and the bottom right doesn't have the HD symbol, you need to backup per 1000 or 100 transactions, depending on your configuration.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
Xynerise
Sr. Member
****
Offline Offline

Activity: 322
Merit: 363

39twH4PSYgDSzU7sLnRoDfthR6gWYrrPoD


View Profile
June 21, 2018, 05:43:27 AM
 #3

Any time a change is made to the wallet a new backup is required (and as always, its smart to have your private keys saved as well.)
MEANING: You encrypt your wallet / change your password or you receive new coins, new back up needed.
You don't need to backup your wallet once you receive coins if it's a HD wallet.
Also backup of wallet is the same as backing up your p private keys.
rpstatic
Jr. Member
*
Offline Offline

Activity: 53
Merit: 7


View Profile
June 21, 2018, 07:54:05 AM
 #4

One backup is not always enough. The first time you start your qt wallet it will create about 100 addresses with private keys for you, but only one of it will be visible.

If you then encrypt your wallet, the reserved addresses are flushed and new ones will be generated. So it's important that you backup your wallet again after you have encrypted it! Otherwise you don't have your private keys from newly generated addresses.
ranochigo
Legendary
*
Offline Offline

Activity: 3052
Merit: 4443


Crypto Swap Exchange


View Profile
June 21, 2018, 07:58:22 AM
 #5

One backup is not always enough. The first time you start your qt wallet it will create about 100 addresses with private keys for you, but only one of it will be visible.
The keypool has been increased to 1000. The wallet maintains the keypool at 1000 as long as your backup is from a recent version of Bitcoin Core. It's generated every time the wallet has been unlocked. You can back it up whenever you want and that backup will be valid for 1000 transactions. The general consensus is to back it up every 100/1000 transaction since your addresses will definitely be used up by then.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
rpstatic
Jr. Member
*
Offline Offline

Activity: 53
Merit: 7


View Profile
June 21, 2018, 08:05:58 AM
 #6

One backup is not always enough. The first time you start your qt wallet it will create about 100 addresses with private keys for you, but only one of it will be visible.
The keypool has been increased to 1000. The wallet maintains the keypool at 1000 as long as your backup is from a recent version of Bitcoin Core. It's generated every time the wallet has been unlocked. You can back it up whenever you want and that backup will be valid for 1000 transactions. The general consensus is to back it up every 100/1000 transaction since your addresses will definitely be used up by then.

Do you know in which version they changed it? Recently I tested a few altcoin wallets and the daemon always states something like generating address 1 .. 100.

So, OP, just be careful and backup the wallet file from time to time.
ranochigo
Legendary
*
Offline Offline

Activity: 3052
Merit: 4443


Crypto Swap Exchange


View Profile
June 21, 2018, 08:20:33 AM
 #7

Do you know in which version they changed it? Recently I tested a few altcoin wallets and the daemon always states something like generating address 1 .. 100.
It was changed in v0.15.0[1]. Most altcoin wallets are always behind Bitcoin and its not a significant change anyway. If you want, you can increase or decrease the keypool by running it with a flag.



[1] https://bitcoin.org/en/release/v0.15.0#performance-improvements

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
MrCrank
Sr. Member
****
Offline Offline

Activity: 1330
Merit: 258



View Profile
June 21, 2018, 08:54:44 AM
 #8

wallet.dat file is important,

1. so is it enough to backup it just once?

2. or should it be backup continuously?

I think 1 is right. Is this right?


What wallet do you use Bitcoin Core or Electrum?
I think need save all private keys, this is easy to use..

cellard
Legendary
*
Offline Offline

Activity: 1372
Merit: 1252


View Profile
June 21, 2018, 07:19:01 PM
 #9

My wallet is from the old Bitcoin-QT days so I assume originally it was a backup-every-100-generated-keys one. The "HD" sign in the lower right of the window is still greyed anymore, so I assume it still is the case and I need to make backups every 100 newly generated addresses.

In any case I always make backups after a decent amount of generated addresses and I never delete wallet.dat files, just rename them and put them somewhere. I can't be bothered to create a new wallet and send all of my coins over there, not looking forward to paying the fees even with the mempool now at cheap prices. Just keep making backups as you should anyway and you'll be ok. If anything this forces you to not get lazy on the backup game.
kantoi
Newbie
*
Offline Offline

Activity: 84
Merit: 0


View Profile
June 21, 2018, 07:30:02 PM
 #10

In addition to backing up the wallet frequently I am storing my private keys of all addresses at secret places. You might want to do that too...

You could also write a little bat file to copy all your wallets.
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!