Open DeepLJH0001 opened 4 years ago
备份存在,但是无法恢复
velero restore get
能看到clusterbk-20200107024432
吗
@haoshuwei 可以的,显示的状态是失败。
[root@localhost harbor]# velero restore get
NAME BACKUP STATUS WARNINGS ERRORS CREATED SELECTOR
clusterbk-20200107023607 clusterbk Failed 0 0 2020-01-07 02:36:07 -0500 EST <none>
clusterbk-20200107024432 clusterbk Failed 0 0 2020-01-07 02:44:32 -0500 EST <none>
velero restore logs clusterbk-20200107023607 |grep error
看下错误日志输出是什么
可能是你的集群在restore的时候有资源冲突,比如port被占用等情况; 一般建议对应用单独备份和恢复,集群备份会涉及到全局范围的一些资源, 容易冲突
能否多一点错误的日志信息,方便进行排查
@DeepLJH0001 可以看看backupstroagelocation的状态是否正常
What steps did you take and what happened: [A clear and concise description of what the bug is.]
velero backup后提示成功,但是在restore后发现报错。
velero backup create xxx --snapshot-volumes=false --wait
What did you expect to happen:
正常恢复
Anything else you would like to add: [Miscellaneous information that will assist in solving the issue.]
Environment: centos 7.7
ark version
): 1.2kubectl version
): 1.6.4/etc/os-release
):