enh(mssql) Exclude snapshots from backups (#2742)
This commit is contained in:
parent
33c16a93dc
commit
94498aa059
|
@ -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]";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue