mirror of
https://github.com/minio/docs.git
synced 2025-07-28 19:42:10 +03:00
Closes #807 Closes #846 --------- Co-authored-by: Daryl White <53910321+djwfyi@users.noreply.github.com>
1.8 KiB
1.8 KiB
mc admin cluster bucket export
minio
mc admin cluster bucket export
Description
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.
EXAMPLE
The following command exports all bucket metadata for the
myminio
deployment.
mc admin cluster bucket export myminio
SYNTAX
The command has the following syntax:
mc [GLOBALFLAGS] admin cluster bucket export \
ALIAS[/BUCKET]
Parameters
ALIAS
The alias <mc alias>
of the MinIO deployment.
BUCKET
The bucket to export metadata for.