mc admin cluster bucket import
The mc admin cluster bucket import command imports bucket metadata as created by the mc admin cluster bucket export command.
You can use this command to manually restore the metadata to the specified bucket on an AIStor deployment.
If you specify only the deployment as the target, this command applies the metadata objects to all matching buckets on the target.
Syntax
Parameters
ALIAS
Required
The alias of the AIStor deployment.
METADATA.ZIP
Required
The path to the metadata file to import.
Use mc admin cluster bucket export to export bucket metadata for use with this command.
BUCKET
Optional
The bucket to apply the imported metadata to.
Global flags
This command supports any of the global flags.