Is there a way to keep the image names the same every time? 

We need to run this script every night without any changes.

# 'refresh' all clones to use a newer image

Connect-SqlClone -ServerUrl 'http://it24741hj:14145'

$oldImageName = 'scazsql01_bcc'

$newImageName = 'bcc_20191219'



Carmine Natale
0

Comments

2 comments

  • AlexKondratov
    Hi Carmine,

    If you are updating an image to a newer version and refreshing its clones you have to delete all clones and create them again using the new image. The new image can use the same name as the old image if you delete or rename the old image before creating the new one.
    AlexKondratov
    0
  • Carmine
    That's what I needed to know. Thanks.
    Carmine
    0

Add comment

Please sign in to leave a comment.