# Snapshot

### Stop the service and reset the data <a href="#stop-the-service-and-reset-the-data" id="stop-the-service-and-reset-the-data"></a>

{% code fullWidth="false" %}

```bash
sudo systemctl stop lava.service
cp $HOME/.lava/data/priv_validator_state.json $HOME/.lava/priv_validator_state.json.backup
rm -rf $HOME/.lava/data
```

{% endcode %}

### Download latest snapshot <a href="#download-latest-snapshot" id="download-latest-snapshot"></a>

{% code fullWidth="false" %}

```bash
curl -L https://snapshots.alexz.site/lava-mainnet/snapshot_latest.tar | tar -xf - -C $HOME/.lava
mv $HOME/.lava/priv_validator_state.json.backup $HOME/.lava/data/priv_validator_state.json
```

{% endcode %}

### Restart the service and check the log <a href="#restart-the-service-and-check-the-log" id="restart-the-service-and-check-the-log"></a>

{% code fullWidth="false" %}

```bash
sudo systemctl start lava.service && sudo journalctl -u lava.service -f --no-hostname -o cat
```

{% endcode %}
