> For the complete documentation index, see [llms.txt](https://services.liveraven.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://services.liveraven.net/cosmos-mainnets/gitopia/snapshot.md).

# Snapshot

## **Stop the service and reset the data**

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

## **Download latest snapshot**

```bash
curl -L http://snapshots.liveraven.net/snapshots/gitopia/gitopia_latest.tar.lz4 | tar -Ilz4 -xf - -C $HOME/.gitopia
mv $HOME/.gitopia/priv_validator_state.json.backup $HOME/.gitopia/data/priv_validator_state.json
```

## **Restart the service and check the log**

```bash
sudo systemctl start gitopiad && sudo journalctl -u gitopiad -fn 100 -o cat
```
