top of page

Moonbase Alpha Relay Chain RocksDB Backup (Pruned - 256)

Note - These backups have only been tested on recovering the RocksDB Moonbase Alpha pruned relay chain database and Moonbase Alpha parachain databases on a Moonbase Alpha 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.
 
*******Note: Although labeled as such below, Moonbase Alpha does not use the Westend relay chain, but uses its own relay chain. This Moonbase Alpha relay chain is provided in the below backups.**************

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.
 
These should be only restored in the following directory (do not alter directory path):

/var/lib/alphanet-data/polkadot/chains/westend_moonbase_relay_testnet/db - for the Westend RocksDB

/var/lib/alphanet-data/chains/moonbase_alpha/db- for the Moonbase Alpha 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 resulting in financial loss.

DEPENDING ON WHICH CHAIN YOU ARE RECOVRING, YOU WILL NEED TO PURGE YOUR CHAIN. FOLLOW THE MANUAL INSTRUCTIONS FROM MOONBEAM FOUNDATION. https://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 LISTED ABOVE

Moonbase Alpha Relay Chain Database Backup for Moonbase Alpha
 
Direct DL Link
https://db.certhum.com/moonbase_alpha-backup-westend.tar.zst
 
ZST dict file (required):
https://db.certhum.com/moonbase_alpha-sst-westend.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/moonbase_alpha-backup-westend.tar.zst
 
wget -O moonbase_alpha-sst-westend.dict https://db.certhum.com/moonbase_alpha-sst-westend.dict

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

Moonbase Alpha Parachain RocksDB Backup (pruning=archive)


Moonbase Alpha Database Backup Direct DL Link
https://db.certhum.com/moonbase_alpha-backup-archive.tar.zst
ZST dict file (required):
https://db.certhum.com/moonbase_alpha-sst-archive.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/moonbase_alpha-backup-archive.tar.zst

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

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

Moonbase Alpha Parachain Backup (Pruning 256)


Moonbase Alpha (Pruned 256) Database Backup Direct DL Link
https://db.certhum.com/moonbase_alpha-backup-256.tar.zst
ZST dict file (required):
https://db.certhum.com/moonbase_alpha-sst-256.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/moonbase_alpha-backup-256.tar.zst

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

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

Moonbase Alpha Parachain Frontier Backup

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

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

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

bottom of page