Migrating/Copying Bitcoin Knots full node data on Mac to Linux Ubuntu #176
Closed
ozziekanga
started this conversation in
General
Replies: 1 comment
-
|
I have worked out the process using a wallet.dat file from Bitcoin Knots on my Mac and uploading it to the wallet directory of Bitcoin Knots on my Linux machine. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm currently running a full Bitcoin Knots node on an external SSD on my Mac and using Sparrow as my wallet. I'm wanting to migrate/copy the node data from my Mac to my Linux Ubuntu computer and run the node from an external drive.
I've done a number of web searches and it appears that I first need to download and install Bitcoin Knots and Sparrow on my Linux computer. However, from that point, I'm a bit confused on next steps. One AI generated search result gave me the following explanation:
"To copy Bitcoin Knots data from a Mac to a Linux system, you can transfer the block database files located in the data directory, which are cross-platform and can be copied between different installations.
The data directory on macOS is typically found at ~/Library/Application Support/Bitcoin/, while on Linux it is usually located at ~/.bitcoin/.
Before copying, ensure both the Bitcoin Knots node on the Mac and the Linux system are completely shut down to prevent data corruption. Once both nodes are offline, copy the entire blocks and chainstate directories from the Mac's data directory to the corresponding location on the Linux system. After copying, the Linux node can be started, and it will recognize the existing blockchain data, significantly reducing the time required to sync.
It is crucial to copy all files from both directories at once and not just individual files, as partial copies can cause the node to crash or become stuck."
is the above explanation the best method to achieve my goal or is there another/better way?
Many thanks for your help and input.
Beta Was this translation helpful? Give feedback.
All reactions