Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
Matlu
MVP Silver
MVP Silver
Jump to solution

BKP of Policy Package in an MDS

Hello,
In an MDS environment, is it possible to BACKUP the policy package from only one particular CMA?
I have an MDS with several CMAs, approximately 8, and I only need to do a BKP to 1 of them named SECORP_001.
Is this possible?
Can you share the command syntax that could be used to achieve this result?
Thank you for your help.

0 Kudos
1 Solution

Accepted Solutions
HeikoAnkenbrand
MVP Platinum
MVP Platinum

Hi @Matlu,

See the Management API Reference for your Management Server version.

On R81.10 and higher


Backup the Domain database:

mgmt_cli export-management domain-name "SECORP_001" file-path "/var/log/SECORP_001_backup.tgz" is-domain-backup true --domain 'System Data' --format json

Verify the Domain database:

mgmt_cli import-management verify-domain-restore "true" file-path "/var/log/SECORP_001_backup.tgz" --domain 'System Data' --format json

Restore the Domain:

mgmt_cli import-management file-path "/var/log/SECORP_001_backup.tgz" --domain 'System Data' --format json

 

 

 

➜ CCSM Elite, CCME, CCTE ➜ www.checkpoint.tips

View solution in original post

3 Replies
the_rock
MVP Platinum
MVP Platinum

Hey bro,

I recall seeing someone mention some sort of python script that can be used for this. Let me see if I can find that post.

Best,
Andy
0 Kudos
HeikoAnkenbrand
MVP Platinum
MVP Platinum

Hi @Matlu,

See the Management API Reference for your Management Server version.

On R81.10 and higher


Backup the Domain database:

mgmt_cli export-management domain-name "SECORP_001" file-path "/var/log/SECORP_001_backup.tgz" is-domain-backup true --domain 'System Data' --format json

Verify the Domain database:

mgmt_cli import-management verify-domain-restore "true" file-path "/var/log/SECORP_001_backup.tgz" --domain 'System Data' --format json

Restore the Domain:

mgmt_cli import-management file-path "/var/log/SECORP_001_backup.tgz" --domain 'System Data' --format json

 

 

 

➜ CCSM Elite, CCME, CCTE ➜ www.checkpoint.tips
Matlu
MVP Silver
MVP Silver

Hello

When you run the ‘export-management’ command... Does this command also generate a BACKUP of the logs belonging to the CMA where you are generating the backup?

Or does it just create a package of the policy package?

Thank you

0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events