Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[question] How to get the backup I want from S3? #372

Open
fisher-1 opened this issue Jan 18, 2022 · 7 comments
Open

[question] How to get the backup I want from S3? #372

fisher-1 opened this issue Jan 18, 2022 · 7 comments
Labels
question Further information is requested

Comments

@fisher-1
Copy link

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?

@fisher-1 fisher-1 added the question Further information is requested label Jan 18, 2022
@github-actions
Copy link

Hi! thanks for your contribution! great first issue!

@runkecheng
Copy link
Collaborator

Hello, you can use different bucket to save backup data for different clusters.

@fisher-1
Copy link
Author

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?

@fisher-1 fisher-1 reopened this Jan 19, 2022
@acekingke
Copy link
Contributor

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.

@fisher-1
Copy link
Author

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.

@runkecheng
Copy link
Collaborator

I think the feature of custom backup prefix can be added. @andyli029

@andyli029
Copy link
Contributor

andyli029 commented Jan 21, 2022

I think the feature of custom backup prefix can be added. @andyli029

@fisher-1

ACK.
WIP.

@fisher-1 fisher-1 changed the title How to get the backup I want from S3? [question] How to get the backup I want from S3? Mar 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants