Bitcoin Forum
November 16, 2024, 12:35:13 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Wallet Backups  (Read 624 times)
BinoX (OP)
Full Member
***
Offline Offline

Activity: 140
Merit: 100


View Profile
December 16, 2011, 12:02:42 AM
 #1

Is all that's needed to backup a wallet a copy of the wallet.dat file? And to restore it to a new machine do you just install bitcoin again and copy the wallet.dat back?

Also, what would happen if you put the same wallet.dat on 2 machines at once?

(Those questions were probably answered elsewhere but I never have any luck finding answers)
ovidiusoft
Sr. Member
****
Offline Offline

Activity: 252
Merit: 250


View Profile
December 16, 2011, 12:32:17 AM
 #2

Is all that's needed to backup a wallet a copy of the wallet.dat file? And to restore it to a new machine do you just install bitcoin again and copy the wallet.dat back?

Yes.

Quote
Also, what would happen if you put the same wallet.dat on 2 machines at once?
(Those questions were probably answered elsewhere but I never have any luck finding answers)

I didn't try to do it. I think it's most likely the client (and you) will get confused because the history and balance will change if the other copy spends some coins. After the first outgoing transaction, there will also be new private keys for that copy of the wallet, so the two wallets will no longer be identical and it will be difficult to merge them again. Better to avoid doing it.
BinoX (OP)
Full Member
***
Offline Offline

Activity: 140
Merit: 100


View Profile
December 16, 2011, 12:41:38 AM
 #3

Thanks for the quick answers.

I had a feeling that behaviour for "duplicate" wallets running at once would be "undefined". Wasn't planning to try it, I was just curious.

Thanks again.
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!