I've used this process to delete bunches of old policies (not the ideal, but 
still faster than with the gui)
Warning:  test this in your non-production test environment first, with a good 
backup to fall back on.  Your mileage may vary!
1: in expert mode, go to the folder where the revisions exist
2: enter "ls -al *.pf | more"
3: copy the filename portion of the first listing into the cut/paste buffer
4: type "rm <paste file name here>.*  (this deletes the .wf and .pf files)
5: repeat for each listing.

A variation on this would be to make a safe copy of the policy files that you 
want to keep by copying them to a temporary folder, then at the console, in the 
folder where the policies are saved, type "rm *.pf", then "rm *.wf"
Then copy the policy files you saved back to their proper folder.

I've used the first method, but not the second.

-----Original Message-----
From: Mailing list for discussion of Firewall-1 [mailto:[EMAIL PROTECTED] On 
Behalf Of Kowalczyk, Thorsten
Sent: Thursday, May 29, 2008 6:02 AM
To: [email protected]
Subject: [FW-1] AW: [FW-1] Database Revion Control


I found it by myself!

on the CLI you can login with dbver username and passwort.
Than you have several options like print_all to identify your Ids

With delete id, id, id... you can delete a lot at once.

Unfortunately you can't use the minus to define a range of ids.

But that works for me.

Regards
Thorsten

-----Ursprüngliche Nachricht-----
Von: Mailing list for discussion of Firewall-1 [mailto:[EMAIL PROTECTED] Im 
Auftrag von Torkel Mathisen
Gesendet: Donnerstag, 29. Mai 2008 12:17
An: [email protected]
Betreff: Re: [FW-1] Database Revion Control[Scanned]

Not really possible. You need to delete them one at a time from GUI.

Regards,
Torkel

> -----Original Message-----
> From: Mailing list for discussion of Firewall-1 [mailto:FW-1-
> [EMAIL PROTECTED] On Behalf Of Kowalczyk, Thorsten
> Sent: Thursday, May 29, 2008 12:01 PM
> To: [email protected]
> Subject: [FW-1] Database Revion Control
>
> Hi @all,
>
> does anyone of you know how to delete hundreds of database revision
> control sets at once? A customer makes a new revision every time he
> changed the Ruleset.
>
> Thanks in advance
>
> Thorsten
Pan Dacom Networking AG
Sitz der Gesellschaft: 63303 Dreieich
HRB 34647, AG Offenbach
Umsatzsteuer ID-Nr.: DE 114196636

Vorstand
Klaus Busch (Vorsitzender)
Thomas Seel
Uwe Skrzipczyk
Aufsichtsratsvorsitzender: Helmut Senft

WEEE-Reg.-Nr. DE 26487541

Scanned by Check Point Total Security Gateway.

=================================================
To set vacation, Out-Of-Office, or away messages,
send an email to [EMAIL PROTECTED]
in the BODY of the email add:
set fw-1-mailinglist nomail
=================================================
To unsubscribe from this mailing list,
please see the instructions at
http://www.checkpoint.com/services/mailing.html
=================================================
If you have any questions on how to change your
subscription options, email
[EMAIL PROTECTED]
=================================================

Scanned by Check Point Total Security Gateway.

=================================================
To set vacation, Out-Of-Office, or away messages,
send an email to [EMAIL PROTECTED]
in the BODY of the email add:
set fw-1-mailinglist nomail
=================================================
To unsubscribe from this mailing list,
please see the instructions at
http://www.checkpoint.com/services/mailing.html
=================================================
If you have any questions on how to change your
subscription options, email
[EMAIL PROTECTED]
=================================================

Reply via email to