Author

Topic: How best copy blockchain to other computer? (Read 224 times)

legendary
Activity: 1372
Merit: 1252
June 24, 2018, 05:37:03 AM
#7
Afaik there is no way to sync just the newer blocks from one wallet to another.
It's calling "Syncing"... and it's what happens when your Bitcoin Core instance connects to peers Tongue

I'm not sure what it is that the OP is actually trying to achieve... why is it necessary to copy blocks from Windows to Linux? Why not just hook up the Linux machine to the network and let it sync itself? Huh

If this is supposed to be some sort of offline air-gapped Linux machine... you don't need the blocks on it anyway.

He didn't say this is an air-gap cold storage setup where space doesn't matter, he wants from what I can understand a regular full node in windows. The reason you would want to save the entire blockchain is that if you move the "blocks" folder (without the "chainstate" folder, otherwise it will become corrupted since the chainstate files need to be generated from scratch) you can save a lot of time by not downloading the blocks, you would only validate the existing blocks you kept. So always try to keep the entire blockchain somewhere in case you need to sync from scratch.
jr. member
Activity: 59
Merit: 5
Afaik there is no way to sync just the newer blocks from one wallet to another.
It's calling "Syncing"... and it's what happens when your Bitcoin Core instance connects to peers Tongue

Haha  Grin Ok, not the best description up there. Let's say to import the blocks from the own wallet on the windows machine.

Maybe it could be possible to add just the own node in the internal network, but it doesn't make sense to sync it like this. As HCP link said, just connect both wallets to the internet and let them sync by themself.
HCP
legendary
Activity: 2086
Merit: 4361
Afaik there is no way to sync just the newer blocks from one wallet to another.
It's calling "Syncing"... and it's what happens when your Bitcoin Core instance connects to peers Tongue

I'm not sure what it is that the OP is actually trying to achieve... why is it necessary to copy blocks from Windows to Linux? Why not just hook up the Linux machine to the network and let it sync itself? Huh

If this is supposed to be some sort of offline air-gapped Linux machine... you don't need the blocks on it anyway.
jr. member
Activity: 59
Merit: 5
In my opinion the most convenient way to accomplish this is by using scp. You will need the openssh-server on your new laptop and putty on your windows machine. You can just then use the putty implementation of scp which is called pscp.

E.g.: pscp %appdata%\.bitcoin username@ip:~/

Afaik there is no way to sync just the newer blocks from one wallet to another.
legendary
Activity: 1372
Merit: 1252
I have desktop with Windows and 200 GB blocks on it.
Now I have bought laptop with Linux.
1. How copy it by Lan?
2. How maintain it? If on desktop will newer blocks, how update only changed blocks to laptop and vice-versa?

Linux can read Windows partitions but Windows cannot read Linux partitions. Having that in mind, you can easily connect them by wifi or with a regular rj45 ethernet cable. You have endless guides for that

Or you can just buy an external USB HDD and put the blockchain there, then move it to your Linux partition, that's if you are too lazy to set it all up.

Remember to get your wallet.dat file and remember to ONLY copy your blocks folder, the rest should be generated from scratch when you open the client in Linux. Using chainstate data from another folder will not work.
legendary
Activity: 1584
Merit: 1280
Heisenberg Design Services
What's your question all about  Huh

Is it copying blockchain to other OS (Your old Windows computer to Newly bought Linux)?

If so,

Open APPDATA folder which is hidden by default. Inside Roaming folder you will find the Bitcoin Folder. Install Bitcoin Core on the Linux. Once you have installed you will see the .bitcoin folder present in the directory where you have installed.  just copy the folder present in %APPDATA%\Bitcoin and paste it in ~/.bitcoin (Backup before you move or copy them)
Open Bitcoin-qt in Linux with -datadir=/new/path/to/.bitcoin
member
Activity: 138
Merit: 25
I have desktop with Windows and 200 GB blocks on it.
Now I have bought laptop with Linux.
1. How copy it by Lan?
2. How maintain it? If on desktop will newer blocks, how update only changed blocks to laptop and vice-versa?
Jump to: