Process Snapshot
Download the snapshot
1wget https://blockhunters.dev/snapshots/avail/snapshot.tar.lz4
Stop the service
1sudo systemctl stop avail.service
- OR
1docker stop <AVAIL_CONTAINER_NAME>
💡
Make sure there is no process running that might try to write to the database
💡
Make sure your avail data directory is clean (let us assume <AVAIL_HOME> is your root Avail directory)
1rm -rf <AVAIL_HOME>/chains/avail_da_mainnet/paritydb/
- Make sure you have lz4 installed
1sudo apt install lz4
- Decompress the archive
1lz4 -c -d snapshot.tar.lz4 | tar -x -C <AVAIL_HOME>/chains/avail_da_mainnet
- Start the Avail service OR container!