
Moonbeam Relay Chain / Polkadot Snapshots
Extracted from Moonbeam version: moonbeam 0.28.1
The database is recovered from RocksDB and pruning 1000.
RECOMMENDED: We recommend using snapshots only for backup servers. For the producer validator it is better to synchronize the network from the beginning.
RECOMMENDED: we recommend using screen to leave it in the background, since it is a long process and could be interrupted.
If your database is configured for pruning=archive
, you should change it to pruning=1000
If you don't know how to configure it, you can follow the official guide:
https://docs.moonbeam.network/node-operators/networks/run-a-node/systemd/#purge-your-node
❗️We are not responsible for any problem in the database, since it is not official. ❗️
⚠️CAUTION: This guide is made with the PATH of the official page. If you have altered the installation paths, you must modify them⚠️
Follow the next steps below:
1- sudo wget -q http://services.gpvalidator.com/snapshots/moonbeam-polkadot-backup.tar -(if the download is interrupted, you can resume it with wget -c) 2- sudo systemctl stop moonbeam.service 3- sudo rm -r /var/lib/moonbeam-data/polkadot/chains/polkadot/db/full 4- sudo tar xvf moonbeam-polkadot-backup.tar -C /var/lib/moonbeam-data/polkadot/chains/polkadot/db 5- sudo systemctl start moonbeam.service
Moonbeam Parachain - pruning archive
Note: Parachain works with pruning=archive
1- sudo wget -q http://services.gpvalidator.com/snapshots/moonbeam-backup.tar -(if the download is interrupted, you can resume it with wget -c) 2- sudo systemctl stop moonbeam.service 3- sudo rm -r /var/lib/moonbeam-data/chains/moonbeam/db 4- sudo tar xvf moonbeam.tar -C /var/lib/moonbeam-data/chains/moonbeam/db 5- sudo systemctl start moonbeam.service