- Products
- Learn
- Local User Groups
- Partners
- More
AI Security Masters E7:
How CPR Broke ChatGPT's Isolation and What It Means for You
Blueprint Architecture for Securing
The AI Factory & AI Data Center
Call For Papers
Your Expertise. Our Stage
Good, Better, Best:
Prioritizing Defenses Against Credential Abuse
Ink Dragon: A Major Nation-State Campaign
Watch HereCheckMates Go:
CheckMates Fest
Hi All,
I am looking for the best way to export all objects and policies from an R80 management server so that it can be imported into another R80 management server. I've been looking at the management API reference guide which has helped but I was wondering if anyone is aware of a script that will cover both objects and policies?
Thanks
Python tool for exporting/importing a policy packa...
Thank you, this looks like what I need. I'm having some trouble installing the Python SDK as the commands 'pip' and 'git' do not work on the management server. Have you installed this before? If yes, would you mind sharing how you went about this?
https://community.checkpoint.com/t5/API-CLI-Discussion/Checkpoint-Python-SDK/m-p/96533#M5148
Thank you, I have got the scripts installed now. I did this by unzipping the files on my PC and then using SFTP to place the files in the /home/admin/ directory.
When I run the script I am being asked to enter the Policy Package name, I have entered the correct policy name however I get the below error. Can anybody see what I am doing wrong?
"[Expert@fwmgmt02:0]# /opt/CPsuite-R81/fw1/Python/bin/python2.7 /home/admin/ExportImportPolicyPackage/import_export_package.py
Welcome to the Policy Package Import/Export Tool.
What would you like to do?
1. Import a package
2. Export a package
99. Exit
2
Please enter a Policy Package name to export:
West_Policy
Traceback (most recent call last):
File "/home/admin/ExportImportPolicyPackage/import_export_package.py", line 26, in <module>
args = process_arguments(arg_parser)
File "/home/admin/ExportImportPolicyPackage/utils.py", line 98, in process_arguments
args = Menu(args).self_args
File "/home/admin/ExportImportPolicyPackage/menu.py", line 21, in __init__
self.build()
File "/home/admin/ExportImportPolicyPackage/menu.py", line 146, in build
self.display()
File "/home/admin/ExportImportPolicyPackage/menu.py", line 30, in display
self.handle_input()
File "/home/admin/ExportImportPolicyPackage/menu.py", line 269, in handle_input
self.build()
File "/home/admin/ExportImportPolicyPackage/menu.py", line 146, in build
self.display()
File "/home/admin/ExportImportPolicyPackage/menu.py", line 30, in display
self.handle_input()
File "/home/admin/ExportImportPolicyPackage/menu.py", line 167, in handle_input
self.self_args.name = input()
File "<string>", line 1, in <module>
NameError: name 'West_Policy' is not defined"
The error is there at the end: name 'West_Policy' is not defined.
Which probably means the real name of the policy package is different.
Use mgmt_cli -r true show packages to make sure you have the precise name of the package correct.
Try different Python version (Python3 or Python 3.7). Python 3 worked for me.
I actually had same issue even after following the instructions. Will attempt again tomorrow.
Personally, I always use migrate export for that and it exports everything. objects and policies.
I realise I didn't mention that I'm trying to import the objects into an existing active management server, migrate export would wipe the current database & replace it. I'm trying to merge the databases essentially.
K, I see, so then my suggestion would not work, apologies. You could also consider below:
Leaderboard
Epsum factorial non deposit quid pro quo hic escorol.
| User | Count |
|---|---|
| 64 | |
| 22 | |
| 13 | |
| 12 | |
| 12 | |
| 9 | |
| 8 | |
| 7 | |
| 7 | |
| 7 |
Tue 21 Apr 2026 @ 05:00 PM (IDT)
AI Security Masters E7: How CPR Broke ChatGPT's Isolation and What It Means for YouTue 28 Apr 2026 @ 06:00 PM (IDT)
Under the Hood: Securing your GenAI-enabled Web Applications with Check Point WAFTue 21 Apr 2026 @ 05:00 PM (IDT)
AI Security Masters E7: How CPR Broke ChatGPT's Isolation and What It Means for YouTue 28 Apr 2026 @ 06:00 PM (IDT)
Under the Hood: Securing your GenAI-enabled Web Applications with Check Point WAFThu 30 Apr 2026 @ 03:00 PM (PDT)
Hillsboro, OR: Securing The AI Transformation and Exposure ManagementAbout CheckMates
Learn Check Point
Advanced Learning
YOU DESERVE THE BEST SECURITY