2

我正在尝试在断电后恢复 etcd 快照,但出现以下错误。

FATA[0020] [etcd] Failed to restore etcd snapshot: Failed to run etcd restore container, exit status is: 128, container logs: Error: snapshot missing hash but --skip-hash-check=false

我在跑rke etcd snapshot-restore --config rancher-cluster.yaml --name 202008091207.zip

4

1 回答 1

3

此问题是由 .zip 文件扩展名错误地包含到快照名称参数引起的。

快照名称参数 (--name) 应包含快照名称,不包括文件扩展名。

请尝试以下命令。

rke etcd snapshot-restore --config rancher-cluster.yaml --name 202008091207
于 2020-08-09T07:57:20.487 回答