I get this error when restore
the name should be ServerInstance svspf100 and NOT svspf100.onesourceag.ch how can I change this?
Command line:
delete-clone -Server "svspf100" -ServerInstance "svspf100.onesourceag.ch" -Database 'SMSP_R_WSS_Content_sqlsnap__svspf100_06-12-2012_20.00.27' -apicontext:$True -verbose:$True
ErrorMessage:
Pipeline State Changed to Failed:
Database Name specified SMSP_R_WSS_Content_sqlsnap__svspf100_06-12-2012_20.00.27 is not valid. Please specify a valid name for the Database clone that you wish to delete.
PSObjectOutput:
[22:23:00.5519711]: Initializing [delete-clone][System.String]
[22:23:00.6469806]: Connecting to server: [svspf100] [processing][System.String]
[22:23:00.9090068]: Connecting to server: [svspf100] [completed][System.String]
[22:23:00.9090068]: Retrieving SnapManager Configuration Information: [processing][System.String]
[22:23:04.4423601]: Retrieving SnapManager Configuration Information: [completed][System.String]
[22:23:04.4423601]: Database Name specified SMSP_R_WSS_Content_sqlsnap__svspf100_06-12-2012_20.00.27 is not valid. Please specify a valid name for the Database clone that you wish to delete.[System.String]
[22:23:04.5943753]: System.Management.Automation.PipelineStoppedException: The pipeline has been stopped.
at System.Management.Automation.MshCommandRuntime.ThrowTerminatingError(ErrorRecord errorRecord)
at System.Management.Automation.Cmdlet.ThrowTerminatingError(ErrorRecord errorRecord)
at SMSQLPSSnapIn.SMSQLPSDeleteClone.ProcessRecord()[System.Management.Automation.PipelineStoppedException]
[22:23:04.5963755]: An Error occured while deleting the Database clone.Please check the SnapManager Reports/Windows EventLogs for more information.
Details:The pipeline has been stopped.[System.String]
[22:23:04.7413900]: Failed.