Use SCP to Copy Blocks and Chainsate Folders and Files From an Existing Node
This guide will only work if the destination node has NOT been secured by RSA-Key authorization
NOTE: These steps are only for those who have an existing node with a full copy of the blockchain; depending on your node's location, this may take between 5 and 10 minutes, if you have a fast connection for both nodes involved
- Preparing Nodes
- File Transfer
- Bring Source Node Online
- Start Destination Node
Source Node | Command & Description | Destination Node | |||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Preparing Nodes | |||||||||||||||||||||||||||||||||||||||||||
1 | You should see the following if zend is stopped
| Open a second terminal and SSH into your source node (left) with it's non-root user NOTE: You should now have two terminal windows open and connected to two separate nodes. Arrange the source node on the left side of your screen, and the destination node on the right side of your screen NOTE: The zend daemon should be stopped to prevent transfer errors in the following steps, the tracker is also stopped to limit errors from the source node (left)
| You should see the following if zend is stopped
| ||||||||||||||||||||||||||||||||||||||||
File Transfer - Transfer blocks and chainstate folders and files recursively to the destination node from the source node | |||||||||||||||||||||||||||||||||||||||||||
2 | DON'T RUN THIS UNTIL AFTER THE COMMAND FOR THE DESTINATION NODE HAS BEEN EXECUTED!
| Executed from the destination node (right)
____________________________________________________________________________________________________ Executed from the source node (left)
| RUN ON THE DESTINATION NODE FIRST, DO NOT RUN ON THE SOURCE NODE!
NOTE: You may get an error if these files do not exist, you can ignore this | ||||||||||||||||||||||||||||||||||||||||
Bring Source Node Online | |||||||||||||||||||||||||||||||||||||||||||
3 | Start zend and zentracker on the source node (left)
| ||||||||||||||||||||||||||||||||||||||||||
Start Destination Node | |||||||||||||||||||||||||||||||||||||||||||
4 | Execute the zend daemon on the destination node (right) with the rescan option
NOTE: If your node is using systemd or monit and pm2, start those after the following, using instructions from step 3
|
| |||||||||||||||||||||||||||||||||||||||||
Continue With Installation Guide | |||||||||||||||||||||||||||||||||||||||||||
5 | Return to part 3, step 17 Part 3.17 - Package Installation and Initial Configuration << Click Here |
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|