Create a Post
Showing results for 
Search instead for 
Did you mean: 

Export and Import Policy Package to New Management Server

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 Python tool for exporting/importing a policy package . 

However when exporting i see an error below

Traceback (most recent call last):
  File "", line 61, in <module>
    export_package(client, args)
  File "/home/zxc/ImportExport/exporting/", line 55, in export_package
    timestamp, ["access-rule", "access-section"], client.api_version)
  File "/home/zxc/ImportExport/", line 230, in create_tar_file
    export_to_tar(data_dict, timestamp, tar, lst, api_version)
  File "/home/zxc/ImportExport/", line 247, in export_to_tar
    write_data(data_dict[api_type], tar_file_csv, ".csv")
  File "/home/zxc/ImportExport/", line 279, in write_data


I tried the same with steps with my lab and was able to export and import the packages that were in the lab management. 

0 Kudos
0 Replies


Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events