panel
panel copied to clipboard
Overwrite backup flag/parameter for API and Panel
Is there an existing feature request for this?
- [X] I have searched the existing issues before opening this feature request.
Describe the feature you would like to see.
I would like that there should be a flag which should allow you to overwrite the oldest backup in case the backup limit is reached, when doing this via either Panel or API.
Currently If the backup limit is reached, create backup button is hidden in the panel. With API, if you try to create a new backup it throws a TooManyBackupsException
Describe the solution you'd like.
If a user has a permission to delete backup as well as create it, they should be able to create a new backup which overwrites the oldest.
In case of UI, if backup limit is reached, a warning should be in the create backup dialog that this new creation will overwrite the existing one. In API, user with correct permissions should be able to set a parameter (like overwrite:"true") and overwrite oldest existing backup.
Additional context to this request.
No response
Love too see it