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 ed674d2e44
commit ae8a763cb0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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]";
}