Moonbase Alpha Relay Chain RocksDB Backup (Pruned - 1000)

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 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.

Moonbase Alpha Relay Chain Database Backup for Moonbase Alpha
 
Direct DL Link
https://db.certhum.com/moonbase-westend-backup-archive.tar.zst
 
ZST dict file (required):
https://db.certhum.com/moonbase-westend-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  moonbase-westend-backup-archive.tar.zst https://db.certhum.com/moonbase-westend-backup-archive.tar.zst
 
wget -O moonbase-westend-sst.dict https://db.certhum.com/moonbase-westend-sst.dict
sudo tar -I 'zstd -vd -T(#of cores e.g. '-T12') -D YOUR-PATH/moonbase-westend-sst.dict' -xvf  moonbase-westend-backup-archive.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.tar.zst
ZST dict file (required):
https://db.certhum.com/moonbase_alpha-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  moonbase_alpha-backup.tar.zst https://db.certhum.com/moonbase_alpha-backup.tar.zst

wget -O moonbase_alpha-sst.dict https://db.certhum.com/moonbase_alpha-sst.dict
sudo tar -I 'zstd -vd --T(#of cores e.g. '-T12') -D YOUR-PATH/moonbase_alpha-sst.dict -xvf moonbase_alpha-backup.tar.zst -C /var/lib/alphanet-data/chains/moonbase_alpha/db --strip-components=6