top of page

Moonbeam Relay Chain (Polkadot pruning 256) Backup

Note - These backups have only been tested on recovering the RocksDB Polkadot relay pruned (256) database and Moonbeam parachain databases (multiple options below) 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-node ALWAYS MAKE SURE YOU ARE USING THE CLIENT VERSION THAT MATCHES THE SNAPSHOT VERSION. WE TRY TO RETAIN WITH N-1, BUT IF IN DOUBT, USE THE MOST RECENT.
 
These should be only restored in the following directory (do not alter directory path because it may corrupt your node after service restarts):

/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 20.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. This may result in financial loss.

Moonbeam Polkadot Pruned Database Backup for a Moonbeam node.
 
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
sudo apt install aria2
aria2c -x10 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/m
oonbeam-polkadot-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
sudo apt install aria2

sudo aria2c -x10 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

Moonbeam Parachain (pruning=256)
RocksDB Backup

Moonbeam Pruned DB Backup Direct DL Link. This may or may not be suitable for an RPC depending on your requirements. Use at your own risk.

https://db.certhum.com/moonbeam-pruned-256-backup.tar.zst
ZST dict file (required):
https://db.certhum.com/moonbeam-pruned-256-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
sudo apt install aria2

aria2c -x10 https://db.certhum.com/moonbeam-pruned-256-backup.tar.zst

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

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

Moonbeam Frontier DB Backup

You may need the Frontier database fully synched if you are running an RPC node. Use the following to restore from backup.
Moonbeam Frontier Database Backup Direct DL Link
https://db.certhum.com/moonbeam-frontier-backup.tar.zst
ZST dict file (required):
https://db.certhum.com/moonbeam-frontier-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
sudo apt install aria2

aria2c -x10 https://db.certhum.com/moonbeam-frontier-backup.tar.zst

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

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

bottom of page