radondb-mysql-kubernetes
radondb-mysql-kubernetes copied to clipboard
[question] How to get the backup I want from S3?
According to the test, my s3 backup file is in the format of "backup_202211810457", when I have multiple mysql clusters, how do I distinguish which backup is what I need?
Hi! thanks for your contribution! great first issue!
Hello, you can use different bucket to save backup data for different clusters.
Thank you for your reply, if I have multiple clusters, I have to add new buckets every time I create a cluster, too many buckets are not easy to manage. I want several clusters to be backed up to the same bucket, is there any other way to distinguish which cluster the backup belongs to?
This is a good question, but we think that if one more clusters with only one bucket to backup, when a bucket is deleted, all clusters backups will be lost.
This is a good question, but we think that if one more clusters with only one bucket to backup, when a bucket is deleted, all clusters backups will be lost.
We don't usually change the configuration of S3. Now the situation is that our backups on S3 are distinguished by bucket names, such as "mysqlbak-", "mongobak-", under the same bucket, backups are distinguished by cluster names, such as "cluster-test", "cluster-product", "cluster-pre" and so on.
I think the feature of custom backup prefix can be added. @andyli029
I think the feature of
custom backup prefixcan be added. @andyli029
@fisher-1
ACK. WIP.