Get your favorite SSC scripts directly in SSMS with the free SQL Scripts addin.
Search for scripts directly from SSMS, and instantly access any saved scripts in your
SSC briefcase from the favorites tab.
Download now (direct download link)
Thank this author by sharing:
By Dimitris Mesinis,
This script is designed to restore to a new DB in a specific point in time from backup files (FULL/DIFF/LOG) created from Ola Hallengren's backup solution (http://ola.hallengren.com). Just fill the "Initialize variables" section and the generator will print all the necessary commands, you can review and execute them manually for extra security. Although it is based on a specific solution with little or no modifications it can be universal for all directory/file naming conventions.