<?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 Referencing to profile and config variables? in Data Protection</title>
    <link>https://community.netapp.com/t5/Data-Protection/Referencing-to-profile-and-config-variables/m-p/54884#M3112</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 think you can use %CONF_NAME and %CONF_DIR. But I doubt about the usage of calling another action as commandline. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Sep 2011 03:54:44 GMT</pubDate>
    <dc:creator>charly</dc:creator>
    <dc:date>2011-09-19T03:54:44Z</dc:date>
    <item>
      <title>Referencing to profile and config variables?</title>
      <link>https://community.netapp.com/t5/Data-Protection/Referencing-to-profile-and-config-variables/m-p/54879#M3111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, there's any way to referencing to profile directory and config name from a config file?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Something to pass to the ARCHIVE_CMDxx= in a standard way instead of having to configure it manually for every config?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I launch /opt/SnapCreator/scServer3.4.0/snapcreator --verbose --policy daily --profile TestProfile --config testoracleaonline --global --action snap&lt;/P&gt;&lt;P&gt;and i can define something like:&lt;/P&gt;&lt;P&gt;ARCHIVE_CMD01=/opt/SnapCreator/scServer3.4.0/snapcreator --verbose --policy %SNAP_TYPE --profile %PROFILE --config %CONFIG --global --action arch&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Francesco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 06:45:45 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/Referencing-to-profile-and-config-variables/m-p/54879#M3111</guid>
      <dc:creator>f_duranti</dc:creator>
      <dc:date>2025-06-05T06:45:45Z</dc:date>
    </item>
    <item>
      <title>Referencing to profile and config variables?</title>
      <link>https://community.netapp.com/t5/Data-Protection/Referencing-to-profile-and-config-variables/m-p/54884#M3112</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 think you can use %CONF_NAME and %CONF_DIR. But I doubt about the usage of calling another action as commandline. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Sep 2011 03:54:44 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/Referencing-to-profile-and-config-variables/m-p/54884#M3112</guid>
      <dc:creator>charly</dc:creator>
      <dc:date>2011-09-19T03:54:44Z</dc:date>
    </item>
    <item>
      <title>Referencing to profile and config variables?</title>
      <link>https://community.netapp.com/t5/Data-Protection/Referencing-to-profile-and-config-variables/m-p/54893#M3113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the answer, i'll try to' test it today. I've tested the run of action arch at the end of the normal full backup of oracle to delete old archive logs and it seems to work correctly. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Sep 2011 08:09:05 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/Referencing-to-profile-and-config-variables/m-p/54893#M3113</guid>
      <dc:creator>f_duranti</dc:creator>
      <dc:date>2011-09-19T08:09:05Z</dc:date>
    </item>
    <item>
      <title>Re: Referencing to profile and config variables?</title>
      <link>https://community.netapp.com/t5/Data-Protection/Referencing-to-profile-and-config-variables/m-p/54897#M3114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can do something like this in config&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PRE_APP_QUIESCE_CMD01=echo %CONFNAME&lt;/P&gt;&lt;P&gt;PRE_APP_QUIESCE_CMD02=echo %CONFDIR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONFNAME = profile&lt;/P&gt;&lt;P&gt;CONFDIR = config directoy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On a single line you can only reference one variable with % so doing echo "%CONFNAME %CONFDIR" wouldnt work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Passing the %CONFNAME and %CONFDIR in as CLI arguments wont work unfortunately since they are not set till run time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Keith&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Sep 2011 09:21:24 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/Referencing-to-profile-and-config-variables/m-p/54897#M3114</guid>
      <dc:creator>ktenzer</dc:creator>
      <dc:date>2011-09-19T09:21:24Z</dc:date>
    </item>
    <item>
      <title>Referencing to profile and config variables?</title>
      <link>https://community.netapp.com/t5/Data-Protection/Referencing-to-profile-and-config-variables/m-p/54905#M3115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think it's all solved (probably I did not understood how archiving was working)... &lt;/P&gt;&lt;P&gt;I was thinking that i should run the snapcreator --action arch to do archive log deletion but I saw that configuring the archivelog command inside the config file at the end of the backup of oracle it will automatically do an "arch" step so it will delete older then 1 day archivelogs automatically while doing the backup. &lt;/P&gt;&lt;P&gt;Is this the correct behaviour? in the manual I think the archive part is not well documented... it just say how to config it but not that it will do archive automatically at end of database backup.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Sep 2011 16:16:41 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/Referencing-to-profile-and-config-variables/m-p/54905#M3115</guid>
      <dc:creator>f_duranti</dc:creator>
      <dc:date>2011-09-19T16:16:41Z</dc:date>
    </item>
    <item>
      <title>Referencing to profile and config variables?</title>
      <link>https://community.netapp.com/t5/Data-Protection/Referencing-to-profile-and-config-variables/m-p/54908#M3116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you configure ARCHIVE* settings and set ARCHIVE_LOG_ENABLE=Y then SC will delete archive logs based on retention.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your other option if you want to use something custom is using the ARCHIVE_CMDxx, this allows you to run scripts or command to handle archive log MGMT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does this make sense?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Keith&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Sep 2011 16:39:15 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/Referencing-to-profile-and-config-variables/m-p/54908#M3116</guid>
      <dc:creator>ktenzer</dc:creator>
      <dc:date>2011-09-19T16:39:15Z</dc:date>
    </item>
    <item>
      <title>Referencing to profile and config variables?</title>
      <link>https://community.netapp.com/t5/Data-Protection/Referencing-to-profile-and-config-variables/m-p/54916#M3117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes Keith the only think I was misunderstanding is that I was thinking that I should use "snapcreator --action arch" after the --action snap (so I was thinking to put the run of snapcreator --action arch inside a ARCHIVE_CMDxx into the same config used by --action snap). &lt;/P&gt;&lt;P&gt;Instead it's already running the archive procedure after the backup was done. So it's all ok &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.netapp.com/4.5.5/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt; And a really nice feature &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.netapp.com/4.5.5/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Francesco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Sep 2011 16:46:34 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/Referencing-to-profile-and-config-variables/m-p/54916#M3117</guid>
      <dc:creator>f_duranti</dc:creator>
      <dc:date>2011-09-19T16:46:34Z</dc:date>
    </item>
    <item>
      <title>Referencing to profile and config variables?</title>
      <link>https://community.netapp.com/t5/Data-Protection/Referencing-to-profile-and-config-variables/m-p/54921#M3118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yep --action arch allows you to run archive log handling only outside of SC. Mostly you wouldnt need this but if you wanted to handle archive logs outside of backup SC could do that. We recommend setting up snapvault or snapmirror and then deleting archive logs as part of backup. With SnapMirror make sure you set NTAP_CLONE_SECONDARY=Y or with PM NTAP_PM_RUN_BACKUP=Y so SC waits for completion and we know it is safe to delete archive logs. Otherwise archive logs could be deleted before we can copy them to secondary.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Keith&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Sep 2011 16:56:58 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Data-Protection/Referencing-to-profile-and-config-variables/m-p/54921#M3118</guid>
      <dc:creator>ktenzer</dc:creator>
      <dc:date>2011-09-19T16:56:58Z</dc:date>
    </item>
  </channel>
</rss>

