From 94498aa0590c3946a07bc0cce3ebcfe08e4e9cdf Mon Sep 17 00:00:00 2001 From: UrBnW <40244829+UrBnW@users.noreply.github.com> Date: Wed, 28 Apr 2021 16:21:42 +0200 Subject: [PATCH] enh(mssql) Exclude snapshots from backups (#2742) --- centreon-plugins/database/mssql/mode/backupage.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/centreon-plugins/database/mssql/mode/backupage.pm b/centreon-plugins/database/mssql/mode/backupage.pm index fb9f8b01d..7e6b030ed 100644 --- a/centreon-plugins/database/mssql/mode/backupage.pm +++ b/centreon-plugins/database/mssql/mode/backupage.pm @@ -90,6 +90,7 @@ sub run { WHERE BS.type = 'D' GROUP BY BS.[database_name] ) BS1 ON D.name = BS1.[database_name] + WHERE D.source_database_id IS NULL ORDER BY D.[name]"; }