Print Download PDF Send Feedback

Previous

Next

migrate

Description

Exports the management database and applicable Check Point configuration.

Imports the exported management database and applicable Check Point configuration.

Notes:

Syntax

Parameter

Description

-h

Shows the built-in help.

yes | nohup ./migrate ...

Sends the yes input to the interactive migrate command through the pipeline.

Forces the migrate command to ignore the hangup signals from the shell. As a result, when the CLI session closes, the command continues to run in the background.

See:

export

Exports the management database and applicable Check Point configuration.

import

Imports the management database and applicable Check Point configuration that were exported from another Management Server.

-l

Exports and imports the Check Point logs without log indexes in the $FWDIR/log/ directory.

Note - The command can export only closed logs (to which the information is not currently written).

-f

Filters private data.

Note - This parameter is valid only for the export operation.

-n

Runs silently (non-interactive) using the default options for each setting.

Important:

  • If you export a management database in this mode and the specified name of the exported file matches the name of an existing file, the command overwrites the existing file without prompting.
  • If you import a management database in this mode, the command runs cpstop automatically.

--exclude-uepm-postgres-db

Does not back up the PostgreSQL database during the export operation.

Does not restore the PostgreSQL database during the import operation.

--include-uepm-msi-files

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.

/<Full Path>/

Absolute path to the exported database file.

<Name of Exported File>

During the export operation, specifies the name of the output file. The command automatically adds the *.tgz extension.

During the import operation, specifies the name of the exported file. You must also add the *.tgz extension in the end.

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]#