Roundcube Community Forum

 

Periodic Database Cleanup?

Started by ChadJK, August 05, 2021, 05:23:04 PM

Previous topic - Next topic

ChadJK

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?

SKaero

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.