Skip to content

Commit 1245c72

Browse files
committed
Added image examples
1 parent 483bbae commit 1245c72

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

readme.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,13 @@ The process consists of the following steps:
3636
1. Create an image of the database
3737
2. Create a clone based on an image
3838

39+
Create an image creating a full backup
40+
``` powershell
41+
New-PDCImage -SourceSqlInstance SQLDB1 -DestinationSqlInstance SQLDB2 -ImageNetworkPath \\fileserver\psdatabaseclone\images -Database DB1 -CreateFullBackup
42+
```
43+
44+
Create an image for multiple databases using the latest full backup
45+
``` powershell
46+
New-PDCImage -SourceSqlInstance SQLDB1 -DestinationSqlInstance SQLDB2 -ImageNetworkPath \\fileserver\psdatabaseclone\images -Database DB1, DB2 -UseLastFullBackup
47+
```
48+

0 commit comments

Comments
 (0)