Skip to content

Create Image

Sander Stad edited this page Oct 8, 2020 · 3 revisions

Minimum Requirements

  1. SQL Server database to image and eventually clone
  2. SQL Server instance to build the image. This can be the same as the source instance.
  3. A network share to save the images to.

Creating the image

The following command will create an image on the same instance that hosts the source database. The image will be saved in the file share “\sqldb1\dbaclone\images” and during run-time a full backup will be created to get the latest data.

New-DcnImage -SourceSqlInstance SQLDB1 -DestinationSqlInstance SQLDB1 -ImageNetworkPath \\sqldb1\dbaclone\images -Database DB1 -CreateFullBackup
Clone this wiki locally