> For the complete documentation index, see [llms.txt](https://yoyo-5.gitbook.io/canto/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://yoyo-5.gitbook.io/canto/yun-xing-jie-dian/yan-zheng-zhe/kuai-zhao.md).

# 快照

## 创建快照&#x20;

## 为快照创建文件夹

```
mkdir -p $HOME/snapshots/canto
```

克隆 github 仓库

```
git clone https://github.com/SiddarthVijay/cosmos-snapshots.git
cd cosmos-snapshots
git checkout patch/v1-canto
```

## 创建新快照

```
./canto_snapshot.sh
```

## 使用快照&#x20;

快照也可在 [Polkachu ](https://polkachu.com/tendermint_snapshots/canto)上使用&#x20;

## 使用快照&#x20;

备份$HOME/.canto/priv\_validator\_state.json（以下步骤无法恢复）

```
sudo systemctl stop cantod
cantod unsafe-reset-all
cd $HOME/.cantod
wget -O <snapshot_file>.tar <host_url>
tar -xvf <snapshot_file>.tar 
```

重启节点

```
sudo systemctl start cantod
# Watch logs
journalctl -u cantod -f
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://yoyo-5.gitbook.io/canto/yun-xing-jie-dian/yan-zheng-zhe/kuai-zhao.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
