feat: update backup features and cron jobs

This commit is contained in:
mstfyldz
2026-06-06 00:04:12 +03:00
parent c1f04735d6
commit 8625a0fd84
4 changed files with 23 additions and 64 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ export async function POST(req: NextRequest) {
const db = config.databases.find(d => d.id === db_id)
if (!db) return NextResponse.json({ ok: false, error: 'Veritabanı bulunamadı.' })
const filename = backupFilename()
const filename = backupFilename(db.name)
try {
// 1. Dump al