Appearance
Snapshot
While we provide snapshots for those who need them, they are not the primary method and are used at your own risk. For better security and reliability, syncing from scratch is always the best choice. Use snapshots only if you fully understand the risks.
Snapshot Status
Status: 🟢 Available
The snapshot is now available for download. Using the snapshot will significantly reduce sync time — depending on your system specifications, it may take around 1 to 2 hours to fully catch up to the latest block.
Without the snapshot, syncing from genesis can take 1 to 2 days or more.
One-click command
Snapshot full db
bash
bash <(wget -qO- https://astrostake.xyz/install_snapshot_and_config.sh)
Snapshot flow_db
only.
bash
bash <(wget -qO- https://astrostake.xyz/install_snapshot_flowdb_and_config.sh)
Manual Install Snapshot
- Install tools
cd && sudo apt-get install wget lz4 aria2 pv -y
- Download snapshot
Snapshot full db
Blocks: 3632902
Size: 141 GB
wget https://vault.astrostake.xyz/0g-labs/snapshot_standard_astrostake_2025-03-15.tar.lz4
Snapshot flow_db
only. Without data_db
Blocks: 4034877
Size: 329 MB
wget https://vault.astrostake.xyz/0g-labs/snapshot_flowdb_standard_astrostake_2025-04-18.tar.lz4
- Stop service
sudo systemctl stop zgs.service
- Extract
Snapshot full db
extract
rm -rf $HOME/0g-storage-node/run/db
lz4 -c -d snapshot_standard_astrostake_2025-03-15.tar.lz4 | pv | tar -x -C $HOME/0g-storage-node/run
Snapshot flow_db
only extract
rm -rf $HOME/0g-storage-node/run/db/data_db
rm -rf $HOME/0g-storage-node/run/db/flow_db
lz4 -c -d snapshot_flowdb_standard_astrostake_2025-04-18.tar.lz4 | pv | tar -x -C $HOME/0g-storage-node/run/db
- Restart node
sudo systemctl restart zgs && sudo systemctl status zgs
- Remove downloaded file
After successfully installing, you can delete the downloaded file to free up storage space.
rm -rf snapshot_standard_astrostake_2025-03-15.tar.lz4
Remove data_db
Reset Database State
If you haven't received the miner reward, try deleting the data_db
folder and restart storage node.
systemctl stop zgs
rm -rf $HOME/0g-storage-node/run/db/data_db
systemctl start zgs