cp_mgmt_import_management
Import the primary Security Management Server database or the primary Multi-Domain Server database or the single Domain database and the applicable Check Point configuration through native controller HTTPAPI with owned sessions
Collection: check_point.mgmt
Full Name: check_point.mgmt.cp_mgmt_import_management
Controller module — runs on the local controller, not on remote hosts.
Synopsis
Import the primary Security Management Server database or the primary Multi-Domain Server database or the single Domain database and the applicable Check Point configuration through native controller HTTPAPI with owned sessions
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| auto_publish_session | bool | false | Publish this owned session explicitly after the operation; default false. | |
| domain_ip_address | str | IPv4 address for the imported Domain. Required only for importing the Security Management Server into the Multi-Domain Server. | ||
| domain_name | str | Domain name to be imported. Must be unique in the Multi-Domain Server. Required only for importing the Security Management Server into the Multi-Domain Server. | ||
| domain_server_name | str | Multi-Domain Server name for the imported Domain. Required only for importing the Security Management Server into the Multi-Domain Server. | ||
| file_path | str | yes | Path to the exported database file to be imported. | |
| ignore_warnings | bool | Ignoring the verification warnings. By Setting this parameter to ’true’ import will not be blocked by warnings. | ||
| include_endpoint_configuration | bool | Include import of the Endpoint Security Management configuration files. | ||
| include_endpoint_database | bool | Include import of the Endpoint Security Management database. | ||
| include_logs | bool | Import logs without log indexes. | ||
| include_logs_indexes | bool | Import logs with log indexes. | ||
| keep_cloud_sharing | bool | Preserve the connection of the Management Server to Check Point’s Infinity Portal. Use this flag after ensuring that the original Management Server does not communicate with Infinity Portal. Note, resuming the connection is also possible after import with set-cloud-services. Available from R81.20 management version. | ||
| pre_import_verification_only | bool | If true, only runs the pre-import verifications instead of the full import. | ||
| verify_domain_restore | bool | If true, verify that the restore operation is valid for this input file and this environment. Note, Restore operation will not be executed. | ||
| version | str | Management API version path; omitted uses the default API version. | ||
| wait_for_task | bool | true | Wait for returned asynchronous task identifiers; default true. | |
| wait_for_task_timeout | int | 30 | Polling deadline in minutes; default 30, negative values use 30, maximum 1440. |
Example
yaml
- name: import-management
check_point.mgmt.cp_mgmt_import_management:
file_path: /var/log/domain1_exported.tgz