快照
创建快照
为快照创建文件夹
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
使用快照
快照也可在 Polkachu 上使用
使用快照
备份$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
最后更新于