Bitcoin Forum
November 16, 2024, 04:26:07 AM *
News: Check out the artwork 1Dq created to commemorate this forum's 15th anniversary
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How best copy blockchain to other computer?  (Read 224 times)
Frodek (OP)
Member
**
Offline Offline

Activity: 138
Merit: 25


View Profile
June 23, 2018, 05:42:06 PM
 #1

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?
Heisenberg_Hunter
Legendary
*
Offline Offline

Activity: 1584
Merit: 1280


Heisenberg Design Services


View Profile WWW
June 23, 2018, 08:27:42 PM
 #2

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
cellard
Legendary
*
Offline Offline

Activity: 1372
Merit: 1252


View Profile
June 24, 2018, 12:41:56 AM
 #3

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.
boulderchain
Jr. Member
*
Offline Offline

Activity: 59
Merit: 5


View Profile
June 24, 2018, 04:57:49 AM
 #4

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.

★ PRiVCY ➢ Own Your Privacy! ➢ Best privacy crypto-market! ★
✈✈✈[PoW/PoS]✅[Tor]✅[Airdrop]✈✈✈ (https://privcy.io/)
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4361

<insert witty quote here>


View Profile
June 24, 2018, 05:02:48 AM
 #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

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.

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
boulderchain
Jr. Member
*
Offline Offline

Activity: 59
Merit: 5


View Profile
June 24, 2018, 05:20:20 AM
 #6

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.

★ PRiVCY ➢ Own Your Privacy! ➢ Best privacy crypto-market! ★
✈✈✈[PoW/PoS]✅[Tor]✅[Airdrop]✈✈✈ (https://privcy.io/)
cellard
Legendary
*
Offline Offline

Activity: 1372
Merit: 1252


View Profile
June 24, 2018, 10: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.
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!