<?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 Export and Import Policy Package to New Management Server in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Export-and-Import-Policy-Package-to-New-Management-Server/m-p/133279#M6416</link>
    <description>&lt;P&gt;Im trying to export our policy packages that are currently in the prod and place it in a lab environment. Im following the instruction here&amp;nbsp;&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/2" target="_self"&gt;Python tool for exporting/importing a policy package .&amp;nbsp;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;However when exporting i see an error below&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Traceback (most recent call last):
  File "import_export_package.py", line 61, in &amp;lt;module&amp;gt;
    export_package(client, args)
  File "/home/zxc/ImportExport/exporting/export_package.py", line 55, in export_package
    timestamp, ["access-rule", "access-section"], client.api_version)
  File "/home/zxc/ImportExport/utils.py", line 230, in create_tar_file
    export_to_tar(data_dict, timestamp, tar, lst, api_version)
  File "/home/zxc/ImportExport/utils.py", line 247, in export_to_tar
    write_data(data_dict[api_type], tar_file_csv, ".csv")
  File "/home/zxc/ImportExport/utils.py", line 279, in write_data
    writer.writerows(res)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried the same with steps with my lab and was able to export and import the packages that were in the lab management.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 05 Nov 2021 04:18:51 GMT</pubDate>
    <dc:creator>clear_ip_bgp</dc:creator>
    <dc:date>2021-11-05T04:18:51Z</dc:date>
    <item>
      <title>Export and Import Policy Package to New Management Server</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Export-and-Import-Policy-Package-to-New-Management-Server/m-p/133279#M6416</link>
      <description>&lt;P&gt;Im trying to export our policy packages that are currently in the prod and place it in a lab environment. Im following the instruction here&amp;nbsp;&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/2" target="_self"&gt;Python tool for exporting/importing a policy package .&amp;nbsp;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;However when exporting i see an error below&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Traceback (most recent call last):
  File "import_export_package.py", line 61, in &amp;lt;module&amp;gt;
    export_package(client, args)
  File "/home/zxc/ImportExport/exporting/export_package.py", line 55, in export_package
    timestamp, ["access-rule", "access-section"], client.api_version)
  File "/home/zxc/ImportExport/utils.py", line 230, in create_tar_file
    export_to_tar(data_dict, timestamp, tar, lst, api_version)
  File "/home/zxc/ImportExport/utils.py", line 247, in export_to_tar
    write_data(data_dict[api_type], tar_file_csv, ".csv")
  File "/home/zxc/ImportExport/utils.py", line 279, in write_data
    writer.writerows(res)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried the same with steps with my lab and was able to export and import the packages that were in the lab management.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Nov 2021 04:18:51 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Export-and-Import-Policy-Package-to-New-Management-Server/m-p/133279#M6416</guid>
      <dc:creator>clear_ip_bgp</dc:creator>
      <dc:date>2021-11-05T04:18:51Z</dc:date>
    </item>
  </channel>
</rss>

