Bitcoin Forum
May 05, 2024, 02:30:11 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Backup private key or wallet.dat? Bitcoin-qt  (Read 2573 times)
vite (OP)
Legendary
*
Offline Offline

Activity: 1018
Merit: 1000


View Profile
March 13, 2013, 06:07:41 PM
 #1

What is a better option, to extract the private keys and just save them and import them to a future client when needed or to save the entire wallet.dat?

If a wallet has multiple imported private keys, how many private keys will be exported.

IfI import the private keys to the new client/wallet will the old created addresses show on the new client once it has sync?
Bitcoin mining is now a specialized and very risky industry, just like gold mining. Amateur miners are unlikely to make much money, and may even lose money. Bitcoin is much more than just mining, though!
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714919411
Hero Member
*
Offline Offline

Posts: 1714919411

View Profile Personal Message (Offline)

Ignore
1714919411
Reply with quote  #2

1714919411
Report to moderator
Dabs
Legendary
*
Offline Offline

Activity: 3416
Merit: 1912


The Concierge of Crypto


View Profile
March 14, 2013, 01:23:09 AM
 #2

Do both. The wallet.dat file can probably be read by future versions, or there will be tools to extract this data.

The individual private keys can also be stored separately or even printed on paper.

The paper backup can be read by human eyes or by computer OCR, and will last 100 years unless burned in a fire or drowned in water, or physically destroyed.

Stephen Gornick
Legendary
*
Offline Offline

Activity: 2506
Merit: 1010


View Profile
March 14, 2013, 01:35:52 AM
 #3

What is a better option, to extract the private keys and just save them and import them to a future client when needed or to save the entire wallet.dat?

If a wallet has multiple imported private keys, how many private keys will be exported.

IfI import the private keys to the new client/wallet will the old created addresses show on the new client once it has sync?

Different client have different backup needs and approached.

With Bitcoin-Qt, the wallet.dat contains every address plus a key pool for the next 100 unused addresses.    So you can back that up and at some point in the future restore that file if needed.

Other clients might use a deterministic wallet.  So with those only the master, spending of all BItcoin addresses created from that master is enabled.

A single address can exist in multiple wallets, that's not a problem.   What is a problem is if you try to spend from using a Bitcoin address that exists in multiple wallets simultaneously.  That's when you can gunk up your Bitcoin-Qt wallet.

But importing a private key from an old wallet.dat, and then later having recover that old wallet.dat is not a problem.   The funds will appear as being spendable in both.  Just remember to only have one running at a time.  (And don't spend until the client has sync).

Unichange.me

            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █


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!