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

Re: Trouble using powershell new-smclone

$
0
0

Hi 

 

Syntax looks correct but I would look at the job report to see the output, when you run the new-smclone it qeues the job so wouldn't know the result right way you need to look at the report. 

 

 

 

--Run Clone command 

$clonejob = New-SmClone -CloneLastBackup 0 -Resources @{"host"="Server";"Type"="SQL Database";"
Names"="DBSERVER\DatabaseName"} -AppPluginCode SMSQL -CloneToInstance "CloneServer" -AssignMountPointUnderPath "C:\SQLmntp
nt"

--Get Clone output 

Get-SmJobSummaryReport -JobId $clonejob.Job.ID

 


Viewing all articles
Browse latest Browse all 3491

Trending Articles