<?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 Re: SnapManager for SQL Server PowerShell problem in Data Protection</title>
    <link>https://community.netapp.com/t5/Data-Protection/SnapManager-for-SQL-Server-PowerShell-problem/m-p/41704#M8661</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is the example given for get-backup cmdlet;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS C:\Program Files\NetApp\SnapManager for SQL Server&amp;gt; get-help get-backup -exam&lt;BR /&gt;ples&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NAME&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; get-backup&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SYNOPSIS&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; This cmdlet enables you to list the backup sets of a particular database us&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ing the SnapManager SQL Server PowerShell command-line interface.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; EXAMPLE #1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; get-backup -svr 'VM-VS-1' -inst vm-vs-1 -d 'ds_test7'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; This example retrieves the backed up database list on a server instance o&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; f the specified server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can probably try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;get-backup -svr 'TMTESTCLUSRV' -inst 'TMTESTCLUSRV'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Apr 2011 11:41:39 GMT</pubDate>
    <dc:creator>draj</dc:creator>
    <dc:date>2011-04-14T11:41:39Z</dc:date>
    <item>
      <title>SnapManager for SQL Server PowerShell problem</title>
      <link>https://community.netapp.com/t5/Data-Protection/SnapManager-for-SQL-Server-PowerShell-problem/m-p/41691#M8658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Im trying to use the powershell scripts in order to interface with SMSQL on a 2 node cluster but have encountered the following problems when trying to use any of the commands:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS C:\Program Files\NetApp\SnapManager for SQL Server&amp;gt; get-backup&lt;BR /&gt;Initializing [get-backup]&lt;BR /&gt;Connecting to server: [TMTESTSQLCLU01] [processing]&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Failed to connect to the specified SQL Server.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Details: Error Code: 0xC0040804 Failed to connect to the specified SQL Server.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Failed to connect to Server: [TMTESTSQLCLU01]&lt;BR /&gt;&lt;SPAN style="color: #ff0000;"&gt;get-backup : Failed to invoke the backup operation.&lt;BR /&gt;At line:1 char:10&lt;BR /&gt;+ get-backup &amp;lt;&amp;lt;&amp;lt;&amp;lt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Scenario:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is a two node active/passive SQL config as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cluster name: TMTESTCLUSRV&lt;/P&gt;&lt;P&gt;Instance name: TMTESTCLUSRV&lt;/P&gt;&lt;P&gt;Servername 1: TMTESTSQLCLU01&lt;/P&gt;&lt;P&gt;Servername 2: TMTESTSQLCLU02&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Things I have checked:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;I am running the commands via windows authentication and the account i am using has the sysadmin role in SQL and is a local administrator on the host&lt;BR /&gt;&lt;/LI&gt;&lt;LI&gt;SnapManager backup and restore works throught the GUI using the same account so permissions look fine&lt;BR /&gt;&lt;/LI&gt;&lt;LI&gt;I have used the command without -Server flag and get the same error&lt;BR /&gt;&lt;/LI&gt;&lt;LI&gt;I have used the command with -Server and specified the nodes names and cluster name and all come back with the same error&lt;BR /&gt;&lt;/LI&gt;&lt;LI&gt;The firewall is off for purposes of testing&lt;BR /&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Useful Information:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Windows Server 2003 SP2 Enterprise Edtion&lt;/P&gt;&lt;P&gt;SQL Server 2005 V9.0&lt;/P&gt;&lt;P&gt;SnapDrive 6.3 x64&lt;/P&gt;&lt;P&gt;SnapManager for SQL Server Version 5.1.0.676&lt;/P&gt;&lt;P&gt;PowerShell version 1.0.0.0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone see where I am going wrong with this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 06:56:44 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/SnapManager-for-SQL-Server-PowerShell-problem/m-p/41691#M8658</guid>
      <dc:creator>penningtonkr</dc:creator>
      <dc:date>2025-06-05T06:56:44Z</dc:date>
    </item>
    <item>
      <title>Re: SnapManager for SQL Server PowerShell problem</title>
      <link>https://community.netapp.com/t5/Data-Protection/SnapManager-for-SQL-Server-PowerShell-problem/m-p/41695#M8659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try giving the clustered instance name only (TMTESTCLUSRV) for -server and check if it works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Deva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Apr 2011 11:14:55 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/SnapManager-for-SQL-Server-PowerShell-problem/m-p/41695#M8659</guid>
      <dc:creator>draj</dc:creator>
      <dc:date>2011-04-14T11:14:55Z</dc:date>
    </item>
    <item>
      <title>Re: SnapManager for SQL Server PowerShell problem</title>
      <link>https://community.netapp.com/t5/Data-Protection/SnapManager-for-SQL-Server-PowerShell-problem/m-p/41699#M8660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Deva,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the output from the command pointed at the server cluster name:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS C:\Program Files\NetApp\SnapManager for SQL Server&amp;gt; get-backup -server TMTESTCLUSRV&lt;/P&gt;&lt;P&gt;Initializing [get-backup]&lt;BR /&gt;Connecting to server: [TMTESTCLUSRV] [processing]&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Failed to connect to the specified SQL Server.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Details: Error Code: 0xC0040804 Failed to connect to the specified SQL Server.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Retrying to connect to SQL Server for validation [TMTESTSQLCLU01]&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Failed to connect to the specified SQL Server.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Details: Error Code: 0xC0040804 Failed to connect to the specified SQL Server.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Failed to connect to Server: [TMTESTCLUSRV]&lt;BR /&gt;&lt;SPAN style="color: #ff0000;"&gt;get-backup : Failed to invoke the backup operation.&lt;BR /&gt;At line:1 char:11&lt;BR /&gt;+ get-backup&amp;nbsp; &amp;lt;&amp;lt;&amp;lt;&amp;lt; -server TMTESTCLUSRV&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Apr 2011 11:21:46 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/SnapManager-for-SQL-Server-PowerShell-problem/m-p/41699#M8660</guid>
      <dc:creator>penningtonkr</dc:creator>
      <dc:date>2011-04-14T11:21:46Z</dc:date>
    </item>
    <item>
      <title>Re: SnapManager for SQL Server PowerShell problem</title>
      <link>https://community.netapp.com/t5/Data-Protection/SnapManager-for-SQL-Server-PowerShell-problem/m-p/41704#M8661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is the example given for get-backup cmdlet;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS C:\Program Files\NetApp\SnapManager for SQL Server&amp;gt; get-help get-backup -exam&lt;BR /&gt;ples&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NAME&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; get-backup&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SYNOPSIS&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; This cmdlet enables you to list the backup sets of a particular database us&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ing the SnapManager SQL Server PowerShell command-line interface.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; EXAMPLE #1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; get-backup -svr 'VM-VS-1' -inst vm-vs-1 -d 'ds_test7'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; This example retrieves the backed up database list on a server instance o&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; f the specified server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can probably try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;get-backup -svr 'TMTESTCLUSRV' -inst 'TMTESTCLUSRV'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Apr 2011 11:41:39 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/SnapManager-for-SQL-Server-PowerShell-problem/m-p/41704#M8661</guid>
      <dc:creator>draj</dc:creator>
      <dc:date>2011-04-14T11:41:39Z</dc:date>
    </item>
    <item>
      <title>Re: SnapManager for SQL Server PowerShell problem</title>
      <link>https://community.netapp.com/t5/Data-Protection/SnapManager-for-SQL-Server-PowerShell-problem/m-p/41710#M8662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Deva,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorted you were spot on &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_macro_emoticon" src="https://community.netapp.com/4.0.8/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;, thanks for you help:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; PS C:\Program Files\NetApp\SnapManager for SQL Server&amp;gt; get-backup -svr 'TMTESTCL&lt;BR /&gt;USRV' -inst 'TMTESTCLUSRV'&lt;BR /&gt;Initializing [get-backup]&lt;BR /&gt;Connecting to server: [TMTESTCLUSRV] [processing]&lt;BR /&gt;Connecting to server: [TMTESTCLUSRV] [completed]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Apr 2011 12:30:28 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/SnapManager-for-SQL-Server-PowerShell-problem/m-p/41710#M8662</guid>
      <dc:creator>penningtonkr</dc:creator>
      <dc:date>2011-04-14T12:30:28Z</dc:date>
    </item>
  </channel>
</rss>

