There are two good approaches for moving your blockchain data before you migrate outlined below
How to Synchronize a New Bitcoin Node from an Existing One
Advanced users can take advantage of the following methods to synchronize a new node with an existing one. Please be cautious as these methods are not natively supported in Umbrel.
Method 1: Transferring Blockchain Data
The steps below are for copying data from an existing Linux machine to a new Raspberry Pi, but the steps are similar for other combinations of devices.
Flash UmbrelOS to a microSD card and boot the Raspberry Pi with your SSD attached.
Complete the Umbrel setup process. Your SSD will now be formatted for Umbrel use.
Go to the settings page and shut down Umbrel.
Remove the SSD and attach it to a Linux machine with the full blockchain.
Copy the blocks and chainstate directories on the Linux machine to ~/umbrel/app-data/bitcoin/data/bitcoin
directory on the SSD.
Remove the SSD from your Linux machine, plug it back into your Raspberry Pi, and power it back on.
Method 2: Direct Synchronization
This method allows you to sync your new node from another running Bitcoin node on the same network or trusted connection, without the need to copy data to a different device.
Connect to your Umbrel device by following the instructions in How to SSH into umbrelOS on Umbrel Home or Rasberry Pi or by accessing a terminal on your Linux machine.
Run the following command*. If you are on a Linux machine, you may need to replace ~/umbrel
with the path to your installation directory, as described in Troubleshooting on Linux :sudo ~/umbrel/scripts/app compose bitcoin exec bitcoind bitcoin-cli addnode "192.168.x.x:8333" "onetry"
*Replace “192.168.x.x” with the IP of the existing running node.
Once your new node is fully synced, you can safely remove the IP from peers and go back to a normal connection. For more information, see https://chainquery.com/bitcoin-cli/addnode .
Outside of that, it is best to start a fresh instance of Umbrel on your machine. If you have any lightning channels, it is recommended to close them on the old node, and start a new LND instance with Umbrel. Let me know if you have any questions
1 Like