check_point.mgmt.cp_mgmt_export_management module – Export the primary Security Management Server database or the primary Multi-Domain Server database or the single Domain database and the applicable Check Point configuration.
Note
This module is part of the check_point.mgmt collection (version 6.5.0).
You might already have this collection installed if you are using the ansible package.
It is not included in ansible-core.
To check whether it is installed, run ansible-galaxy collection list.
To install it, use: ansible-galaxy collection install check_point.mgmt.
To use it in a playbook, specify: check_point.mgmt.cp_mgmt_export_management.
New in check_point.mgmt 5.0.0
Synopsis
- Export the primary Security Management Server database or the primary Multi-Domain Server database or the single Domain database and the applicable Check Point configuration. 
- All operations are performed over Web Services API. 
- Available from R81.10 management version. 
Parameters
| Parameter | Comments | 
|---|---|
| Publish the current session if changes have been performed after task completes. Choices: 
 | |
| Domain name to be exported.<br><font color=”red”>Required only for</font> exporting a Domain from the Multi-Domain Server or backing up Domain. | |
| Path in which the exported database file is saved.<br><font color=”red”>Required only</font> when not using pre-export-verification-only flag. | |
| Ignoring the verification warnings. By Setting this parameter to ‘true’ export will not be blocked by warnings. Choices: 
 | |
| Include export of the Endpoint Security Management configuration files. Choices: 
 | |
| Include export of the Endpoint Security Management database. Choices: 
 | |
| Export logs without log indexes. Choices: 
 | |
| Export logs with log indexes. Choices: 
 | |
| If true, the exported Domain will be suitable for import on the same Multi-Domain Server only. Choices: 
 | |
| If true, the exported Security Management Server will be suitable for import on the Multi-Domain Server only. Choices: 
 | |
| If true, only runs the pre-export verifications instead of the full export. Choices: 
 | |
| Target version. | |
| Version of checkpoint. If not given one, the latest version taken. | |
| Wait for the task to end. Such as publish task. Choices: 
 | |
| How many minutes to wait until throwing a timeout error. Default:  | 
Examples
- name: export-management
  cp_mgmt_export_management:
    domain_name: domain1
    file_path: /var/log/domain1_backup.tgz
    is_domain_backup: true
Return Values
Common return values are documented here, the following are the fields unique to this module:
| Key | Description | 
|---|---|
| The checkpoint export-management output. Returned: always. | 
