CPUG

The Check Point User Group

A Resource For The Check Point Community.  Fast.  Useful.  Independent.

1. CCSA/CCSE One-Week Dual-Certification Training Course with CPUG in San Francisco!
    Courses Starting 12/8, (2009) 1/19, 2/9, 3/9, 4/6, 5/4, 6/8, 7/6, 8/3.
2. Join Us On LinkedIn - We now have a CPUG group.


Go Back   CPUG: The Check Point User Group > Check Point Firewall-1/VPN-1 And Related Products > Disaster Recovery
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 2007-11-07
Junior Member
 
Join Date: 2006-12-10
Posts: 8
Rep Power: 0
desiac has an average reputation (10+)
Default Policy retreival from firewall

Hi all,

is there anyway to retreive the current policy from the firewall back to the management server?

We store each version of our polciy as a seperate file, in a testing environment we are a little slack in deleting the older policies, consequently the whole management system slows down. We went through the conf dir noticed that the policies were shown as .W files. So i entered these file names into our little program, they deleted. Noticed some but not all policies were removed from within the dashboard, did a find all, after some text manipluation i removed the lines that would delete my current policy, eg:

cp_merge delete_policy -s 127.0.0.1 -n <current>

what i didn't take into account is that there were duplicate .W files referening the same policies (multiple within the cache dirs>, so when i deleted the refereance to my current policy in my little script i was only removing 1 of 3 referenaces. consequently i have lost all my policies.

before i executed my script i made a file copy of the entire conf directory, can anyone tell me what i will need to do to restore my files.

thanks peoples :)
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -7. The time now is 07:02.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0