Skip to content

transfer blockchain data between servers

cryptozeny edited this page Jul 13, 2018 · 6 revisions

transfer alice's bitzeny blockchain data to bob via ssh

Except private key and personal data of wallet.dat, only blockchain data is transfered to speed up wallet sync. It usually takes more than four days, but this can shorten the time to less than 30 minutes.

target server ([email protected])

You must exit bitzenyd before transfering.

ssh [email protected] # login
killall bitzenyd ; killall bitzeny-qt # stop bitzenyd
mv ~/.bitzeny/blocks/ ~/.bitzeny/blocks.old/ # backup
mv ~/.bitzeny/chainstate/ ~/.bitzeny/chainstate.old/ # backup

source server ([email protected])

BitZeny's blockchain data is in ~/.bitzeny/blocks/ and ~/.bitzeny/chainstate/. You must exit bitzenyd before transfering.

ssh [email protected] # login
killall bitzenyd ; killall bitzeny-qt # stop bitzenyd
rsync -avzu -e 'ssh' \
~/.bitzeny/blocks/ \
[email protected]:~/.bitzeny/blocks/ && \
rsync -avzu -e 'ssh' \
~/.bitzeny/chainstate/ \
[email protected]:~/.bitzeny/chainstate/
Clone this wiki locally