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

User should be able to perform a backup of database #1187

Open
mkosieradzki opened this issue Jun 25, 2020 · 15 comments
Open

User should be able to perform a backup of database #1187

mkosieradzki opened this issue Jun 25, 2020 · 15 comments
Assignees

Comments

@mkosieradzki
Copy link

User should be able to perform a backup (and restore) of database using kubernetes-specific toolchain like velero/restic.

@frodopwns
Copy link
Contributor

frodopwns commented Jun 26, 2020

Right now we have the concept of "Actions" like in AzureSqL we have an AzureSQLAction and the only use case right now is to create new admin credentials for the server. This could be expanded to allow backup/restore on an ad hoc basis. What about scheduled backups? I could imagine using Kube CronJobs to our advantage here.

@mkosieradzki
Copy link
Author

Ideally integration should be done as part of this project: https://github.com/vmware-tanzu/velero-plugin-for-microsoft-azure

However, exposing this SQLActions feature sounds like a really good idea.

@frodopwns
Copy link
Contributor

Operations beyond deployment and deletion are a little up in the air currently.

We have

AzureSQLAction

  • roll creds: which resets admin user/pass and updates kube secret (key vault if configured)

Redis

  • reset keys
  • restart server

These have come directly from user requests as I didn't want to get into the habit of churning out features that would not be used.

Please feel free to suggest anything else that comes to mind. I think backups/restores will be among the highest priority here.

@stale
Copy link

stale bot commented Oct 22, 2020

This issue has been automatically marked as stale because it has not had activity in 60 days. It will be closed if no further activity occurs. Thank you!

@stale
Copy link

stale bot commented Jul 5, 2021

Issue still active.

@stale stale bot removed the stale label Jul 5, 2021
@matthchr matthchr removed the triaged label Aug 9, 2021
@theunrepentantgeek
Copy link
Member

theunrepentantgeek commented Dec 13, 2021

The discussion above relates to ASO v1 which is now in maintenance mode.

We don't currently have a way in ASO v2 to do long-running ad-hoc operations, but we do want to support those in the future. We'll revisit this idea once we have a design for those.

@stale
Copy link

stale bot commented Apr 19, 2022

This issue has been automatically marked as stale because it has not had activity in 60 days.

@stale stale bot added the stale label Apr 19, 2022
@matthchr
Copy link
Member

matthchr commented May 2, 2022

We're still interested in investigating a good way to do this sort of operation

@stale
Copy link

stale bot commented May 2, 2022

Issue still active.

@stale stale bot removed the stale label May 2, 2022
@matthchr matthchr added this to the v2.0.0-beta.2 milestone May 2, 2022
@super-harsh
Copy link
Collaborator

We're still interested in doing this.

@matthchr
Copy link
Member

Still interested in doing this, but prioritizing GA release of v2.0.0 currently. We would be open to a PR for this for sure.

@matthchr
Copy link
Member

matthchr commented Oct 2, 2023

Still interested in doing this. We have some support for Azure BackupVaults now, which might actually support this in some way, although they may not as well we'll need to do some reading...

@matthchr
Copy link
Member

This may be related to #3736

@matthchr matthchr removed this from the v2.7.0 milestone Feb 22, 2024
@matthchr
Copy link
Member

No change from the above. We might possibly be able to close this item given that we will support the backup service (hopefully soon), but it's not 100% clear to me that they support the full set of database backups asked about here.

@theunrepentantgeek
Copy link
Member

No change from the above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

7 participants