Bitcoin Forum
May 14, 2024, 10:45:01 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Do I need to resync blockchain data for a second in-house node?  (Read 150 times)
StackGambler (OP)
Full Member
***
Offline Offline

Activity: 434
Merit: 101

YouTuber, gambler, and scam-buster.


View Profile
May 13, 2019, 12:52:40 PM
 #1

Hello, I am currently running a full node on my desktop PC, and I would like to run another one on my laptop using a hard disk. Instead of resyncing Core on my laptop, can I just transfer the blockchain from the main PC to the hard disk and plug it into the laptop? Is that a safe way to do it, or should I resync the blockchain from scratch on the laptop? Thanks!

I like gambling. Probably currently trying to figure out how to pay next month's rent.
1715683501
Hero Member
*
Offline Offline

Posts: 1715683501

View Profile Personal Message (Offline)

Ignore
1715683501
Reply with quote  #2

1715683501
Report to moderator
1715683501
Hero Member
*
Offline Offline

Posts: 1715683501

View Profile Personal Message (Offline)

Ignore
1715683501
Reply with quote  #2

1715683501
Report to moderator
The forum was founded in 2009 by Satoshi and Sirius. It replaced a SourceForge forum.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715683501
Hero Member
*
Offline Offline

Posts: 1715683501

View Profile Personal Message (Offline)

Ignore
1715683501
Reply with quote  #2

1715683501
Report to moderator
1715683501
Hero Member
*
Offline Offline

Posts: 1715683501

View Profile Personal Message (Offline)

Ignore
1715683501
Reply with quote  #2

1715683501
Report to moderator
bob123
Legendary
*
Offline Offline

Activity: 1624
Merit: 2481



View Profile WWW
May 13, 2019, 12:57:43 PM
Merited by OgNasty (2), bones261 (2)
 #2

You can indeed just copy your data directory and save time/bandwith syncing your 2nd node.
But only copying the blocks is not enough, you need the chainstate folder too.

The easiest probably would be if you copy the whole data dir (without the wallet.dat) to your 2nd hard drive. Then let your 2nd node use that directory.


May i ask what the reason is to have a 2nd node running at home ?

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!