Snapshot download link:
Snapshots are generated and retained on a weekly basis, with each snapshot being stored for a duration of 7 days. Community developer NodeReal is responsible for creating and updating the testnet snapshot regularly.
wget -q -O - https://tf-bnbchain-prod-opbnb-mainnet-snapshot-s3-ap-northeast-1.s3.ap-northeast-1.amazonaws.com/geth-20231012.tar.gz | tar -xvf -
- Stop the running
op-geth
client, ensuring that it has completely shut down. - To back up the original data, execute the following commands:
mv ${OPGeth_DataDir}/geth/chaindata ${OPGeth_DataDir}/geth/chaindata_backup mv ${OPGeth_DataDir}/geth/triecache ${OPGeth_DataDir}/geth/triecache_backup
- Replace the data with the snapshot by running:
mv ./geth/chaindata ${OPGeth_DataDir}/geth/chaindata mv ./geth/triecache ${OPGeth_DataDir}/geth/triecache
- Restart the
op-geth
client and verify the logs.