Author Topic: Periodic Database Cleanup?  (Read 3143 times)

Offline ChadJK

  • Newbie
  • *
  • Posts: 2
Periodic Database Cleanup?
« on: August 05, 2021, 05:23:04 PM »
I seem to remember when I installed RoundCube there was some mention of a SQL script that should be periodically executed to keep the database clean and efficient. Perhaps I am remembering it wrong, but if not doesn't anyone know what script that is?

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,876
    • SKaero - Custom Roundcube development
Re: Periodic Database Cleanup?
« Reply #1 on: August 05, 2021, 09:51:19 PM »
You maybe thinking of <RC root>/bin/cleandb.sh it will remove contacts, contactgroups, and identities that have been deleted. I don't think you need to run it periodically but it could be used if you need to shrink the size of your database and have a large number of deleted records.

Offline ChadJK

  • Newbie
  • *
  • Posts: 2
Re: Periodic Database Cleanup?
« Reply #2 on: August 06, 2021, 09:54:39 AM »
Thanks!