<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic SMSQL delete-clone powershell command not working &amp;quot;Database Name specified is not valid&amp;quot; in Data Protection</title>
    <link>https://community.netapp.com/t5/Data-Protection/SMSQL-delete-clone-powershell-command-not-working-quot-Database-Name-specified/m-p/53879#M7722</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to automate cloning our databases into our different development environments with powershell. I can create the database clone with the clone-database command, but when I try to delete it with this command:&lt;/P&gt;&lt;P&gt;delete-clone -Server PER-0-SQL08-INF\SQL2008INF -Database InfusionImport -ServerInstance STG-0-DB0-B\LOCAL&lt;/P&gt;&lt;P&gt;I get this output:&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Initializing [delete-clone]&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Connecting to server: [PER-0-SQL08-INF\SQL2008INF] [processing]&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Connecting to server: [PER-0-SQL08-INF\SQL2008INF] [completed]&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Retrieving SnapManager Configuration Information: [processing]&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Retrieving SnapManager Configuration Information: [completed]&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Database Name specified InfusionImport is not valid. Please specify a valid name for the Database clone that you wish to de&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;lete.&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;An Error occured while deleting the Database clone.Please check the SnapManager Reports/Windows EventLogs for more informat&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;ion.&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Details:The pipeline has been stopped.&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;delete-clone : Database Name specified InfusionImport is not valid. Please specify a valid name for the Database clone that&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt; you wish to delete.&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;At line:1 char:13&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #ff0000;"&gt;+ delete-clone &amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;nbsp; -Server PER-0-SQL08-INF\SQL2008INF -Database InfusionImport -ServerInstance STG-0-DB0-B\LOCAL&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #ff0000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; + CategoryInfo&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : InvalidArgument: (SMSQLPSSnapIn.SMSQLPSDeleteClone:SMSQLPSDeleteClone) [delete-clone], Excep &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #ff0000;"&gt;&amp;nbsp;&amp;nbsp; tion&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #ff0000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; + FullyQualifiedErrorId : [Invalid Database Name],SMSQLPSSnapIn.SMSQLPSDeleteClone&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;The InfusionImport is defiantly valid on the&amp;nbsp; &lt;/SPAN&gt;PER-0-SQL08-INF\SQL2008INF SQL instance.&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://community.netapp.com/legacyfs/online/14115_databases.JPG" /&gt;&lt;/P&gt;&lt;P&gt;I can't find anything in the Windows Event logs. Any ideas why this may be happening?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, why is it necessary to give the source server in the -ServerInstance option?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Jun 2025 06:39:08 GMT</pubDate>
    <dc:creator>JAW_2K_NETAPP</dc:creator>
    <dc:date>2025-06-05T06:39:08Z</dc:date>
    <item>
      <title>SMSQL delete-clone powershell command not working "Database Name specified is not valid"</title>
      <link>https://community.netapp.com/t5/Data-Protection/SMSQL-delete-clone-powershell-command-not-working-quot-Database-Name-specified/m-p/53879#M7722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to automate cloning our databases into our different development environments with powershell. I can create the database clone with the clone-database command, but when I try to delete it with this command:&lt;/P&gt;&lt;P&gt;delete-clone -Server PER-0-SQL08-INF\SQL2008INF -Database InfusionImport -ServerInstance STG-0-DB0-B\LOCAL&lt;/P&gt;&lt;P&gt;I get this output:&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Initializing [delete-clone]&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Connecting to server: [PER-0-SQL08-INF\SQL2008INF] [processing]&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Connecting to server: [PER-0-SQL08-INF\SQL2008INF] [completed]&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Retrieving SnapManager Configuration Information: [processing]&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Retrieving SnapManager Configuration Information: [completed]&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Database Name specified InfusionImport is not valid. Please specify a valid name for the Database clone that you wish to de&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;lete.&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;An Error occured while deleting the Database clone.Please check the SnapManager Reports/Windows EventLogs for more informat&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;ion.&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Details:The pipeline has been stopped.&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;delete-clone : Database Name specified InfusionImport is not valid. Please specify a valid name for the Database clone that&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt; you wish to delete.&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;At line:1 char:13&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #ff0000;"&gt;+ delete-clone &amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;nbsp; -Server PER-0-SQL08-INF\SQL2008INF -Database InfusionImport -ServerInstance STG-0-DB0-B\LOCAL&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #ff0000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; + CategoryInfo&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : InvalidArgument: (SMSQLPSSnapIn.SMSQLPSDeleteClone:SMSQLPSDeleteClone) [delete-clone], Excep &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #ff0000;"&gt;&amp;nbsp;&amp;nbsp; tion&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #ff0000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; + FullyQualifiedErrorId : [Invalid Database Name],SMSQLPSSnapIn.SMSQLPSDeleteClone&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;The InfusionImport is defiantly valid on the&amp;nbsp; &lt;/SPAN&gt;PER-0-SQL08-INF\SQL2008INF SQL instance.&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://community.netapp.com/legacyfs/online/14115_databases.JPG" /&gt;&lt;/P&gt;&lt;P&gt;I can't find anything in the Windows Event logs. Any ideas why this may be happening?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, why is it necessary to give the source server in the -ServerInstance option?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 06:39:08 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/SMSQL-delete-clone-powershell-command-not-working-quot-Database-Name-specified/m-p/53879#M7722</guid>
      <dc:creator>JAW_2K_NETAPP</dc:creator>
      <dc:date>2025-06-05T06:39:08Z</dc:date>
    </item>
    <item>
      <title>Re: SMSQL delete-clone powershell command not working "Database Name specified is not valid"</title>
      <link>https://community.netapp.com/t5/Data-Protection/SMSQL-delete-clone-powershell-command-not-working-quot-Database-Name-specified/m-p/53884#M7723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The database name need to be either single quote or double quote.&lt;/P&gt;&lt;P&gt;Here is the example: delete-clone -Server SQL2012HADR3 -database 'AdventureWorks'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Dec 2011 01:40:06 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/SMSQL-delete-clone-powershell-command-not-working-quot-Database-Name-specified/m-p/53884#M7723</guid>
      <dc:creator>spat</dc:creator>
      <dc:date>2011-12-21T01:40:06Z</dc:date>
    </item>
    <item>
      <title>Re: SMSQL delete-clone powershell command not working "Database Name specified is not valid"</title>
      <link>https://community.netapp.com/t5/Data-Protection/SMSQL-delete-clone-powershell-command-not-working-quot-Database-Name-specified/m-p/53889#M7724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, that didn't help either.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS D:\Scripts&amp;gt; delete-clone -Server PER-0-SQL08-INF\SQL2008INF -Database 'InfusionImport' -ServerInstance STG-0-DB0-B\LOCAL&lt;/P&gt;&lt;P&gt;Initializing [delete-clone]&lt;/P&gt;&lt;P&gt;Connecting to server: [PER-0-SQL08-INF\SQL2008INF] [processing]&lt;/P&gt;&lt;P&gt;Connecting to server: [PER-0-SQL08-INF\SQL2008INF] [completed]&lt;/P&gt;&lt;P&gt;Retrieving SnapManager Configuration Information: [processing]&lt;/P&gt;&lt;P&gt;Retrieving SnapManager Configuration Information: [completed]&lt;/P&gt;&lt;P&gt;Database Name specified InfusionImport is not valid. Please specify a valid name for the Database clone that you wish to de&lt;/P&gt;&lt;P&gt;lete.&lt;/P&gt;&lt;P&gt;An Error occured while deleting the Database clone.Please check the SnapManager Reports/Windows EventLogs for more informat&lt;/P&gt;&lt;P&gt;ion.&lt;/P&gt;&lt;P&gt;Details:The pipeline has been stopped.&lt;/P&gt;&lt;P&gt;delete-clone : Database Name specified InfusionImport is not valid. Please specify a valid name for the Database clone that&lt;/P&gt;&lt;P&gt; you wish to delete.&lt;/P&gt;&lt;P&gt;At line:1 char:13&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;+ delete-clone &amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;nbsp; -Server PER-0-SQL08-INF\SQL2008INF -Database 'InfusionImport' -ServerInstance STG-0-DB0-B\LOCAL&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; + CategoryInfo&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : InvalidArgument: (SMSQLPSSnapIn.SMSQLPSDeleteClone:SMSQLPSDeleteClone) [delete-clone], Excep &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&amp;nbsp;&amp;nbsp; tion&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; + FullyQualifiedErrorId : [Invalid Database Name],SMSQLPSSnapIn.SMSQLPSDeleteClone&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS D:\Scripts&amp;gt; delete-clone -Server PER-0-SQL08-INF\SQL2008INF -Database "InfusionImport" -ServerInstance STG-0-DB0-B\LOCAL&lt;/P&gt;&lt;P&gt;Initializing [delete-clone]&lt;/P&gt;&lt;P&gt;Connecting to server: [PER-0-SQL08-INF\SQL2008INF] [processing]&lt;/P&gt;&lt;P&gt;Connecting to server: [PER-0-SQL08-INF\SQL2008INF] [completed]&lt;/P&gt;&lt;P&gt;Retrieving SnapManager Configuration Information: [processing]&lt;/P&gt;&lt;P&gt;Retrieving SnapManager Configuration Information: [completed]&lt;/P&gt;&lt;P&gt;Database Name specified InfusionImport is not valid. Please specify a valid name for the Database clone that you wish to de&lt;/P&gt;&lt;P&gt;lete.&lt;/P&gt;&lt;P&gt;An Error occured while deleting the Database clone.Please check the SnapManager Reports/Windows EventLogs for more informat&lt;/P&gt;&lt;P&gt;ion.&lt;/P&gt;&lt;P&gt;Details:The pipeline has been stopped.&lt;/P&gt;&lt;P&gt;delete-clone : Database Name specified InfusionImport is not valid. Please specify a valid name for the Database clone that&lt;/P&gt;&lt;P&gt; you wish to delete.&lt;/P&gt;&lt;P&gt;At line:1 char:13&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;+ delete-clone &amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;nbsp; -Server PER-0-SQL08-INF\SQL2008INF -Database "InfusionImport" -ServerInstance STG-0-DB0-B\LOCAL&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; + CategoryInfo&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : InvalidArgument: (SMSQLPSSnapIn.SMSQLPSDeleteClone:SMSQLPSDeleteClone) [delete-clone], Excep &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&amp;nbsp;&amp;nbsp; tion&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; + FullyQualifiedErrorId : [Invalid Database Name],SMSQLPSSnapIn.SMSQLPSDeleteClone&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Dec 2011 01:50:54 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/SMSQL-delete-clone-powershell-command-not-working-quot-Database-Name-specified/m-p/53889#M7724</guid>
      <dc:creator>JAW_2K_NETAPP</dc:creator>
      <dc:date>2011-12-21T01:50:54Z</dc:date>
    </item>
    <item>
      <title>Re: SMSQL delete-clone powershell command not working "Database Name specified is not valid"</title>
      <link>https://community.netapp.com/t5/Data-Protection/SMSQL-delete-clone-powershell-command-not-working-quot-Database-Name-specified/m-p/53894#M7725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok from the picture you sent.&amp;nbsp; Isn't the syntax should be as follows:&lt;/P&gt;&lt;P&gt;delete-clone -Server PER-0-SQL08-INF -ServerInstance PER-0-SQL08-INF\SQL2008INF -Database 'InfusionImport'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Dec 2011 01:57:39 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/SMSQL-delete-clone-powershell-command-not-working-quot-Database-Name-specified/m-p/53894#M7725</guid>
      <dc:creator>spat</dc:creator>
      <dc:date>2011-12-21T01:57:39Z</dc:date>
    </item>
    <item>
      <title>Re: SMSQL delete-clone powershell command not working "Database Name specified is not valid"</title>
      <link>https://community.netapp.com/t5/Data-Protection/SMSQL-delete-clone-powershell-command-not-working-quot-Database-Name-specified/m-p/53899#M7726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much, that worked. I thought I had tried that combination before.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;According to the documentation -ServerInstance is for the Source of the backup. I cloned the database from STG-0-DB0-B\LOCAL to PERF-0-SQL08-INF\SQL2008INF. The documentation isn't very clear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From the ﻿﻿﻿﻿SnapManager® 5.1 for Microsoft® SQL Server® Installation and Administration Guide&lt;/P&gt;&lt;P&gt;"-ServerInstance (String Parameter): This parameter specifies the SQL&lt;/P&gt;&lt;P&gt;server instance where the database is backed up originally. SnapManager takes&lt;/P&gt;&lt;P&gt;the local computer name as the default server instance.&lt;/P&gt;&lt;P&gt;If multiple databases reside on the same LUN but are owned by different SQL&lt;/P&gt;&lt;P&gt;server instances when you backed them up originally, use the following format:&lt;/P&gt;&lt;P&gt;-Inst "SQLServerInstance1","SQLServerInstance2"&lt;/P&gt;&lt;P&gt;The first database specified in the -Database parameter refers the first server&lt;/P&gt;&lt;P&gt;instance in the -ServerInstance parameter, the second database in the -Database&lt;/P&gt;&lt;P&gt;parameter refers to the second server instance in the -ServerInstance parameter&lt;/P&gt;&lt;P&gt;and so on."&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Dec 2011 02:09:46 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/SMSQL-delete-clone-powershell-command-not-working-quot-Database-Name-specified/m-p/53899#M7726</guid>
      <dc:creator>JAW_2K_NETAPP</dc:creator>
      <dc:date>2011-12-21T02:09:46Z</dc:date>
    </item>
  </channel>
</rss>

