feat: update backup features and cron jobs
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user