Description
Exports the management database and applicable Check Point configuration.
Imports the exported management database and applicable Check Point configuration.
Notes:
$FWDIR/bin/upgrade_tools/
directory.migrate
utility from the upgrade tools package created specifically for that higher software version. See the Installation and Upgrade Guide for that higher software version./var/log/opt/CPshrd-R80.20/migrate-<YYYY.MM.DD_HH.MM.SS>.log
For example: /var/log/opt/CPshrd-R80.20/migrate-2018.06.14_11.03.46.log
$CPDIR/log/migrate-<YYYY.MM.DD_HH.MM.SS>.log
For example: /opt/CPshrd-R80.20/log/migrate-2018.06.14_11.21.39.log
Important notes about backing up and restoring in Management High Availability environment:
For more information:
Syntax
[Expert@MGMT:0]# ./migrate -h |
[Expert@MGMT:0]# cd $FWDIR/bin/upgrade_tools/ [Expert@MGMT:0]# yes | nohup ./migrate export [-l | -x] [-n] [--exclude-uepm-postgres-db] [--include-uepm-msi-files] /<Full Path>/<Name of Exported File> & |
[Expert@MGMT:0]# cd $FWDIR/bin/upgrade_tools/ [Expert@MGMT:0]# yes | nohup ./migrate import [-l | -x] [-n] [--exclude-uepm-postgres-db] [--include-uepm-msi-files] /<Full Path>/<Name of Exported File>.tgz & |
Parameters
Parameter |
Description |
---|---|
|
Shows the built-in help. |
|
" Sends the Forces the See: |
|
Exports the management database and applicable Check Point configuration. |
|
Imports the management database and applicable Check Point configuration that were exported from another Management Server. |
|
Exports and imports the Check Point logs without log indexes in the Note - The command can export only closed logs (to which the information is not currently written). |
|
Exports and imports the Check Point logs with their log indexes in the Important:
|
|
Runs silently (non-interactive) using the default options for each setting. Important:
|
|
Does not back up the PostgreSQL database during the export operation. Does not restore the PostgreSQL database during the import operation. |
|
Backs up the MSI files from the Endpoint Security Management Server during the export operation. Restores the MSI files from the Endpoint Security Management Server during the import operation. |
|
Absolute path to the exported database file. |
|
During the export operation, specifies the name of the output file. The command automatically adds the During the import operation, specifies the name of the exported file. You must also add the |
Example 1 - Export operation succeeded
[Expert@MGMT:0]# cd $FWDIR/bin/upgrade_tools/ [Expert@MGMT:0]# ./migrate export /var/log/Migrate_Export
You are required to close all clients to Security Management Server or execute 'cpstop' before the Export operation begins.
Do you want to continue? (y/n) [n]? y
Copying required files... Compressing files...
The operation completed successfully.
Location of archive with exported database: /var/log/Migrate_Export.tgz
[Expert@MGMT:0]# [Expert@MGMT:0]# find / -name migrate-\* -type f /var/log/opt/CPshrd-R80.20/migrate-2018.06.14_11.03.46.log [Expert@MGMT:0]# |
Example 2 - Export operation failed
[Expert@MGMT:0]# ./migrate export /var/log/My_Migrate_Export Execution finished with errors. See log file '/opt/CPshrd-R80.20/log/migrate-2018.06.14_11.21.39.log' for further details [Expert@MGMT:0]# |