zordss
September 18, 2023, 2:36am
1
I’ve been running bitcoin node on my umbrel for the past couple of months. But I have been unable to access my umbrel for the past couple of weeks for some reason. This has happened before as well and I reinstalled umbrel and re-downloaded the whole blockchain one more time. But I don’t want to do that again.
I am thinking of running bitcoin node on ubuntu but don’t want to re-download the blockchain. Is there a guide on how I can use the existing blockchain data on external SSD used for running bitcoin node on umbrel on Ubuntu?
If there’s someone else out there who has done such before please help out.
Here’s a great guide! Please let me know if you have any questions or require any assistance
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 .
zordss
September 20, 2023, 7:43am
3
Isn’t this for running a new node on umbrel instead of running on any other distro?
Both methods should work for you.
Technically you only need the first 3-4 instructions of method 1 for your new node, and then you can point core to that directory.