<p>If node B isn't connected to internet, only to node A, and its status is <code>pruned</code>, it means it saves the recent history defined by the pruned flag with a value in MB (last X MB). 
But your node A only have the 120GB (about a third) of the blockchain data, starting from block 0. It won't cover the data which pruned node needs as it's not fully synced.</p>

<p>I think you won't be able to sync from peer A until it's fully synced.</p>

CC BY-SA 4.0
2020-03-03T20:53:23.117Z
2020-03-03T20:53:23.117Z
Tony Sanak
<p>A node won't sync blocks from another node (peer node) if the peer node is not fully synced. There might be a message in your debug.log that says as much. Your best bet is to wait until node A is fully synced.</p>

<p>This is the only reason the node won't sync.</p>

CC BY-SA 4.0
2020-03-03T20:43:38.947Z
2020-03-04T23:44:26.477Z
2020-03-04T23:44:26.477Z
j4ys0n
<p>I have two computers A and B. A has a partial history of bitcoin blockchain (about 60% of entire history) which is not pruned (~120GB). I would like to transfer the history to B and run a pruned full node there. Both machines are on the same local network. (B is not connected to the internet)</p>

<p>So far I have run this on machine A (192.168.1.100):</p>

<pre><code>bitcoind -whitelist=192.168.1.0/24 \
         -disablewallet \
         -blocksonly \
         -maxconnections=1 \
         -upnp=0 \
         -listen=1
</code></pre>

<p>And on machine B (192.168.1.104):</p>

<pre><code>bitcoind -addnode=192.168.1.100 \
         -connect=192.168.1.100 \
         -listen=0 \
         -upnp=0 \
         -maxconnections=1
</code></pre>

<p>However, B does not receive any blocks from A. Is that because A is not fully synced? How can I copy all blocks from A to B without having to contain them all at any point of time on B (B has about 8 GB free storage)?</p>

<blockchain><bitcoind>
How to transfer blockchain between two machines?
Soroush Rabiei
# How to transfer blockchain between two machines?

(Asked by: username_0 on 2020-03-03)

I have two computers A and B. A has a partial history of bitcoin blockchain (about 60% of entire history) which is not pruned (~120GB). I would like to transfer the history to B and run a pruned full node there. Both machines are on the same local network. (B is not connected to the internet)

So far I have run this on machine A (192.168.1.100):

```
bitcoind -whitelist=192.168.1.0/24 \
         -disablewallet \
         -blocksonly \
         -maxconnections=1 \
         -upnp=0 \
         -listen=1

```

And on machine B (192.168.1.104):

```
bitcoind -addnode=192.168.1.100 \
         -connect=192.168.1.100 \
         -listen=0 \
         -upnp=0 \
         -maxconnections=1

```

However, B does not receive any blocks from A. Is that because A is not fully synced? How can I copy all blocks from A to B without having to contain them all at any point of time on B (B has about 8 GB free storage)?

**Tags:** blockchain, bitcoind


---

## 2 answers

### Answer by username_1 on 2020-03-03. Score: 1 | Accepted answer

If node B isn't connected to internet, only to node A, and its status is `pruned`, it means it saves the recent history defined by the pruned flag with a value in MB (last X MB).
But your node A only have the 120GB (about a third) of the blockchain data, starting from block 0. It won't cover the data which pruned node needs as it's not fully synced.

I think you won't be able to sync from peer A until it's fully synced.


---

### Answer by username_2 on 2020-03-03. Score: 2

A node won't sync blocks from another node (peer node) if the peer node is not fully synced. There might be a message in your debug.log that says as much. Your best bet is to wait until node A is fully synced.

This is the only reason the node won't sync.


---

