enh(mssql) Exclude snapshots from backups (#2742)

This commit is contained in:
UrBnW 2021-04-28 16:21:42 +02:00 committed by GitHub
parent 33c16a93dc
commit 94498aa059
1 changed files with 1 additions and 0 deletions

View File

@ -90,6 +90,7 @@ sub run {
WHERE BS.type = 'D' WHERE BS.type = 'D'
GROUP BY BS.[database_name] GROUP BY BS.[database_name]
) BS1 ON D.name = BS1.[database_name] ) BS1 ON D.name = BS1.[database_name]
WHERE D.source_database_id IS NULL
ORDER BY D.[name]"; ORDER BY D.[name]";
} }