- Products
- Learn
- Local User Groups
- Partners
- More
What’s New in Device Diagnostics?
Dec 2nd @ 5pm CET / 11am EST
AI Security Masters
Security in the Pace of AI:
From Threat to Force Multiplier
CPX is Back!
Join us in Las Vegas, Vienna, and/or Bangkok!
Check Point Named a Leader
The Forrester Wave:
Enterprise Firewall Solutions, Q4 2026
What’s New in Agentic Network Orchestration
CheckMates Go:
Fun Ding
When migrating an existing Check Point environment to new-generation Check Point Gateways, it is important to preserve and validate key configuration files from the original environment. To help with this process, we collect several relevant files—when they exist—that contain important system and acceleration settings. After the new gateways have been deployed and configured, these files can be restored as needed on their respective paths. This is a common practice during clean install migrations, helping ensure that critical custom configurations are retained throughout the migration process.
I want to share the following one-liner that creates a compressed backup containing some of the most relevant migration-related files:
mkdir -p /home/admin/backup; fw ctl fast_accel export_conf; cp $FWDIR/boot/modules/fwkern.conf $FWDIR/conf/{ipassignment.conf,trac_client_1.ttm,fw_fast_accel_export_configuration.conf} /home/admin/backup/; clish -c "lock database override"; clish -c "save configuration cp_config.txt"; mv cp_config.txt /home/admin/backup; tar -czvf /home/admin/$(hostname)_backup.tgz -C /home/admin/backup .; rm -rf /home/admin/backup; echo "Done! Please collect the backup file located at /home/admin/$(hostname)_backup.tgz"
1. Creates a temporary backup directory
mkdir -p /home/admin/backup
Creates a working directory where all collected files will be stored before compression.
2. Exports SecureXL/Fast Acceleration configuration
fw ctl fast_accel export_conf
Generates the SecureXL acceleration configuration, preserving Fast Acceleration settings that may be important after a migration.
3. Copies important configuration filesfwkern.conf
ipassignment.conf
trac_client_1.ttm
fw_fast_accel_export_configuration.conf
These files include:
4. Saves the Gaia configurationclish -c "lock database override"
Locks the Gaia configuration database (if necessary)
clish -c "save configuration cp_config.txt"
generates a complete Gaia configuration backup, including:
The generated file is then moved into the backup directory.
5. Creates a compressed archive
tar -czvf /home/admin/$(hostname)_backup.tgz -C /home/admin/backup .
Packages all collected files into a single hostname_backup.tgz archive, making it easy to transfer or attach to a migration package.
6. Cleans up temporary filesrm -rf /home/admin/backup
Removes the temporary working directory after the archive has been created.
At the end, you'll have a single archive:/home/admin/<hostname>_backup.tgz
Useful tip!
I'm glad it's useful!
Nice idea not missing some configuration files.
This save a time 😅
Leaderboard
Epsum factorial non deposit quid pro quo hic escorol.
| User | Count |
|---|---|
| 30 | |
| 8 | |
| 7 | |
| 5 | |
| 5 | |
| 4 | |
| 4 | |
| 4 | |
| 3 | |
| 3 |
Tue 24 Nov 2026 @ 01:30 PM (GMT)
La nueva realidad de los ataques DDoS: autonomía, escala y el futuro de la defensaWed 02 Dec 2026 @ 03:30 PM (GMT)
The New DDoS Reality: Autonomy, Scale, and the Future of DefenseThu 03 Dec 2026 @ 11:00 AM (EST)
Under the Hood: Check Point Cloud Firewall for Nutanix - How to Secure your AI WorkloadsTue 24 Nov 2026 @ 01:30 PM (GMT)
La nueva realidad de los ataques DDoS: autonomía, escala y el futuro de la defensaWed 02 Dec 2026 @ 03:30 PM (GMT)
The New DDoS Reality: Autonomy, Scale, and the Future of DefenseThu 03 Dec 2026 @ 11:00 AM (EST)
Under the Hood: Check Point Cloud Firewall for Nutanix - How to Secure your AI WorkloadsAbout CheckMates
Learn Check Point
Advanced Learning
WE SECURE YOUR AI TRANSFORMATION