Velero k8s 集群迁移

问题描述

我正在尝试使用 velero AWS 将资源从一个集群迁移到另一个集群。目前在第一个集群中,我创建了备份,并使用 velero 备份将其存储在 S3 存储桶中。但是我正在尝试将备份资源复制到新集群中,但没有显示 s3 备份中的资源。

我正在使用这个命令:

velero install --provider aws --plugins velero/velero-plugin-for-aws:v1.2.0 --bucket private-cluster --backup-location-config region=us-east-1 --snapshot-location -config region=us-east-1 --secret

我收到以下错误

time="2021-06-17T17:03:32Z" level=error msg="获取此位置的备份存储出错" backupLocation=default controller=backup-sync error="备份存储位置的bucket名称-dev/velero /集群私有 te-dev-0”不得包含“/”(如果使用前缀,请将其放在“前缀”字段中)” error.file="/go/src/github.com/vmware-tanzu/velero/ pkg/persistence/object_store.go:127" error.function="github.com/vmware-tanzu/velero/pkg /persistence.(*objectBackupStoreGetter).Get" logSource="pkg/controller/backup_sync_controller.go:175" I0617 17:03:33.972133 1 request.go:645] 节流请求耗时 1.048202404s,请求:

任何线索将不胜感激。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)