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

Is it safe to clear old R77.30 directories after successfull upgrade to R80.10

Jump to solution

Hello all,

I have successfully upgraded management server from R70.30 to R80.10 few months ago. Analyzing disk space on /var/log partition I have found old SmartLog and Smart Event/Reporter directories using lot of space. They haven't been updated since upgrade:

15G   /var/log/opt/CPSmartLog-R77/data
15G   /var/log/opt/CPSmartLog-R77
1.1G   /var/log/opt/CPrt-R77/events_db/data/pg_xlog

60G   /var/log/opt/CPrt-R77/events_db/data/base/16384
41G   /var/log/opt/CPrt-R77/events_db/data/base/16837
101G   /var/log/opt/CPrt-R77/events_db/data/base
102G   /var/log/opt/CPrt-R77/events_db/data
102G   /var/log/opt/CPrt-R77/events_db
102G   /var/log/opt/CPrt-R77

So my question is, are they safe to be deleted?

Thanks in advance!

Regards,

--

Marko

1 Solution

Accepted Solutions
Marko_Keca
Contributor

It seems it is safe to delete those directories.

As no one has answered my question, and I needed to make some space i deleted all CP R77 related folders in /var/log/opt/

It is now almost 6 months gone after deleting and I don't see anything broken.

I did the same thing on few other upgraded management servers, and all is OK.

View solution in original post

5 Replies
ED
Advisor

Hi,

There is a script from Check Point that can be used to delete package of old versions that are not deleted automatically after an upgrade (including R80/R80.10).

You can find all information in sk91060. 

0 Kudos
Marko_Keca
Contributor

Hi Enis,

I'm aware of the sk91060, but the script is useless regarding this question.

If you read Notes after point 10. carefully it says:

Notes:

    The outputs should show only the latest version (to which the system was upgraded).

    These directories are not deleted:
        CPrt (Eventia products)
        CPinfo (CPinfo utility)
        CPuepm (Endpoint Security Server)
        CPda (CPUSE Deployment Agent)
        CPSmartLog (SmartLog)
        CPmds (Multi-Domain Security Management Server)

So my question still stands. Is it safe to delete those directories?

Regarding sk91060: Why script doesn't delete those directories?

Regards,

--

Marko

0 Kudos
Richard_DalPort
Explorer

We are also seeing /var/log/opt/ directories using a lot of space. What was your resolution? Were you able to remove the CP R77 directories?

Marko_Keca
Contributor

It seems it is safe to delete those directories.

As no one has answered my question, and I needed to make some space i deleted all CP R77 related folders in /var/log/opt/

It is now almost 6 months gone after deleting and I don't see anything broken.

I did the same thing on few other upgraded management servers, and all is OK.

View solution in original post

franciscolugoe
Explorer

Hello all,

They are not 100% safe to delete.

Mind this article sk129292 if you find policy verification internal error, after the upgrade to R80.10.

Regards,
Francisco.

0 Kudos