Skip to content

Commit 5dbcd93

Browse files
author
Till Brehm
committed
Merge branch '5688-backup-db-error' into 'stable-3.1'
Change loglevel to debug if no DB exists for site (#5688) Closes #5688 See merge request ispconfig/ispconfig3!1093
2 parents c006d22 + be9d18b commit 5dbcd93

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

server/lib/classes/backup.inc.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1147,7 +1147,7 @@ protected static function make_database_backup($web_domain, $backup_job)
11471147

11481148
$records = $app->db->queryAllRecords("SELECT * FROM web_database WHERE server_id = ? AND parent_domain_id = ?", $server_id, $domain_id);
11491149
if (empty($records)){
1150-
$app->log('Skipping database backup for domain ' . $web_domain['domain_id'] . ', because no related databases found.', LOGLEVEL_ERROR);
1150+
$app->log('Skipping database backup for domain ' . $web_domain['domain_id'] . ', because no related databases found.', LOGLEVEL_DEBUG);
11511151
return true;
11521152
}
11531153

@@ -1450,4 +1450,3 @@ public static function run_all_backups($server_id, $backup_job = "auto")
14501450
}
14511451

14521452
?>
1453-

0 commit comments

Comments
 (0)