mc admin cluster bucket export


New in version RELEASE.2022-06-17T02-52-50Z.

The mc admin cluster bucket export command exports bucket metadata for use with the mc admin cluster bucket import command.

You can use this command to manually back up the metadata for the specified MinIO bucket. The command always saves the output as

If you specify only the deployment as the target, this command backs up all bucket metadata on the target deployment.

The following command exports all bucket metadata for the myminio deployment.

mc admin cluster bucket export myminio

The command has the following syntax:

mc [GLOBALFLAGS] admin cluster bucket export  \
  • Brackets [] indicate optional parameters.

  • Parameters sharing a line are mutually dependent.

  • Parameters separated using the pipe | operator are mutually exclusive.

Copy the example to a text editor and modify as-needed before running the command in the terminal/shell.



The alias of the MinIO deployment.


The bucket to export metadata for.

Global Flags

This command supports any of the global flags.