SQL Clone
SQLServerCentral is supported by Redgate
Log in  ::  Register  ::  Not logged in

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)

Point in time restore to a new DB from files of a Full Recovery Model

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.

Total article views: 915 | Views in the last 30 days: 3
script generator