<?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: python import_export_package.py in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/python-import-export-package-py/m-p/206672#M8357</link>
    <description>&lt;P&gt;Will do. BUT, just to keep it consistent, as I like to do everything the right way the first time, can you please send the EXACT steps you did, so I can follow the same?&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;Andy&lt;/P&gt;</description>
    <pubDate>Wed, 21 Feb 2024 13:26:35 GMT</pubDate>
    <dc:creator>the_rock</dc:creator>
    <dc:date>2024-02-21T13:26:35Z</dc:date>
    <item>
      <title>python import_export_package.py</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/python-import-export-package-py/m-p/206582#M8351</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I need to export a policy package from one SMS and import into another with several policies already in place so I´m trying to use the python API&amp;nbsp;import_export_package.py. The problem is that when exporting finishes at least the Network objects, services and time objects are not exported. Initially I thought it was not being imported correctly but then I realised these objects are not on the exported files. The rules are exported and imported correctly.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I´m using python version&amp;nbsp; 3.11.8 and SMS is n R81.10.&lt;/P&gt;&lt;P&gt;Can anyone give me some ideas about this?&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;Nuno&lt;/P&gt;</description>
      <pubDate>Tue, 20 Feb 2024 18:12:50 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/python-import-export-package-py/m-p/206582#M8351</guid>
      <dc:creator>WarpTeam</dc:creator>
      <dc:date>2024-02-20T18:12:50Z</dc:date>
    </item>
    <item>
      <title>Re: python import_export_package.py</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/python-import-export-package-py/m-p/206629#M8352</link>
      <description>&lt;P&gt;Is this what you used?&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;Andy&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/CheckPointSW/ExportImportPolicyPackage" target="_blank"&gt;https://github.com/CheckPointSW/ExportImportPolicyPackage&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Feb 2024 02:32:47 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/python-import-export-package-py/m-p/206629#M8352</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2024-02-21T02:32:47Z</dc:date>
    </item>
    <item>
      <title>Re: python import_export_package.py</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/python-import-export-package-py/m-p/206640#M8353</link>
      <description>&lt;P&gt;Hi Andy,&lt;/P&gt;&lt;P&gt;yes it was. Worked fine for the rules but not for the rest.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Feb 2024 08:53:29 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/python-import-export-package-py/m-p/206640#M8353</guid>
      <dc:creator>WarpTeam</dc:creator>
      <dc:date>2024-02-21T08:53:29Z</dc:date>
    </item>
    <item>
      <title>Re: python import_export_package.py</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/python-import-export-package-py/m-p/206663#M8354</link>
      <description>&lt;P&gt;If you send me the exact process you followed, happy to try it in the lab.&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;Andy&lt;/P&gt;</description>
      <pubDate>Wed, 21 Feb 2024 12:50:48 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/python-import-export-package-py/m-p/206663#M8354</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2024-02-21T12:50:48Z</dc:date>
    </item>
    <item>
      <title>Re: python import_export_package.py</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/python-import-export-package-py/m-p/206668#M8355</link>
      <description>&lt;P&gt;As a matter of fact, let me test it now. I will build brand new mgmt in eve-ng on R81.20 and let you know what happens.&lt;/P&gt;
&lt;P&gt;Andy&lt;/P&gt;</description>
      <pubDate>Wed, 21 Feb 2024 13:13:18 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/python-import-export-package-py/m-p/206668#M8355</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2024-02-21T13:13:18Z</dc:date>
    </item>
    <item>
      <title>Re: python import_export_package.py</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/python-import-export-package-py/m-p/206671#M8356</link>
      <description>&lt;P&gt;OK. Let me know.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;Nuno&lt;/P&gt;</description>
      <pubDate>Wed, 21 Feb 2024 13:25:15 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/python-import-export-package-py/m-p/206671#M8356</guid>
      <dc:creator>WarpTeam</dc:creator>
      <dc:date>2024-02-21T13:25:15Z</dc:date>
    </item>
    <item>
      <title>Re: python import_export_package.py</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/python-import-export-package-py/m-p/206672#M8357</link>
      <description>&lt;P&gt;Will do. BUT, just to keep it consistent, as I like to do everything the right way the first time, can you please send the EXACT steps you did, so I can follow the same?&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;Andy&lt;/P&gt;</description>
      <pubDate>Wed, 21 Feb 2024 13:26:35 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/python-import-export-package-py/m-p/206672#M8357</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2024-02-21T13:26:35Z</dc:date>
    </item>
    <item>
      <title>Re: python import_export_package.py</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/python-import-export-package-py/m-p/206673#M8358</link>
      <description>&lt;P&gt;Sure, please find attached the copy of the script that I run.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Feb 2024 13:34:28 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/python-import-export-package-py/m-p/206673#M8358</guid>
      <dc:creator>WarpTeam</dc:creator>
      <dc:date>2024-02-21T13:34:28Z</dc:date>
    </item>
    <item>
      <title>Re: python import_export_package.py</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/python-import-export-package-py/m-p/206677#M8359</link>
      <description>&lt;P&gt;I think I will just use built in version 3.9 from $FWDIR/Python dir.&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;
&lt;P&gt;Andy&lt;/P&gt;</description>
      <pubDate>Wed, 21 Feb 2024 13:45:32 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/python-import-export-package-py/m-p/206677#M8359</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2024-02-21T13:45:32Z</dc:date>
    </item>
    <item>
      <title>Re: python import_export_package.py</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/python-import-export-package-py/m-p/206684#M8360</link>
      <description>&lt;P&gt;Just working on something else now, but will do it later on, for sure.&lt;/P&gt;
&lt;P&gt;Andy&lt;/P&gt;</description>
      <pubDate>Wed, 21 Feb 2024 14:38:32 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/python-import-export-package-py/m-p/206684#M8360</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2024-02-21T14:38:32Z</dc:date>
    </item>
    <item>
      <title>Re: python import_export_package.py</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/python-import-export-package-py/m-p/206720#M8362</link>
      <description>&lt;P&gt;My colleague and I are having some challenges doing this from ssh, we even tried running it from $FWDIR/Python/bin dir, but no joy. Your screenshot would indicate you did this from windows PC?&lt;/P&gt;
&lt;P&gt;Andy&lt;/P&gt;</description>
      <pubDate>Wed, 21 Feb 2024 16:21:35 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/python-import-export-package-py/m-p/206720#M8362</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2024-02-21T16:21:35Z</dc:date>
    </item>
    <item>
      <title>Re: python import_export_package.py</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/python-import-export-package-py/m-p/206723#M8363</link>
      <description>&lt;P&gt;That´s correct, was done from a win PC.&lt;/P&gt;&lt;P&gt;Nuno.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Feb 2024 16:59:08 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/python-import-export-package-py/m-p/206723#M8363</guid>
      <dc:creator>WarpTeam</dc:creator>
      <dc:date>2024-02-21T16:59:08Z</dc:date>
    </item>
    <item>
      <title>Re: python import_export_package.py</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/python-import-export-package-py/m-p/206724#M8364</link>
      <description>&lt;P&gt;Ok, thats what I thought. Let us see if we can get this going from the actual CP mgmt server, we will try dedicated mgmt and also standalone one.&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;Andy&lt;/P&gt;</description>
      <pubDate>Wed, 21 Feb 2024 17:06:13 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/python-import-export-package-py/m-p/206724#M8364</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2024-02-21T17:06:13Z</dc:date>
    </item>
    <item>
      <title>Re: python import_export_package.py</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/python-import-export-package-py/m-p/206772#M8365</link>
      <description>&lt;P&gt;K, was able to replicate it, exact same issue as you on R81.10. I tested it on R81.20, jumbo 45.&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;Andy&lt;/P&gt;</description>
      <pubDate>Thu, 22 Feb 2024 03:07:44 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/python-import-export-package-py/m-p/206772#M8365</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2024-02-22T03:07:44Z</dc:date>
    </item>
    <item>
      <title>Re: python import_export_package.py</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/python-import-export-package-py/m-p/206989#M8367</link>
      <description>&lt;P&gt;Hello Andy,&lt;/P&gt;&lt;P&gt;so is there a way to fix this? Did it worked with other versions in the past?&lt;/P&gt;&lt;P&gt;this would be a great solution to import a policy package from one SMS to another one with several policy packages already in place. Migrate_server export and import is not feasible here as it would rewrite contents in destination and doing this manually will consume a lot of hours.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;Nuno&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Feb 2024 09:33:09 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/python-import-export-package-py/m-p/206989#M8367</guid>
      <dc:creator>WarpTeam</dc:creator>
      <dc:date>2024-02-23T09:33:09Z</dc:date>
    </item>
    <item>
      <title>Re: python import_export_package.py</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/python-import-export-package-py/m-p/206993#M8368</link>
      <description>&lt;P&gt;Agree. Migrate server imports everything. Not sure about older versions, never tried. Might be worth TAC case.&lt;/P&gt;
&lt;P&gt;Andy&lt;/P&gt;</description>
      <pubDate>Fri, 23 Feb 2024 09:56:44 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/python-import-export-package-py/m-p/206993#M8368</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2024-02-23T09:56:44Z</dc:date>
    </item>
    <item>
      <title>Re: python import_export_package.py</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/python-import-export-package-py/m-p/209328#M8409</link>
      <description>&lt;P&gt;Hi Nuno.&lt;/P&gt;&lt;P&gt;I'd like to get involved in this test.&amp;nbsp; Is there a specific version/package of Python you installed on your Win PC?&amp;nbsp; I'd like to minimize the differences in our environments for my testing.&lt;/P&gt;&lt;P&gt;Thanks, Mike&lt;/P&gt;</description>
      <pubDate>Wed, 20 Mar 2024 22:30:32 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/python-import-export-package-py/m-p/209328#M8409</guid>
      <dc:creator>mscott5002</dc:creator>
      <dc:date>2024-03-20T22:30:32Z</dc:date>
    </item>
    <item>
      <title>Re: python import_export_package.py</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/python-import-export-package-py/m-p/211252#M8474</link>
      <description>&lt;P&gt;Hello Mike,&lt;/P&gt;&lt;P&gt;sorry for the late reply. I ended up by using the python tool directly on checkpoint instead of the windows PC.&lt;/P&gt;&lt;P&gt;(&lt;A href="https://community.checkpoint.com/t5/API-CLI-Discussion/Python-tool-for-exporting-importing-a-policy-package-or-parts-of/td-p/41100/page/4)" target="_blank"&gt;https://community.checkpoint.com/t5/API-CLI-Discussion/Python-tool-for-exporting-importing-a-policy-package-or-parts-of/td-p/41100/page/4)&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;It works but around 10 to 15% of the objects are not exported/imported.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nuno&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2024 09:26:54 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/python-import-export-package-py/m-p/211252#M8474</guid>
      <dc:creator>WarpTeam</dc:creator>
      <dc:date>2024-04-15T09:26:54Z</dc:date>
    </item>
    <item>
      <title>Re: python import_export_package.py</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/python-import-export-package-py/m-p/211361#M8476</link>
      <description>&lt;P&gt;How about this disclaimer?&lt;/P&gt;
&lt;H4 class="heading-element" dir="auto" tabindex="-1"&gt;In the case you are exporting a policy package from a CMA, please verify that a global policy was NOT assigned to that CMA. The tool doesn't support exporting a policy with global policy assigned!&lt;/H4&gt;
&lt;P&gt;No one mentioned that one in this thread yet.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2024 05:50:12 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/python-import-export-package-py/m-p/211361#M8476</guid>
      <dc:creator>Hugo_vd_Kooij</dc:creator>
      <dc:date>2024-04-16T05:50:12Z</dc:date>
    </item>
    <item>
      <title>Re: python import_export_package.py</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/python-import-export-package-py/m-p/211367#M8477</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;actually it was the other way around, the policy was exported from an SMS (full HA) to a CMA.&lt;/P&gt;&lt;P&gt;The checkpoint gateway objects are not exported so we created the objects on the destination before the import but even so the rules with "install on specific gateways" instead of policy targets were not imported and we had to created them manually as well as the NAT rules. I was lucky since most of the rules was set to be installed on the policy targets otherwise I would have to change this setting on all the rules.&lt;/P&gt;&lt;P&gt;Seems this is a point to be improved on the tool.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2024 08:37:27 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/python-import-export-package-py/m-p/211367#M8477</guid>
      <dc:creator>WarpTeam</dc:creator>
      <dc:date>2024-04-16T08:37:27Z</dc:date>
    </item>
  </channel>
</rss>

