Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
sp_DatabaseRestore: validate @Database against FULL backup file #1894
Version of the script
What is the current behavior?
SQL Pattern matching means we can restore SomeDBCopy because it matches SomeDB in filters like
Fixing the LIKE/REPLACE code is possible but we can validate that the full backup files does actually match the @database parameter.
If the current behavior is a bug, please provide the steps to reproduce.
What is the expected behavior?