migrate_server
|
|
Important - This command is used to migrate the management database from R80.20.M1, R80.20, R80.20.M2, R80.30, and higher versions. For more information, see: |
Description
Exports the management database and applicable Check Point configuration.
Imports the exported management database and applicable Check Point configuration.
|
|
Backing up and restoring in Management High Availability environment:
For more information:
|
|
|
Notes:
|
|
|
Important - If it is necessary to back up the current management database, and you do not plan to import it on a Management Server that runs a higher software version, then you must make sure the source Management Server and the target Management Server run the same Jumbo Hotfix Accumulator To see all the installed software packages, you can run this command: |
Syntax
-
To see the built-in help:
[Expert@MGMT:0]# cd $FWDIR/scripts/[Expert@MGMT:0]# ./migrate_server -h -
To see the build number of the installed Upgrade Tools package:
[Expert@MGMT:0]# cd $FWDIR/scripts/[Expert@MGMT:0]# ./migrate_server print_installed_tools -v R82.10 -
To run the Pre-Upgrade Verifier:
[Expert@MGMT:0]# cd $FWDIR/scripts/[Expert@MGMT:0]# ./migrate_server verify -v R82.10 [-skip_upgrade_tools_check] -
To export the management database and configuration:
[Expert@MGMT:0]# cd $FWDIR/scripts/[Expert@MGMT:0]# ./migrate_server export -v R82.10 [-skip_upgrade_tools_check] [-l | -x] [--include-uepm-msi-files] [--exclude-uepm-postgres-db] [--ignore_warnings] /<Full Path>/<Name of Exported File> -
To import the management database and configuration:
[Expert@MGMT:0]# cd $FWDIR/scripts/[Expert@MGMT:0]# ./migrate_server import -v R82.10 [-skip_upgrade_tools_check] [-l | -x] [/var/log/mdss.json] [--include-uepm-msi-files] [--exclude-uepm-postgres-db] /<Full Path>/<Name of Exported File>.tgz -
To import the Domain Management Server database and configuration on a Security Management Server
Dedicated Check Point server that runs Check Point software to manage the objects and policies in a Check Point environment within a single management Domain. Synonym: Single-Domain Security Management Server.:[Expert@MGMT:0]# cd $FWDIR/scripts/[Expert@MGMT:0]# ./migrate_server migrate_import_domain -v R82.10 [-skip_upgrade_tools_check] [-l | -x] [/var/log/mdss.json] [--include-uepm-msi-files] [--exclude-uepm-postgres-db] /<Full Path>/<Name of Exported File>.tgz
Parameters
|
Parameter |
Description |
||||||
|---|---|---|---|---|---|---|---|
|
|
Shows the built-in help. |
||||||
|
|
Shows the build number of the installed Upgrade Tools package. |
||||||
|
|
Runs the Pre-Export Verifier for all Management Servers and Log Servers in your environment.
|
||||||
|
|
Runs the Pre-Export Verifier only for the current Management Server / Log Server, on which you run this command.
|
||||||
|
|
The remote Management Server / Log Servers do not try to connect to Check Point Cloud to check for a more recent version of the Upgrade Tools.
|
||||||
|
|
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.
|
||||||
|
|
On a Security Management Server, imports the management database and applicable Check Point configuration that were exported from a Domain Management Server.
|
||||||
|
|
Verifies the management database and applicable Check Point configuration that were exported from another Management Server. |
||||||
|
|
Specifies the version, to which you plan to migrate / upgrade. |
||||||
|
|
The current Management Server / Log Server, on which you run this command, does not try to connect to Check Point Cloud to check for a more recent version of the Upgrade Tools.
|
||||||
|
|
Exports and imports the Check Point logs without log indexes in the
|
||||||
|
|
Exports the specified number of previous days of logs without log indexes. |
||||||
|
|
Exports and imports the Check Point logs with their log indexes in the
|
||||||
|
|
Exports the specified number of previous days of logs with log indexes. |
||||||
|
|
Runs silently (non-interactive mode) and uses the default options for each setting. |
||||||
|
Previously:
|
Specifies the absolute path to the special JSON configuration file with new IPv4 addresses. This file is mandatory during an upgrade of a Multi-Domain Security Management environment. Even if only one of the servers migrates to a new IP address, all the other servers must get this configuration file for the import process. Syntax:
Example:
|
||||||
|
|
|
||||||
|
|
|
||||||
|
or
|
If during an upgrade procedure, the Pre-Upgrade Verifier shows warnings, you can use this parameter to ignore warnings and continue the upgrade.
|
||||||
|
|
|
||||||
|
|
Completes upgrade.
|
||||||
|
|
When the source and target servers are on the same major version, " This flag forces the full migration flow. |
||||||
|
|
Hides sensitive information in exported database. |
||||||
|
or
|
Disable the progress bar. |
||||||
|
|
Prepares upgrade in background. |
||||||
|
|
Cancels upgrade preparation. |
||||||
|
|
Grace period before starting upgrade completion. |
||||||
|
|
Path to the archived file from which to import the database. |
||||||
|
|
Name of the Domain Management Server. |
||||||
|
|
IP address of the Management Server. |
||||||
|
|
Skip the import of logs (without log indexes). |
Example 1 - Export operation succeeded
Example 2 - Export operation failed