Bitcoin Forum
September 17, 2024, 05:18:39 PM *
News: Latest Bitcoin Core release: 27.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Using the data from my Windows node on Ubuntu  (Read 106 times)
thepriceinsats (OP)
Copper Member
Member
**
Offline Offline

Activity: 89
Merit: 27


View Profile WWW
February 09, 2024, 01:27:53 PM
 #1

So I run a full bitcoin node on windows OS currently, and I want to set-up 3 more nodes (for different locations).

I plan to set these nodes up on an Ubuntu OS as its free, lighter and just a preference.

I wanted to know if I could copy the blockchain data from my windows machine and use it when i set-up the full nodes on ubuntu, or would the file types be different an therefore not compatible? Probably a stupid question as even I pointed out the file type issue, but I know many of you in the community have greater knowledge on nodes than me.

Help appreciated.

https://thepriceinsats.com/ The Price In Sats is designed to show the price of everyday items in Sats. https://thepriceinsats.com/
LoyceV
Legendary
*
Offline Offline

Activity: 3430
Merit: 17379


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
February 09, 2024, 03:36:07 PM
 #2

I wanted to know if I could copy the blockchain data from my windows machine and use it when i set-up the full nodes on ubuntu, or would the file types be different an therefore not compatible?
I think this should work, and it's definitely worth a try. If it doesn't work, nothing is lost and you'll start a fresh sync.

thepriceinsats (OP)
Copper Member
Member
**
Offline Offline

Activity: 89
Merit: 27


View Profile WWW
February 09, 2024, 05:03:21 PM
 #3

I wanted to know if I could copy the blockchain data from my windows machine and use it when i set-up the full nodes on ubuntu, or would the file types be different an therefore not compatible?
I think this should work, and it's definitely worth a try. If it doesn't work, nothing is lost and you'll start a fresh sync.

Well I'll be trying tonight, so I'll keep you updated on how I progress 👍

https://thepriceinsats.com/ The Price In Sats is designed to show the price of everyday items in Sats. https://thepriceinsats.com/
BitMaxz
Legendary
*
Offline Offline

Activity: 3374
Merit: 3095


BTC price road to $80k


View Profile WWW
February 09, 2024, 05:44:38 PM
 #4


Well I'll be trying tonight, so I'll keep you updated on how I progress 👍

It should work just fine but don't forget to copy the chainstate folder if you don't want to be stuck in the loading process or else you might end up needing to run Bitcoin Core with -reindex or -reindex-chainstate.

Cricktor
Legendary
*
Offline Offline

Activity: 882
Merit: 1301


Crypto Swap Exchange


View Profile
February 09, 2024, 06:53:47 PM
 #5

Make sure to properly shutdown your Bitcoin Core on your source computer before you start to copy the blockchain data. I would copy all content of folders blocks, chainstate and indexes if you have left the configuration of Bitcoin Core mostly at its default settings (what I mean: didn't change the location of any data folder). Those three folders should be in the base data directory of Bitcoin Core.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
BlackHatCoiner
Legendary
*
Offline Offline

Activity: 1638
Merit: 8124


Bitcoin is a royal fork


View Profile WWW
February 10, 2024, 09:40:40 PM
 #6

Don't try to copy blocks, chainstate and indexes without making sure your external disk is error-free. Check its condition. There's a small chance it has bad sectors, which can lead to incomplete transfers (AKA, corrupted files). During transfer close any unnecessary programs. I'd use a freshly formatted disk for this purpose, if I were you.

Speaking out of experience...  Cheesy

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!