pingcap / tidb-operator

TiDB operator creates and manages TiDB clusters running in Kubernetes.
https://docs.pingcap.com/tidb-in-kubernetes/
Apache License 2.0
1.22k stars 493 forks source link

Scheduled backup - immediate clean up upon successful upload #841

Closed sokada1221 closed 4 years ago

sokada1221 commented 5 years ago

Feature Request

Is your feature request related to a problem? Please describe:

Same as https://github.com/pingcap/tidb-operator/issues/840

Describe the feature you'd like:

Feature to immediately delete the backup data upon successful upload to CEPH/S3/GCP would be nice to have especially when we don't have the retention policy (https://github.com/pingcap/tidb-operator/issues/840)

Describe alternatives you've considered:

N/A

Teachability, Documentation, Adoption, Migration Strategy:

Need a boolean flag to enable the feature

aylei commented 4 years ago

closed via #902 , thanks @shinnosuke-okada