Skip to content

Commit ccfd7f5

Browse files
authored
Merge pull request #3439 from Dokploy/3102-web-server-backup-keep-the-latest-not-working
feat(backup): add functionality to keep the latest N backups after ru…
2 parents 10c0de9 + 6d94da1 commit ccfd7f5

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

apps/dokploy/server/api/routers/backup.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,7 @@ export const backupRouter = createTRPCRouter({
285285
.mutation(async ({ input }) => {
286286
const backup = await findBackupById(input.backupId);
287287
await runWebServerBackup(backup);
288+
await keepLatestNBackups(backup);
288289
return true;
289290
}),
290291
listBackupFiles: protectedProcedure

0 commit comments

Comments
 (0)