mc admin cluster bucket export
Description
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 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
- Required
The
alias
of the MinIO deployment.
Global Flags
This command supports any of the global flags.