Snapshot - V2
🚀 Using Snapshots for 0G Storage Node
Section titled “🚀 Using Snapshots for 0G Storage Node”Note: While we provide snapshots for convenience, syncing from genesis is still the most secure and reliable method. Use snapshots only if you fully understand the risks involved.
🟢 Snapshot Status
Section titled “🟢 Snapshot Status”Status: 🟢 Available
The latest snapshot is available for download. Using it can significantly reduce the sync time. Depending on your system’s performance, it may take approximately 1 to 2 hours to catch up to the latest block.
⚠️ Without a snapshot, syncing from genesis may take 1 to 2 days or more.
🛠 One-Click Install Command
Section titled “🛠 One-Click Install Command”LogSyncHeight: 4049002 | Size: 45G
bash <(wget -qO- https://cdn.bangcode.id/0g/bangcode_0g_storage_tools.sh)
snapshot turbo under maintenance
📦 Manual Install Snapshot
Section titled “📦 Manual Install Snapshot”1. Install Required Tools
Section titled “1. Install Required Tools”cd && sudo apt-get install wget lz4 aria2 pv -y
2. Download Snapshot
Section titled “2. Download Snapshot”LogSyncHeight: 4049002 | Size: 45G
wget https://cdn.bangcode.id/snapshots/og_storage_2025-04-19_snap.tar.lz4
LogSyncHeight: 000000 | Size: 0G
**Note:** Turbo snapshot is currently under maintenance.
3. Stop Your Node Service
Section titled “3. Stop Your Node Service”sudo systemctl stop zgs.service
4. Extract Snapshot
Section titled “4. Extract Snapshot”Snapshot Standar Extract :
rm -rf $HOME/0g-storage-node/run/dblz4 -c -d og_storage_2025-04-19_snap.tar.lz4 | pv | tar -x -C $HOME/0g-storage-node/run
**Note:** Turbo snapshot is currently under maintenance.
5. Restart Node Service
Section titled “5. Restart Node Service”sudo systemctl restart zgs && sudo systemctl status zgs
6. (Optional) Delete Snapshot File
Section titled “6. (Optional) Delete Snapshot File”After successful installation, you can delete the downloaded snapshot to save disk space.
rm -rf og_storage_2025-04-19_snap.tar.lz4
🧹 Resetting data_db
Folder
Section titled “🧹 Resetting data_db Folder”If you’re not receiving miner rewards, you can try resetting the database by deleting the data_db
folder:
sudo systemctl stop zgsrm -rf $HOME/0g-storage-node/run/db/data_dbsudo systemctl start zgs