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-<
VERSION>/migrate-<YYYY.MM.DD_HH.MM.SS>.log
For example: /var/log/opt/CPshrd-R77.20/migrate-2016.06.14_11.03.46.log
$CPDIR/log/migrate-<YYYY.MM.DD_HH.MM.SS>.log
For example: /opt/CPshrd-R77.20/log/migrate-2016.06.14_11.21.39.log
Syntax
# ./migrate -h |
# yes | nohup ./migrate export [-l] [-f] [-n] [--exclude-uepm-postgres-db] [--include-uepm-msi-files] /<Full Path>/<Name of Exported File> |
# yes | nohup ./migrate import [-l] [-n] [--exclude-uepm-postgres-db] [--include-uepm-msi-files] /<Full Path>/<Name of Exported File>.tgz |
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). |
|
Filters private data. Note - This parameter is valid only for the export operation. |
|
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]# ./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-R77.20/migrate-2016.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-R77.20/log/migrate-2016.06.14_11.21.39.log' for further details [Expert@MGMT:0]# |