<p>The wallet.dat file contains your private keys, public keys, scripts (which correspond to addresses), key metadata (e.g. labels), and the transactions related to your wallet. If you have an HD wallet, it also includes the HD seed and and the derivation paths for each private key.</p>

CC BY-SA 3.0
2017-11-22T08:38:46.993Z
So 'backup wallet' is actually mean 'backup wallet.dat' and 'restore in another wallet support wallet.dat format', for all circumstances. Is this correct?
Anderson
CC BY-SA 3.0
2017-11-22T14:17:38.070Z
Yes, that is correct.
Ava Chow
CC BY-SA 3.0
2017-11-21T15:48:57.630Z
2017-11-21T15:48:57.630Z
Ava Chow
<p>As I know, wallet.dat saves all related data for a bitcoin wallet.  However, I don't understand what precisely is saved in the wallet.dat.  I think it must contain several private keys. Does it also contain the corresponding public key, and seed value?  Anything else?</p>

<wallet><bitcoind><wallet.dat>
What is saved in wallet.dat exactly?
Anderson
# What is saved in wallet.dat exactly?

(Asked by: username_0 on 2017-11-21)

As I know, wallet.dat saves all related data for a bitcoin wallet. However, I don't understand what precisely is saved in the wallet.dat. I think it must contain several private keys. Does it also contain the corresponding public key, and seed value? Anything else?

**Tags:** wallet, bitcoind, wallet.dat


---

## 1 answers

### Answer by username_1 on 2017-11-21. Score: 2 | Accepted answer

The wallet.dat file contains your private keys, public keys, scripts (which correspond to addresses), key metadata (e.g. labels), and the transactions related to your wallet. If you have an HD wallet, it also includes the HD seed and and the derivation paths for each private key.

> **Comments:**
> **username_0**: So 'backup wallet' is actually mean 'backup wallet.dat' and 'restore in another wallet support wallet.dat format', for all circumstances. Is this correct?  
> **username_1**: Yes, that is correct.  

---

