Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 

Easy Backup Tool

HeikoAnkenbrand
Champion
Champion

asy Backup Tool

Features


This tool creates a backup of all GAIA gateway configurations with one CLI command "ebackup":

Easy backup Tool.JPG

easy_backup_over1a.jpg
- Only one CLI command "ebackup"
- Backup of all Gaia gateway configurations (Check Point appliances, Open Server, SMB appliances 11xx, 14xx)
- Migrate export on SMS
- Migrate-server on MDS
- Backup all files to one TGZ file
- FTP upload support backup file
- CP upload support for backup file via cprid_util

- MDS   > All

...;
TO ACCESS CHECKMATES TOOLBOX it's simple and free


69 Replies

sonics
Explorer

Hello Heiko

First many thanks for that great script. i have 3 questions:

1. We also backup our smartevent server with ebackup but because it has no gateway on it ebackup gives the following back:

Backup GAIA config gateways:

Failed -

2. would it be possible to write the results of the ebackup to a log file and than parse that with a monitoring tool to be aware of failed backups?

 

3. we also have a 80.30 MDM to save and when run ebackup it gives me the following error:

MDS

...;
TO ACCESS CHECKMATES TOOLBOX it's simple and free


Reply
0 Kudos

sonics
Explorer

Hello all

We have also figured out that with MDM 80.30 and ebackup the path to the migrate export is wrong and we had to set that manually inside the ebackup script. here the infos about it:

original: # $MDS_FWDIR/scripts/migrate_server export -skip_upgrade_tools_check -n -v $RVER $REMOTE_DATEI 2>&1> /tmp/ebackup_migrate ;

changed to: /opt/CPsuite-R80.30/fw1/scripts/migrate_server export -skip_upgrade_tools_check -n -v $RVER $REMOTE_DATEI 2>&1> /tmp/ebackup_migrate ;

 

best rega

...;
TO ACCESS CHECKMATES TOOLBOX it's simple and free


Reply
0 Kudos

nils_alfer
Contributor

very nice tool

;
TO ACCESS CHECKMATES TOOLBOX it's simple and free


Reply
0 Kudos

Hammar
Participant

Does it work with R81?

;
TO ACCESS CHECKMATES TOOLBOX it's simple and free


Reply
0 Kudos

Tedi_Barer
Explorer

Great script.

;
TO ACCESS CHECKMATES TOOLBOX it's simple and free


Reply
0 Kudos

Nik
Explorer

Hi Heiko,

Thank you for the utility.

Do you plan an option to include only sms without gateways in the backup file?

Also, I found when I run ebackup -v, I see that cpstop/cpstart are still executed. Shouldn't they be executed with -s flag only? I'm running R80.40 in AWS. 

Regards,

Nikolay

;
TO ACCESS CHECKMATES TOOLBOX it's simple and free


Reply
0 Kudos

HeikoAnkenbrand
Champion
Champion

Hi @Nik,

I'll take a look at it in the script.

I have found another small issue with R81. Here the version recognition does not work correctly. I will change this in the script in the next days.

Regards,
Heiko

;
TO ACCESS CHECKMATES TOOLBOX it's simple and free


Reply
0 Kudos

Nik
Explorer

Hi Heiko, 

Thank you so much.

Since we're using a Security product, could you also look at the option of copying the backup over scp with user/pass and a certificate or .key file? 😉

Thank you in advance. 

Nikolay 

;
TO ACCESS CHECKMATES TOOLBOX it's simple and free


Reply
0 Kudos

msompong
Explorer

Hi @HeikoAnkenbrand ,

First of all I would like to say thank you for your sharing this tool.

Because I'm very new in Checkpoint I have some of question.

- I've just to copy the script to the Checkpoint Smart-1 and then it will be backup the firewall policy and the gateway configuration right?

- I've copied your scrip and run , but I've got the error below How can I resolve it?

 

;
TO ACCESS CHECKMATES TOOLBOX it's simple and free


Reply
0 Kudos

Infinigate_Sup
Participant

There is a small bug with R81. The version string is not correct! 

;
TO ACCESS CHECKMATES TOOLBOX it's simple and free


Reply
0 Kudos