<?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: export-management in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/export-management/m-p/260874#M9283</link>
    <description>&lt;P&gt;Sounds reasonable.&lt;/P&gt;</description>
    <pubDate>Sat, 25 Oct 2025 17:36:05 GMT</pubDate>
    <dc:creator>the_rock</dc:creator>
    <dc:date>2025-10-25T17:36:05Z</dc:date>
    <item>
      <title>export-management</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/export-management/m-p/260844#M9281</link>
      <description>&lt;P&gt;SMS, R82 T39, no extra/custom configuration.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We're automating processes at one of our clients and one of these is a weekly export of the SMS for DR/archive purposes.&lt;/P&gt;
&lt;P&gt;To remove the drudgery &amp;nbsp;of managing local scripts, we use REST as much as possible to properly manage execution states and the like from an orchestration platform.&lt;/P&gt;
&lt;P&gt;We've tried the &lt;FONT face="courier new,courier"&gt;export-management&lt;/FONT&gt; API endpoint and ran into the following issues:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;After a while, the API would fail and all management processes would stop, we had to restart the SMS&lt;/LI&gt;
&lt;LI&gt;It would stay at 98% for hours while a manual &lt;FONT face="courier new,courier"&gt;migrate_server&lt;/FONT&gt; would take a few minutes. We had to manually stop the task&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;The export is done in the same version, disk space and so on have been checked (manually, everything works anyway).&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;api.elg&lt;/FONT&gt; and &lt;FONT face="courier new,courier"&gt;api.csv&lt;/FONT&gt; and other checks don't show anything special.&lt;/P&gt;
&lt;P&gt;So for now, we're back running &lt;FONT face="courier new,courier"&gt;migrate_server&lt;/FONT&gt; non-interactively and rsync the export via a local job.&lt;/P&gt;
&lt;P&gt;I know an answer would be to go through TAC but we don't really have the time and as running the API can have an impact on the production SMS, we'd rather check if this API works in general with the community, in which case we might run in a local specificity.&lt;/P&gt;</description>
      <pubDate>Sat, 25 Oct 2025 12:50:08 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/export-management/m-p/260844#M9281</guid>
      <dc:creator>Alex-</dc:creator>
      <dc:date>2025-10-25T12:50:08Z</dc:date>
    </item>
    <item>
      <title>Re: export-management</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/export-management/m-p/260873#M9282</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/10384"&gt;@Alex-&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P data-start="0" data-end="274"&gt;I’ve had similar problems before. In my case, the issue was that the API has a timeout of 300 seconds. If a process runs longer — for example, “migrate server export” — the API call is terminated after 300 seconds, and the original process can no longer send any response.&lt;/P&gt;
&lt;P data-start="276" data-end="436"&gt;The only solution I found was to increase the timeout value in the Apache configuration.&lt;BR data-start="364" data-end="367" /&gt;The problem, however, is that this solution is no longer supported.&lt;/P&gt;
&lt;P data-start="438" data-end="522" data-is-last-node="" data-is-only-node=""&gt;Therefore, I would recommend opening a ticket with Check Point regarding this issue.&lt;/P&gt;</description>
      <pubDate>Sat, 25 Oct 2025 16:28:59 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/export-management/m-p/260873#M9282</guid>
      <dc:creator>HeikoAnkenbrand</dc:creator>
      <dc:date>2025-10-25T16:28:59Z</dc:date>
    </item>
    <item>
      <title>Re: export-management</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/export-management/m-p/260874#M9283</link>
      <description>&lt;P&gt;Sounds reasonable.&lt;/P&gt;</description>
      <pubDate>Sat, 25 Oct 2025 17:36:05 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/export-management/m-p/260874#M9283</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2025-10-25T17:36:05Z</dc:date>
    </item>
    <item>
      <title>Re: export-management</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/export-management/m-p/261071#M9284</link>
      <description>&lt;P&gt;This API shouldn't time out as it returns a task-id.&lt;BR /&gt;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/37502"&gt;@Omer_Kleinstern&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Oct 2025 19:59:12 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/export-management/m-p/261071#M9284</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2025-10-27T19:59:12Z</dc:date>
    </item>
    <item>
      <title>Re: export-management</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/export-management/m-p/261165#M9285</link>
      <description>&lt;P data-unlink="true"&gt;Have you considered using the &lt;A href="https://sc1.checkpoint.com/documents/latest/APIs/index.html#cli/keepalive~v2.0.1%20" target="_self"&gt;keepalive&lt;/A&gt; API call to keep the session alive? Or even better using a while loop to check for the task status every x seconds until the result is not &lt;SPAN&gt;"in progress" anymore or something like this. The &lt;A href="https://sc1.checkpoint.com/documents/latest/APIs/index.html#cli/export-management~v2.0.1%20" target="_self"&gt;export-management&lt;/A&gt; API call returns back a task-id you can use with &lt;A href="https://sc1.checkpoint.com/documents/latest/APIs/index.html#cli/show-task~v2.0.1%20" target="_self"&gt;show-task&lt;/A&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 28 Oct 2025 15:09:46 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/export-management/m-p/261165#M9285</guid>
      <dc:creator>Daniel_Kuhl1</dc:creator>
      <dc:date>2025-10-28T15:09:46Z</dc:date>
    </item>
    <item>
      <title>Re: export-management</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/export-management/m-p/261745#M9293</link>
      <description>&lt;P&gt;There's still the issue that this API lasts way longer than a manual export, and that sometimes it crashes management services which is the most concerning issue as we can't let it run unsupervised.&lt;/P&gt;
&lt;P&gt;I suppose we'll need to go through TAC.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Nov 2025 09:42:03 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/export-management/m-p/261745#M9293</guid>
      <dc:creator>Alex-</dc:creator>
      <dc:date>2025-11-04T09:42:03Z</dc:date>
    </item>
  </channel>
</rss>

