Cloud & SQLSailor

Cloud, Databases & Beyond!

Can we create Snapshot’s using SSMS ?


Answer is a straight No,however there are some 3rd party add-ins which you can try and by no way we can say its bug free

T-SQL can be used easily to create a snap shot and below is a sample code for the same :

 

Create Database Snapshot_Adventureworks

ON

(

NAME=’Adventureworks_Data’,

FILENAME=’C:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL\DATA\Snapshot_Adventureworks.ds’

)

AS SNAPSHOT OF Adventureworks

For restoring purpose you can use the below T-SQL command :

RESTORE Database Adventureworks FROM Database_Snapshot=’Snapshot_Adventureworks ‘

Leave a comment