<?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: Scheduling clones in PowerShell in Data Protection</title>
    <link>https://community.netapp.com/t5/Data-Protection/Scheduling-clones-in-PowerShell/m-p/149870#M12453</link>
    <description>&lt;P&gt;I found my problem - I was trying to set the start date in my system default format of DD/MM/YYYY, while SnapCenter expects the American format of MM/DD/YYYY. Adding the following seems to have done the trick:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;-Schedules @{'PolicyName'='03:30';'ScheduleType'='Daily';'StartTime'='07/27/2019 03:30 AM'},@{'PolicyName'='09:30';'ScheduleType'='Daily';'StartTime'='07/26/2019 09:30 AM'},@{'PolicyName'='15:30';'ScheduleType'='Daily';'StartTime'='07/26/2019 03:30 PM'},@{'PolicyName'='21:30';'ScheduleType'='Daily';'StartTime'='07/26/2019 09:30 PM'}&lt;/PRE&gt;
&lt;P&gt;One last thing that I can't quite figure out is where can I see the properties for this job? Aside from the resulting clones, it doesn't seem to show up anywhere in the GUI, and running&amp;nbsp; "Get-SmCloneJob -PluginCode SMSQL -Resource @{'Host'='sql1.domain.local';'Type'='SQL Database';'Names'='SQL1\PROD\DB1'}" returns just CloneJobName and ResourceName. Am I missing something somewhere, or am I supposed to keep track of this separately from SnapCenter?&lt;/P&gt;</description>
    <pubDate>Fri, 26 Jul 2019 05:38:25 GMT</pubDate>
    <dc:creator>borismekler</dc:creator>
    <dc:date>2019-07-26T05:38:25Z</dc:date>
    <item>
      <title>Scheduling clones in PowerShell</title>
      <link>https://community.netapp.com/t5/Data-Protection/Scheduling-clones-in-PowerShell/m-p/149859#M12451</link>
      <description>&lt;P&gt;I need to clone a set of databases from one SQL instance to another, and refresh them every 6 hours. Right now I'm doing it with SnapManager for SQL, but I'm trying to migrate it to SnapCenter. It looks like GUI will only let me schedule one database at a time, which is not optimal when I have eight of them sharing a LUN. With PowerShell, I &lt;EM&gt;almost&lt;/EM&gt; have it - it clones all the DBs I need, but only once - I need to add the 'refresh every 6 hours' part. What I have right now is:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;Add-SmCloneJob -CloneJobName SQL_clone_to_reports -PluginCode SMSQL -CloneToInstance 'SQL2\REPORT' -CloneToHost sql2.domain.local -Resources @{'Host'='sql1.domain.local';'Type'='SQL Database';'Names'='SQL1\PROD\DB1,SQL1\PROD\DB2,SQL1\PROD\DB3,SQL1\PROD\DB4,SQL1\PROD\DB5,SQL1\PROD\DB6,SQL1\PROD\DB7,SQL1\PROD\DB8'} -AutoAssignMountPoint&lt;/PRE&gt;
&lt;P&gt;However, when I try to add '-schedules' to the command, I just get syntax errors. What's the proper format to have it run at 3:30 AM, 9:30 AM, 3:30 PM and 9:30 PM?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 12:22:14 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/Scheduling-clones-in-PowerShell/m-p/149859#M12451</guid>
      <dc:creator>borismekler</dc:creator>
      <dc:date>2025-06-04T12:22:14Z</dc:date>
    </item>
    <item>
      <title>Re: Scheduling clones in PowerShell</title>
      <link>https://community.netapp.com/t5/Data-Protection/Scheduling-clones-in-PowerShell/m-p/149861#M12452</link>
      <description>&lt;P&gt;From page 15 of the SnapCenter Cmdlet Reference Guide (emphasis mine):&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Schedules - Specifies &lt;STRONG&gt;in a hastable&lt;/STRONG&gt; the schedule for the&lt;BR /&gt;clone job, including the policy name and the&lt;BR /&gt;schedule type. For example, -Schedules&lt;BR /&gt;@{"PolicyName"="BackupPolicy";"ScheduleType"="OneTime"}&lt;BR /&gt;You can specify multiple schedules in a comma separated list.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here's the link to the guide, just for reference:&amp;nbsp;&amp;nbsp;&lt;A href="https://library.netapp.com/ecm/ecm_get_file/ECMLP2840881" target="_blank"&gt;https://library.netapp.com/ecm/ecm_get_file/ECMLP2840881&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Donny&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jul 2019 18:56:21 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/Scheduling-clones-in-PowerShell/m-p/149861#M12452</guid>
      <dc:creator>donny_lang</dc:creator>
      <dc:date>2019-07-25T18:56:21Z</dc:date>
    </item>
    <item>
      <title>Re: Scheduling clones in PowerShell</title>
      <link>https://community.netapp.com/t5/Data-Protection/Scheduling-clones-in-PowerShell/m-p/149870#M12453</link>
      <description>&lt;P&gt;I found my problem - I was trying to set the start date in my system default format of DD/MM/YYYY, while SnapCenter expects the American format of MM/DD/YYYY. Adding the following seems to have done the trick:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;-Schedules @{'PolicyName'='03:30';'ScheduleType'='Daily';'StartTime'='07/27/2019 03:30 AM'},@{'PolicyName'='09:30';'ScheduleType'='Daily';'StartTime'='07/26/2019 09:30 AM'},@{'PolicyName'='15:30';'ScheduleType'='Daily';'StartTime'='07/26/2019 03:30 PM'},@{'PolicyName'='21:30';'ScheduleType'='Daily';'StartTime'='07/26/2019 09:30 PM'}&lt;/PRE&gt;
&lt;P&gt;One last thing that I can't quite figure out is where can I see the properties for this job? Aside from the resulting clones, it doesn't seem to show up anywhere in the GUI, and running&amp;nbsp; "Get-SmCloneJob -PluginCode SMSQL -Resource @{'Host'='sql1.domain.local';'Type'='SQL Database';'Names'='SQL1\PROD\DB1'}" returns just CloneJobName and ResourceName. Am I missing something somewhere, or am I supposed to keep track of this separately from SnapCenter?&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jul 2019 05:38:25 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/Scheduling-clones-in-PowerShell/m-p/149870#M12453</guid>
      <dc:creator>borismekler</dc:creator>
      <dc:date>2019-07-26T05:38:25Z</dc:date>
    </item>
    <item>
      <title>Re: Scheduling clones in PowerShell</title>
      <link>https://community.netapp.com/t5/Data-Protection/Scheduling-clones-in-PowerShell/m-p/149877#M12455</link>
      <description>&lt;P&gt;If you run:&lt;/P&gt;
&lt;PRE&gt;Get-SmCloneJob | Get-Member&lt;/PRE&gt;
&lt;P&gt;It'll show you all of the properties associated with the cmdlet. You may be able to get additional detail by selecting a property that isn't displayed by default. You can do that by running:&lt;/P&gt;
&lt;PRE&gt;Get-SmCloneJob | Select-Object -Property &amp;lt;property name&amp;gt; &lt;/PRE&gt;
&lt;P&gt;or by capturing the command output in a variable and then using the "$variable.PropertyName" syntax to output the value of a single property.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jul 2019 13:22:41 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/Scheduling-clones-in-PowerShell/m-p/149877#M12455</guid>
      <dc:creator>donny_lang</dc:creator>
      <dc:date>2019-07-26T13:22:41Z</dc:date>
    </item>
  </channel>
</rss>

