# Use btc blockchain on ubuntu from umbrel

**URL:** <https://community.umbrel.com/t/use-btc-blockchain-on-ubuntu-from-umbrel/13695>\
**Category:** Bitcoin and Lightning\
**Created:** [September 18, 2023, 2:36am UTC](https://community.umbrel.com/t/use-btc-blockchain-on-ubuntu-from-umbrel/13695 "2023-09-18T02:36:12Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![zordss](https://avatars.discourse-cdn.com/v4/letter/z/f475e1/32.png) [@zordss](https://community.umbrel.com/u/zordss)\
**Post date:** [September 18, 2023, 2:36am UTC](https://community.umbrel.com/t/use-btc-blockchain-on-ubuntu-from-umbrel/13695/1 "2023-09-18T02:36:12Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![smolgrrr](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.umbrel.com/smolgrrr/32/2825_2.png) [@smolgrrr](https://community.umbrel.com/u/smolgrrr)\
**Post date:** [September 18, 2023, 2:51pm UTC](https://community.umbrel.com/t/use-btc-blockchain-on-ubuntu-from-umbrel/13695/2 "2023-09-18T14:51:22Z")

</div>

Here’s a great guide! Please let me know if you have any questions or require any assistance

> [@Official Umbrel Troubleshooting Guide and FAQ](https://community.umbrel.com/t/official-umbrel-troubleshooting-guide-and-faq/9873/1):
>
> **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.
> 
> 1. Flash UmbrelOS to a microSD card and boot the Raspberry Pi with your SSD attached.
> 2. Complete the Umbrel setup process. Your SSD will now be formatted for Umbrel use.
> 3. Go to the settings page and shut down Umbrel.
> 4. Remove the SSD and attach it to a Linux machine with the full blockchain.
> 5. Copy the blocks and chainstate directories on the Linux machine to `~/umbrel/app-data/bitcoin/data/bitcoin` directory on the SSD.
> 6. 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.
> 
> 1. 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.
> 2. 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](https://chainquery.com/bitcoin-cli/addnode).

---

<div class="post-metadata">

**Author:** ![zordss](https://avatars.discourse-cdn.com/v4/letter/z/f475e1/32.png) [@zordss](https://community.umbrel.com/u/zordss)\
**Post date:** [September 20, 2023, 7:43am UTC](https://community.umbrel.com/t/use-btc-blockchain-on-ubuntu-from-umbrel/13695/3 "2023-09-20T07:43:17Z")

</div>

Isn’t this for running a new node on umbrel instead of running on any other distro?

---

<div class="post-metadata">

**Author:** ![smolgrrr](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.umbrel.com/smolgrrr/32/2825_2.png) [@smolgrrr](https://community.umbrel.com/u/smolgrrr)\
**Post date:** [September 20, 2023, 10:26am UTC](https://community.umbrel.com/t/use-btc-blockchain-on-ubuntu-from-umbrel/13695/4 "2023-09-20T10:26:28Z")

</div>

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.
