Using Node Binary
Create a folder called "
backup
" in case it does not exist:mkdir -p backup
Backup the
harmony
binary file:cp harmony backup
Before we proceed to next steps we need to download the node binary first:
Mainnet
Testnet
curl -LO https://harmony.one/binary && mv binary harmony && chmod +x harmony
curl -LO https://harmony.one/binary_testnet && mv binary_testnet harmony && chmod +x harmony
Check the node binary version that was downloaded:
./harmony -V
sudo service harmony restart
wget https://s3.us-west-1.amazonaws.com/pub.harmony.one/mainnet.archival/harmony_storage_db_0/explorer_storage_s0.tar.gz
mkdir -p backup
cp harmony backup
curl -LO https://harmony.one/binary && mv binary harmony && chmod +x harmony
sudo service harmony stop
mv explorer_storage_0.0.0.0_9000 explorer_storage_0.0.0.0_9000.backup
tar xvzf explorer_storage_s0.tar.gz
Change
harmony.conf
file and add make sure the RPC Rate Limit is set to at least 50000:[RPCOpt]
RequestsPerSecond = 50000
sudo service harmony start
DB migration should take no more than a few hours to conclude.
Last modified 1yr ago