> For the complete documentation index, see [llms.txt](https://chain-services.l0vd.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://chain-services.l0vd.com/testnets/berachain_v2/snapshot.md).

# Snapshot

## Snapshot

### Updates every 6 hours

### Install dependencies, if needed

```
sudo apt update
sudo apt install lz4 -y
```

### Sync from Snapshot ⚠️ (Pebbledb)

| Height  | Size     | Pruning         | Indexer | Creation Time (UTC+3) |
| ------- | -------- | --------------- | ------- | --------------------- |
| 6398795 | 161.82GB | custom/100/0/10 | null    | 2024-10-22T18:09:58   |

```
sudo systemctl stop beacond

cp $HOME/.beacond/data/priv_validator_state.json $HOME/.beacond/priv_validator_state.json.backup
${BINARY_NAME} tendermint unsafe-reset-all --home $HOME/.beacond --keep-addr-book

rm -rf $HOME/.beacond/data 

SNAP_NAME=$(curl -s https://berachain-pruned-snapshots.l0vd.com/testnets/berachain_v2/bartio-beacon-80084/ | egrep -o ">bartio-beacon-80084.*\.tar.lz4" | tr -d ">")
curl https://berachain-pruned-snapshots.l0vd.com/testnets/berachain_v2/bartio-beacon-80084/${SNAP_NAME} | lz4 -dc - | tar -xf - -C $HOME/.beacond

mv $HOME/.beacond/priv_validator_state.json.backup $HOME/.beacond/data/priv_validator_state.json

sudo systemctl restart beacond
sudo journalctl -u beacond -f --no-hostname -o cat
```

## Geth Snapshot

### Updates every 6 hours

### Install dependencies, if needed

```
sudo apt update
sudo apt install lz4 -y
```

### Sync from Snapshot

| Height  | Size     | State | Txs  | Creation Time (UTC+3) |
| ------- | -------- | ----- | ---- | --------------------- |
| 5919480 | 684.06GB | 1000  | 1000 | 2024-10-22T18:50:22   |

```
mkdir $HOME/geth_snapshot
SNAP_NAME=$(curl -s https://berachain-pruned-snapshots.l0vd.com/testnets/berachain_v2/80084/ | egrep -o ">80084.*\.tar.lz4" | tr -d ">")
curl https://berachain-pruned-snapshots.l0vd.com/testnets/berachain_v2/80084/${SNAP_NAME} | lz4 -dc - | tar -xf - -C $HOME/geth_snapshot
```
