Enhance backup functionality by introducing support for compose backups. Update backup schema to include serviceName and backupType fields. Modify related components to handle new backup types and integrate service selection for compose backups. Update API routes and database schema accordingly.

This commit is contained in:
Mauricio Siu
2025-04-27 20:17:49 -06:00
parent 7ae3ff22ee
commit 2ea2605ab1
19 changed files with 6005 additions and 69 deletions

View File

@@ -35,6 +35,7 @@ export const findBackupById = async (backupId: string) => {
mariadb: true,
mongo: true,
destination: true,
compose: true,
},
});
if (!backup) {

View File

@@ -131,6 +131,11 @@ export const findComposeById = async (composeId: string) => {
bitbucket: true,
gitea: true,
server: true,
backups: {
with: {
destination: true,
},
},
},
});
if (!result) {