minio

How can I change bucket name in MinIO?


We have a Minio cluster that we use as an on-premises object storage. We want to rename a bucket in it. How can I do this?


Solution

  • It is not possible to rename buckets: you have to create a new bucket with the desired name, copy over your data mc cp -r minio/oldbucket minio/newbucket and delete the old bucket.