<?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 how to schedule powershell commands for clone a db in smsql 5 in Data Protection</title>
    <link>https://community.netapp.com/t5/Data-Protection/how-to-schedule-powershell-commands-for-clone-a-db-in-smsql-5/m-p/1103#M9066</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;i want to schedule a clone job in smsql 5&lt;/P&gt;&lt;P&gt;in the wizard you have no option to do this&lt;/P&gt;&lt;P&gt;with powershell commands executed in the netapp cli works&lt;/P&gt;&lt;P&gt;when i make a sqljob wiht powershell option d'osnt work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how i can schedule my job in sql or task scheduler&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thx for help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;andy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Jun 2025 07:11:00 GMT</pubDate>
    <dc:creator>visnetapp</dc:creator>
    <dc:date>2025-06-05T07:11:00Z</dc:date>
    <item>
      <title>how to schedule powershell commands for clone a db in smsql 5</title>
      <link>https://community.netapp.com/t5/Data-Protection/how-to-schedule-powershell-commands-for-clone-a-db-in-smsql-5/m-p/1103#M9066</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;i want to schedule a clone job in smsql 5&lt;/P&gt;&lt;P&gt;in the wizard you have no option to do this&lt;/P&gt;&lt;P&gt;with powershell commands executed in the netapp cli works&lt;/P&gt;&lt;P&gt;when i make a sqljob wiht powershell option d'osnt work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how i can schedule my job in sql or task scheduler&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thx for help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;andy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 07:11:00 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/how-to-schedule-powershell-commands-for-clone-a-db-in-smsql-5/m-p/1103#M9066</guid>
      <dc:creator>visnetapp</dc:creator>
      <dc:date>2025-06-05T07:11:00Z</dc:date>
    </item>
    <item>
      <title>Re: how to schedule powershell commands for clone a db in smsql 5</title>
      <link>https://community.netapp.com/t5/Data-Protection/how-to-schedule-powershell-commands-for-clone-a-db-in-smsql-5/m-p/1108#M9067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #333333;"&gt;&lt;STRONG&gt;here is the solution:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;powershell.exe -ImportSystemModules&lt;/STRONG&gt; clone-database -Server Servername -Username admin -Password P@ssw0rd -ServerInstance Instance -Database DBName -TargetDatabase DBName_Clone -TargetServerInstance Targetserver -MountPointDir c:\Mountpoint -UseMountPoint&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can schedule this batch by Windows Task Scheduler or in a SQL Job.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created a SQL Job with a detach Step first. &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.netapp.com/4.0.8/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Sep 2010 09:00:38 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/how-to-schedule-powershell-commands-for-clone-a-db-in-smsql-5/m-p/1108#M9067</guid>
      <dc:creator>visnetapp</dc:creator>
      <dc:date>2010-09-27T09:00:38Z</dc:date>
    </item>
  </channel>
</rss>

