How can we help you today? How can we help you today?

How to Create a snapshot using DLM automation?

Hi,

I was wondering if there is any way ( either by using powershell cmdlets or using Jenkins plugin) to create a snapshot of a database in Jenkins job.

Thank you

10raw
0

Comments

4 comments

  • way0utwest
    A database snapshot or a SQL Compare snapshot?
    way0utwest
    0
  • 10raw
    A database snapshot. Thank you for your response.
    10raw
    0
  • way0utwest
    This would not be a DLM function, but just a T-SQL call. You could use a SQLCMD step in your build/release tool, or a PoSh step, and call the CREATE DATABASE AS SNAPSHOT OF command.
    way0utwest
    0
  • 10raw
    thank you for the response
    10raw
    0

Add comment

Please sign in to leave a comment.