Subscribe

SnapCenter powershell

Hi I am trying to clone a SQL database name X from server Y to Server Z as database C 

 

I am trying to run below command but the database on the server Z but it is defaulting to X. 

 

here is the command I am using. 

 

 

New-SmClone -CloneLastBackup 0 -Resources @{"host"="Y";"Type"="SQL Database";"Names"="Y\X"} -AppPluginCode SMSQL -CloneToInstance "Z" -AssignMountPointUnderPath "C:\SQLmntpnt"