pingcap / br

A command-line tool for distributed backup and restoration of the TiDB cluster data
https://pingcap.com/docs/dev/how-to/maintain/backup-and-restore/br/
Apache License 2.0
124 stars 102 forks source link

Support black-whist list #173

Closed 3pointer closed 4 years ago

3pointer commented 4 years ago

Feature Request

Describe your feature request related problem:

Currently, BR only support three modes of backup:

Describe alternatives you've considered:

Teachability, Documentation, Adoption, Migration Strategy:

kennytm commented 4 years ago

Just a note, the black-white-list function is already implemented in the BR library.

https://github.com/pingcap/br/blob/e462f80577a2bf8b5adebab2c20cc26a17db19f8/pkg/task/common.go#L90

the question is how do we expose this feature in the CLI. So this is mostly a bikeshed color question 🙃.