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

Copy Backup files to S3 from Checkpoint Management server in AWS

Hi,

Recently we have deployed Checkpoint CloudGuard firewalls and Management server in AWS. we want to automate the copying of Backup files of the management server to S3 bucket. Please share any relevant documents or links or shell script for the same.

0 Kudos
3 Replies
PhoneBoy
Admin
Admin

Here's how you can upload/download from S3 buckets from the CLI: https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solut...
I presume you can copy the relevant backup files off the management server this way, depending on which backup method you're using.

0 Kudos
dammu6686
Explorer

Thank you. This is very helpful. Please provide a script to copy log files from the Checkpoint management server to s3.

0 Kudos
PhoneBoy
Admin
Admin

The log files are in $FWDIR/log.
Depending on how many logs are received, one or more log files (and related pointer files) are created daily.
So really, there’d be two sets of commands:

1. One to copy the current contents with all current logs as a one-time deal.
2. A once daily from job that copies the files created the previous day.

I don’t know that anyone has written this precise script (especially copying with s3), but it doesn’t seem like it would be that difficult to come up with or adapt a script someone else has written for a similar purpose.

0 Kudos