Moonbeam Relay Chain (Polkadot pruning 1000) Backup

Note - These backups have only been tested on recovering the RocksDB Polkadot pruned (1000) database and Moonbeam parachain databases on a Moonbeam Collator node.
 
It is not intended to be used on any other node or in any other way than described below.
 
IMPORTANT: These should only be used for testing purposes. For production, the best practice is to sync your node over the network from beginning.
 
Only recover from backups off of a private backup copy which you have created (CertHum does not use these backups and recovers from private copies.)
 
These backups are NOT endorsed by the Moonbeam Foundation or any other 3rd party.

DEPENDING ON WHICH CHAIN YOU ARE RECOVRING, YOU WILL NEED TO PURGE YOUR CHAIN
. FOLLOW THE MANUAL INSTRUCTIONS FROM MOONBEAM FOUNDATIONhttps://docs.moonbeam.network/node-operators/networks/run-a-node/systemd/#purge-your-nodeALWAYS MAKE SURE YOU ARE USING THE CLIENT VERSION THAT MATCHES THE SNAPSHOT VERSION LISTED ABOVE
 
These should be only restored in the following directory (do not alter directory path):

/var/lib/moonbeam-data/polkadot/chains/polkadot/db - for the Polkadot Pruned RocksDB database

/var/lib/moonbeam-data/chains/moonbeam/db- for the Moonbeam DB.
Tested on Ubuntu 18.04
Pre-req - zstd.

Recovering this backup to any directory path other than the one provided above will impact crash consistency and potentially corrupt your database on process failure resulting in financial loss.

Moonbeam Pruned Database Backup for Moonbeam (although the filename says archive, this database is pruned to 1000)
 
Direct DL Link
https://db.certhum.com/moonbeam-polkadot-backup.tar.zst
 
ZST dict file (required):
https://db.certhum.com/moonbeam-polkadot-sst.dict
 
#install zstd, wget both files and make sure to delete current contents of database directory if they exist, then extract to target.
 
ZSTD lets you specify how many processors you want to assign to the job. Check your MD5 before extracting!
 
sudo apt install zstd

wget -O moonbeam-polkadot-backup.tar.zst https://db.certhum.com/moonbeam-polkadot-backup.tar.zst
 
wget -O moonbeam-polkadot-sst.dict https://db.certhum.com/moonbeam-polkadot-sst.dict

sudo tar -I 'zstd -vd -T0 -D YOUR-PATH/sst.dict' -xvf moonbeam-polkadot-backup.tar.zst -C /var/lib/moonbeam-data/polkadot/chains/polkadot/db --strip-components=7

Moonbeam Parachain (pruning=archive) RocksDB Backup

Moonbeam Database Backup Direct DL Link
https://db.certhum.com/moonbeam-backup.tar.zst
ZST dict file (required):
https://db.certhum.com/moonbeam-sst.dict
 
#install zstd, wget both files and make sure to delete current contents of database directory if they exist, then extract to target.
ZSTD lets you specify how many processors you want to assign to the job. Check your MD5 before extracting!

sudo apt install zstd

wget -O moonbeam-backup-archive.tar.zst https://db.certhum.com/moonbeam-backup.tar.zst

wget -O moonbeam-sst.dict https://db.certhum.com/moonbeam-sst.dict

sudo tar -I 'zstd -vd -T0 -D YOUR-PATH/moonbeam-sst.dict' -xvf moonbeam-backup.tar.zst -C /var/lib/moonbeam-data/chains/moonbeam/db --strip-components=6