Mautic Community Forums

Data base up to 1GB

Hi mate how are you.



I have this issue, do you know what to do?

https://www.mautic.org/community/index.php//2888-database-run-up-to-1gb-issue/0



What can I delete? How to delete it automaticaly?



Thank you.

Hi mate how are you.

I have this issue, do you know what to do?
https://www.mautic.org/community/index.php//2888-database-run-up-to-1gb-issue/0

What can I delete? How to delete it automaticaly?

Thank you.

You can use the Maintenance cron job to clean your system

Cleaning out old data
WARNING: this is a destructive process which will result in deletion of data

This cron job allows you to clean out old data - note that not all data can be purged with this task. Currently supported are audit log entries, visitors (anonymous contacts), and visitor page hits. Use –dry-run to view the number of records to be purged before making any changes. This will permanently delete data! Be sure to keep database backups.

path/to/php /path/to/mautic/app/console mautic:maintenance:cleanup --days-old=365 --dry-run

Ok thank you :slight_smile: I’ll try it tonight