有没有办法在使用Helm部署后,将文件夹和文件复制到Minio存储桶?

huangapple go评论69阅读模式
英文:

Is there any way to copy folder and files to minio bucket deployed from Helm after post deployment?

问题

把文件夹及其子目录复制到使用 MinIO Helm 部署的 MinIO 服务器上,有没有办法在使用 Helm 部署服务后,将文件夹复制到在云上部署的 MinIO 存储桶?

英文:

I want to copy folder and its subdirectory to MinIO server which is deployed using MinIO Helm.

Is there any way to copy folder to MinIO bucket which is deployed on cloud using helm after postdeployemtn of Helm service using Helm?

答案1

得分: 1

你可以将一个文件夹及其子目录复制到使用MinIO Helm部署的MinIO服务器上。使用MinIO Helm Chart在云平台上部署MinIO服务器,然后使用mc命令行工具将文件夹及其子目录复制到MinIO存储桶中。例如,你可以使用以下命令将名为'myfolder'的文件夹及其子目录复制到'mybucket' MinIO存储桶:

mc cp -r myfolder mybucket

你也可以使用mc mirror命令将文件夹的内容镜像到MinIO存储桶中。例如:

mc mirror -r myfolder mybucket

有关更多关于将文件夹复制到MinIO的信息,请参考MINIO官方文档

英文:

You can copy a folder and its subdirectories to a MinIO server which is deployed using MinIO Helm. Use the MinIO Helm Chart to deploy the MinIO server on a cloud platform, and then use the mc command line tool to copy the folder and its subdirectories to the MinIO bucket. For example, you can use the following command to copy a folder named ‘myfolder’ and its subdirectories to the ‘mybucket’

MinIO bucket:

mc cp -r myfolder mybucket

You can also use the mc mirror command to mirror the contents of the folder to the MinIO bucket. For example:

mc mirror -r myfolder mybucket

Refer to this MINI IO official doc for more information on this copy folder to minio

huangapple
  • 本文由 发表于 2023年2月8日 23:11:13
  • 转载请务必保留本文链接:https://go.coder-hub.com/75387790.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定