Quantcast
Channel: All Data Protection posts
Viewing all articles
Browse latest Browse all 3468

Trouble using powershell new-smclone

$
0
0

I'm having trouble trying to get a clone to work from powershell. We have a nightly backup that occurs, and I just want to use that to create a clone of one of the databases, or all, doesn't matter at this point to another host.  Right now the command looks like this:

 

PS C:\computer> New-SmClone -BackupName "SQL Nightly Backup 10-04-2017_22.00.15.0920" -Resources @{"Host"="sql1
6-test.domain.com";"Type"="SQL Database";"Names"="sql16-test\sql16-test"} -AppPluginCode smsql -CloneToInstance "sql16-
test" -Suffix _clone -AutoAssignMountPoint -LogRestoreType None

Which isn't throwing any errors at all in powershell.  But, it's not doing anything either.  It does return the following results:

 

Result : SMCoreContracts.SMResult
TotalCount : 0
DisplayCount : 0
Context :
Job : SMCoreContracts.SmJob
Clones : {}

 

Any help would be greatly appreciated! 


Viewing all articles
Browse latest Browse all 3468

Trending Articles