mc admin cluster bucket export

Description

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 cluster-metadata.zip.

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  \
                                      ALIAS[/BUCKET]
  • 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.

Parameters

ALIAS

mc-cmd

Required

The alias of the MinIO deployment.

BUCKET

mc-cmd

Optional

The bucket to export metadata for.

Global Flags

This command supports any of the global flags.

Last modified August 2, 2026: init commit (8338d5b)

Portions of this page are adapted from the MinIO Object Storage Documentation, © 2020–Present MinIO, Inc., licensed under CC BY 4.0, converted and maintained by the Silo project. Attribution