Rancher入门到精通-2.0 备份恢复
./rke etcd snapshot-restore --name backup.db --config config/rancher-cluster-01.yml
INFO[0000] Restoring etcd snapshot backup.db
INFO[0000] Successfully Deployed state file at [config/rancher-cluster-01.rkestate]
INFO[0000] [dialer] Setup tunnel for host [172.21.203.11]
INFO[0000] [dialer] Setup tunnel for host [172.21.203.13]
INFO[0000] [dialer] Setup tunnel for host [172.21.203.12]
FATA[0005] failed to prepare backup: restoring S3 backups with no cluster level S3 configuration is not supported
实例
介绍如何创建Rancher数据备份以及如何在灾难情况下进行数据恢复
以RKE构建k8s集群 和 RKE 0.2.1版本为例:
k8s集群:
host
role
10.10.110.155 nginx 前端负载
10.10.110.156 controlplane,etcd,worker
10.10.110.157 controlplane,etcd,worker
10.10.110.158 controlplane,etcd,worker 故障节点、恢复节点
注:由于资源不足,模拟 10.10.110.158 节点故障,同时对10.10.110.158节点进行
文章来源: blog.csdn.net,作者:隔壁老瓦,版权归原作者所有,如需转载,请联系作者。
原文链接:blog.csdn.net/wxb880114/article/details/102819298
- 点赞
- 收藏
- 关注作者
评论(0)