Author

Topic: Duplicating BitcoinCore reorg (Read 123 times)

legendary
Activity: 1512
Merit: 7340
Farewell, Leo
November 01, 2022, 01:02:05 PM
#5
Copy indexes too, if you're running Bitcoin Core with txindex=1. If you're at linux, be careful not to screw it up with user permissions. This line is all that's needed:
Code:
cp -r blocks chainstate indexes 

You run it twice; one from your node to a hard drive, and the second from your hard drive to your other computer.
legendary
Activity: 1568
Merit: 6660
bitcoincleanup.com / bitmixlist.org
October 31, 2022, 01:16:14 AM
#4
peers.dat does not have any personally identifiable information because this information is serialized from (ultimately) CNode which only contains addresses and some other connection stats, and its also used to display the GUI tables of peers such as this one. This statement on the wiki will be adjusted accordingly.
jr. member
Activity: 46
Merit: 13
October 30, 2022, 03:12:05 PM
#3
Will give it a go  Grin
Thank you for the wiki-entry, was very helpful.
legendary
Activity: 3668
Merit: 6382
Looking for campaign manager? Contact icopress!
October 30, 2022, 12:42:00 PM
#2
Is it possible to somehow just duplicate the database of the first node?

I see no reason why not. Copy the data dir (see https://en.bitcoin.it/wiki/Data_directory ) on the new computer.
You can use similar structure or you can run with -datadir parameter.


The database files in the "blocks" and "chainstate" directories are cross-platform, and can be copied between different installations.
jr. member
Activity: 46
Merit: 13
October 30, 2022, 12:37:51 PM
#1
I'm running a full nod and I'd like to get another one running.
Is it possible to somehow just duplicate the database of the first node?
I guess this question has already been asked on the forum.
Jump to: