minio / mc

Unix like utilities for object store
https://min.io/download
GNU Affero General Public License v3.0
2.88k stars 550 forks source link

mirror:support one mirror process to back up specified buckets #5070

Open dormanze opened 1 month ago

dormanze commented 1 month ago

Community Contribution License

All community contributions in this pull request are licensed to the project maintainers under the terms of the Apache 2 license. By creating this pull request I represent that I have the right to license the contributions to the project maintainers under the Apache 2 license.

Description

support one mirror process to back up specified buckets

Motivation and Context

Mirror 100 buckets whose names start with test, you need to create 100 mirror processes. After this pr is introduced, only one process is required to mirror specified buckets.

How to test this PR?

mc mirror --include-bucket 'test*' s3 ~/test

Types of changes

Checklist: