This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Sophos Enterprise Console 5.5.1

Hi all,

We are currently running 5.5.1 version of SEC, we have a database called SOPHOS551 but also have a database called SOPHOSPATCH52.

Am I OK to delete this as we have 5.5.1, trying to free up space and that Patch Database takes up 5GB?

Thanks and kind regards, Dan Petford



This thread was automatically locked due to age.
Parents
  • Hi Dan,

    Sophos Enterprise Console 5.5.1 still uses the database SOPHOSPATCH52.  Sophos is ending support for it on 30 June 2021 so this may not be needed in later versions.  Retirement Calendar: https://community.sophos.com/kb/en-us/119147

    As for what we can do now, you can try shrinking the logs in SQL or deleting and recreating it.  I'm currently not using Patch in my environment and the database is 3.11 GB in size.

    How to shrink the SQL logs: https://community.sophos.com/kb/en-us/110258 or https://www.youtube.com/watch?v=U-varoryhvI

    How to delete and recreate a blank database:

    Make sure you still have the SEC installer for 5.5.1, by default it is located in "C:\sec_551\"

    In an admin command prompt:
    sqlcmd -E -S (DBServerName)\(InstanceName) -Q "drop database SOPHOSPATCH52"
    "C:\sec_551\ServerInstaller\DB\Patch\CreatePatchDB.bat" (DBServerName)\(InstanceName) (ServerName or domain suffix if this is a DC) SOPHOSPATCH52

     

    Example command: 

    sqlcmd -E -S SECSRV\SOPHOS -Q "drop database SOPHOSPATCH52"
    "C:\sec_551\ServerInstaller\DB\Patch\CreatePatchDB.bat" SECSRV\SOPHOS SECSRV SOPHOSPATCH52

Reply
  • Hi Dan,

    Sophos Enterprise Console 5.5.1 still uses the database SOPHOSPATCH52.  Sophos is ending support for it on 30 June 2021 so this may not be needed in later versions.  Retirement Calendar: https://community.sophos.com/kb/en-us/119147

    As for what we can do now, you can try shrinking the logs in SQL or deleting and recreating it.  I'm currently not using Patch in my environment and the database is 3.11 GB in size.

    How to shrink the SQL logs: https://community.sophos.com/kb/en-us/110258 or https://www.youtube.com/watch?v=U-varoryhvI

    How to delete and recreate a blank database:

    Make sure you still have the SEC installer for 5.5.1, by default it is located in "C:\sec_551\"

    In an admin command prompt:
    sqlcmd -E -S (DBServerName)\(InstanceName) -Q "drop database SOPHOSPATCH52"
    "C:\sec_551\ServerInstaller\DB\Patch\CreatePatchDB.bat" (DBServerName)\(InstanceName) (ServerName or domain suffix if this is a DC) SOPHOSPATCH52

     

    Example command: 

    sqlcmd -E -S SECSRV\SOPHOS -Q "drop database SOPHOSPATCH52"
    "C:\sec_551\ServerInstaller\DB\Patch\CreatePatchDB.bat" SECSRV\SOPHOS SECSRV SOPHOSPATCH52

Children
No Data