Instructions for Polygon Amoy Bor Snapshot
The instructions below will fully restore Bor's data directory by downloading each file and subdirectories individually. Use aria2 or wget to download all of the Bor files. Last, modify the ownership of the files so Bor can access them.
Stop the bor services
service bor stop
//OR
systemctl stop bor.serviceNavigate to the directory with your bor data store in it, then download the compress file.
cd /var/lib/bor/data/bor/
wget https://snapshots.girnaartech.com/polygon/amoy-testnet/bor-amoy-testnet-files.txtTake a backup of existing bor data
cp -frvp chaindata <destination-backup-Directory>Remove data directory from /var/lib/bor/data/bor
rm -r ./chaindataOpen tmux or use screen/nohup to keep downloading after you close your connection.
Download the files using aria2c. This will download up to 12 files at a time (-j 12) and will use up to 12 connections to the server (-x 12).
OR you can use wget.
Create a timestamp with the current date and Download the files using wget:
This will download files with current user ownership. We need to change it to bor: nogroup .
That's it! Start Bor and check the logs.
Last updated