zilliztech / milvus-backup

Backup and restore tool for Milvus
Apache License 2.0
110 stars 38 forks source link

[Bug]: error="The specified bucket does not exist."] #292

Closed zyssyz123 closed 4 months ago

zyssyz123 commented 4 months ago

Current Behavior

直接create 了 backup,但是报错 error="The specified bucket does not exist."]

Expected Behavior

创建backup

Steps To Reproduce

No response

Environment

minio:
  address: localhost # Address of MinIO/S3
  port: 9000   # Port of MinIO/S3
  accessKeyID: minioadmin # accessKeyID of MinIO/S3
  secretAccessKey: minioadmin # MinIO/S3 encryption string
  useSSL: false # Access to MinIO/S3 with SSL
  bucketName: "a-bucket" # Bucket name in MinIO/S3
  rootPath: files # The root path where the message is stored in MinIO/S3
   # Whether to use IAM role to access S3/GCS instead of access/secret keys
  # For more infomation, refer to
  # aws: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use.html
  # gcp: https://cloud.google.com/storage/docs/access-control/iam
  useIAM: false
  # Cloud Provider of S3. Supports: "aws", "gcp". 
  # You can use "aws" for other cloud provider supports S3 API with signature v4, e.g.: minio
  # You can use "gcp" for other cloud provider supports S3 API with signature v2
  # When `useIAM` enabled, only "aws" & "gcp" is supported for now
  cloudProvider: "aws"
  # Custom endpoint for fetch IAM role credentials. when useIAM is true & cloudProvider is "aws".
  # Leave it empty if you want to use AWS default endpoint
  iamEndpoint: ""

Anything else?

我检查了 minio 的配置, 和 milvus docker 中的配置是一样的,但是报错,配置是与默认 config一样的

wayblink commented 4 months ago

这个报错很明确了,还是哪里配置的问题 1,请用最新版milvus-backup 2,尝试使用./milvus-backup check 检查下输出 有问题再提供信息

zyssyz123 commented 4 months ago

已经解决,是 minio 没有开放9000 端口

zyssyz123 commented 4 months ago

fix