<?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: SMVI CLI &amp;amp; Environement variables in ONTAP Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Discussions/SMVI-CLI-amp-Environement-variables/m-p/77314#M17996</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 am not sure what happened. ideally any script that works through the cli should work using SMVI pre/post script. Is the script that you have given the complete script that you were running through SMVI?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Amrita &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Sep 2010 03:55:41 GMT</pubDate>
    <dc:creator>amritad</dc:creator>
    <dc:date>2010-09-28T03:55:41Z</dc:date>
    <item>
      <title>SMVI CLI &amp; Environement variables</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/SMVI-CLI-amp-Environement-variables/m-p/77304#M17991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Community members,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like use in pre-post backup script (perl). used an environement variable.&lt;/P&gt;&lt;P&gt;I set in a script (perl or cmd) an environement variable.&lt;/P&gt;&lt;P&gt;I run my smvi command with -script myscript.&lt;/P&gt;&lt;P&gt;My pre/post script is running however in my pre/post backup script the seted environement variable is not set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do you have a solution?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 07:08:00 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/SMVI-CLI-amp-Environement-variables/m-p/77304#M17991</guid>
      <dc:creator>lagenevoise</dc:creator>
      <dc:date>2025-06-05T07:08:00Z</dc:date>
    </item>
    <item>
      <title>Re: SMVI CLI &amp; Environement variables</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/SMVI-CLI-amp-Environement-variables/m-p/77308#M17993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Some questions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1)      Are you able to run the script in cli successfully?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2)      Are you using environment variables as recommended in TR 3737?&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;Amrita&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Sep 2010 13:18:44 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/SMVI-CLI-amp-Environement-variables/m-p/77308#M17993</guid>
      <dc:creator>amritad</dc:creator>
      <dc:date>2010-09-24T13:18:44Z</dc:date>
    </item>
    <item>
      <title>Re: SMVI CLI &amp; Environement variables</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/SMVI-CLI-amp-Environement-variables/m-p/77312#M17995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Amrita,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes I'm able to run smvi in cli&lt;/P&gt;&lt;P&gt;Yes I read this famous TR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, I must use other ENV, for PM script after the SnapShot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;script (1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET MyVar=MyData&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SMVI ..... -scripts post.script.pl or post.script.cmd&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OK the script was running&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But in my script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MyVAr is empty, because not define.&lt;/P&gt;&lt;P&gt;SMVI start is own environment&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Sep 2010 17:00:04 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/SMVI-CLI-amp-Environement-variables/m-p/77312#M17995</guid>
      <dc:creator>lagenevoise</dc:creator>
      <dc:date>2010-09-24T17:00:04Z</dc:date>
    </item>
    <item>
      <title>Re: SMVI CLI &amp; Environement variables</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/SMVI-CLI-amp-Environement-variables/m-p/77314#M17996</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 am not sure what happened. ideally any script that works through the cli should work using SMVI pre/post script. Is the script that you have given the complete script that you were running through SMVI?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Amrita &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Sep 2010 03:55:41 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/SMVI-CLI-amp-Environement-variables/m-p/77314#M17996</guid>
      <dc:creator>amritad</dc:creator>
      <dc:date>2010-09-28T03:55:41Z</dc:date>
    </item>
  </channel>
</rss>

