<p>To re-use the same addresses with the new server, it will be sufficient to copy just the <code>wallet.dat</code>. That single file contains the private keys to all receiving addresses that have been used since the <code>wallet.dat</code> file was originally created.</p>

<p>I would recommend copying across the <code>wallet.dat</code>, then making sure your addresses are there and available in <code>bitcoind</code> on the new server. If they are, then the wallet was copied over successfully and you're good to go.</p>

<p>As @Jannes mentioned, you will need to turn off <code>bitcoind</code> on both servers before you do the copy.</p>

CC BY-SA 3.0
2015-12-18T23:58:39.487Z
Turn OFF bitcoind on both servers before doing the copying. Don't delete the file from the old server until you're sure it works on the new server.
Jannes
CC BY-SA 3.0
2015-12-18T23:45:02.893Z
2015-12-19T00:01:45.623Z
2015-12-19T00:01:45.623Z
Maximillian Laumeister
<p>I need to install <code>bitcoind</code> on a new server, but I already have many addresses in use on the old server. If I want to reuse all of those addresses on the new server, do I need to copy just the <code>wallet.dat</code> file or all files in the Bitcoin data directory?</p>

<bitcoind><wallet><wallet.dat>
Export all address from bitcoind on one server to bitcoind on another server
soooo
# Export all address from bitcoind on one server to bitcoind on another server

(Asked by: username_0 on 2015-12-18)

I need to install `bitcoind` on a new server, but I already have many addresses in use on the old server. If I want to reuse all of those addresses on the new server, do I need to copy just the `wallet.dat` file or all files in the Bitcoin data directory?

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


---

## 1 answers

### Answer by username_1 on 2015-12-18. Score: 1 | Accepted answer

To re-use the same addresses with the new server, it will be sufficient to copy just the `wallet.dat`. That single file contains the private keys to all receiving addresses that have been used since the `wallet.dat` file was originally created.

I would recommend copying across the `wallet.dat`, then making sure your addresses are there and available in `bitcoind` on the new server. If they are, then the wallet was copied over successfully and you're good to go.

As @username_2 mentioned, you will need to turn off `bitcoind` on both servers before you do the copy.

> **Comments:**
> **username_2**: Turn OFF bitcoind on both servers before doing the copying. Don't delete the file from the old server until you're sure it works on the new server.  

---

