<p>I have a bitcoin core full node with a wallet on VPS.</p>

<p>I use my own script to connect to the RPC. The script works on another VPS.</p>

<p>Sometimes bitcoin VPS goes offline. Once the recovery took a long time because the blockchain broke down. I'd like to avoid this situation in future. I've bought another VPS and installed second full node. If main node goes offiline, scriptwill check it and will connect to second node.</p>

<p>Now I'm finding a way for syncing wallets between nodes. I know, hot copying wallet.dat file is not allowed. I tried to use cron for dumpwallet on master and restorewallet on slave. But restorewallet took a lot of time. And I lost some newest addresses.</p>

<p>What is right way to build bitcoin core wallet replication?</p>

CC BY-SA 4.0
2019-04-09T14:57:28.390Z
Why not let each node synchronize independently in the normal way?
RedGrittyBrick
CC BY-SA 4.0
2019-04-10T06:30:45.133Z
Both nodes synchronize in normal way. My question about wallet synchronization.
ca6
<wallet>
Bitcoin core wallet replication
ca6
# Bitcoin core wallet replication

(Asked by: username_0 on 2019-04-09)

I have a bitcoin core full node with a wallet on VPS.

I use my own script to connect to the RPC. The script works on another VPS.

Sometimes bitcoin VPS goes offline. Once the recovery took a long time because the blockchain broke down. I'd like to avoid this situation in future. I've bought another VPS and installed second full node. If main node goes offiline, scriptwill check it and will connect to second node.

Now I'm finding a way for syncing wallets between nodes. I know, hot copying wallet.dat file is not allowed. I tried to use cron for dumpwallet on master and restorewallet on slave. But restorewallet took a lot of time. And I lost some newest addresses.

What is right way to build bitcoin core wallet replication?

**Tags:** wallet

> **Comments:**
> **username_1**: Why not let each node synchronize independently in the normal way?  
> **username_0**: Both nodes synchronize in normal way. My question about wallet synchronization.  

---

## 0 answers

