Skip to content

Commit 1eae519

Browse files
authored
fix: Fix the problem of failed backup of all databases for cronjob (#8990)
Refs #8982
1 parent 1416fb0 commit 1eae519

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

agent/app/service/cronjob_backup.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ func loadDbsForJob(cronjob model.Cronjob) []DatabaseHelper {
315315
dbs = append(dbs, DatabaseHelper{
316316
ID: mysql.ID,
317317
DBType: cronjob.DBType,
318-
Database: mysql.Name,
318+
Database: mysql.Database,
319319
Name: mysql.Name,
320320
})
321321
}

0 commit comments

Comments
 (0)