英文:
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
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论