feat(web): exposed a job to manually trigger database backup procedures ()

* feat(web): exposed a new job to create a manual database backup

* chore(server): added a new test case

* chore(server): moved job to backup db into the create job popup

* remove irrelevant change

* openapi

* chore: formatting

* docs: trigger backup documentation

---------

Co-authored-by: Lorenzo Montanari <13736036+l0ll098@users.noreply.github.com>
Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
Co-authored-by: Zack Pollard <zack@futo.org>
This commit is contained in:
Lorenzo Montanari 2025-03-11 12:30:43 +01:00 committed by GitHub
parent decc878267
commit d7e0f0e70e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 28 additions and 2 deletions

View file

@ -9918,7 +9918,8 @@
"tag-cleanup",
"user-cleanup",
"memory-cleanup",
"memory-create"
"memory-create",
"backup-database"
],
"type": "string"
},

View file

@ -3580,7 +3580,8 @@ export enum ManualJobName {
TagCleanup = "tag-cleanup",
UserCleanup = "user-cleanup",
MemoryCleanup = "memory-cleanup",
MemoryCreate = "memory-create"
MemoryCreate = "memory-create",
BackupDatabase = "backup-database"
}
export enum JobName {
ThumbnailGeneration = "thumbnailGeneration",