Cleanup

Cleanup deletes historic data older than the specified time from your database. This is an effective way to free up disk space and/or comply with local regulations regarding storing customer information.

Enabling Cleanup

Cleanup has to be enabled at the server level first.

1. Go to Main Menu > Site Admin > Account Settings > Cleanup Schedules

Screenshot 2024-11-25 at 11.39.22.png

2. Click Save

Cleanup at the server level

On the same screen, you'll see several data categories and a default period already selected. The Keep Forever option indicates that all data will be stored indefinitely on your server. The other options specify the time frame after which the data will be automatically deleted.

  • These default settings apply to all existing applications and any new ones created within your system. If you want to configure specific cleanup rules for individual applications, refer to the Cleanup section at the application level.
  • To clarify, cleanup settings are unique to each application. The Account Settings - Cleanup Schedules settings apply to all applications without custom configurations and to new applications. However, individual Manage Applications - Cleanup settings take precedence over the server defaults.

1. Modify the values according to your needs

Screenshot 2024-11-25 at 11.54.40.png

Camera data:  removes camera plugin-related data
Close alarms:  removes alarms/alerts-related data
Dispatch data:  removes Dispatch (deprecated plugin) related data
Event data:  removes event rule-related data
Report data  removes processed reports-related data
Sessions:  removes login-related data
Track data  removes track-related data
User action  removes user action-related data 

2. Click on Save when done

Cleanup at the application level

  • Individual Cleanup settings applied per application will prevail over the server settings.
  • Enable Cleanup still has to be activated.

To activate Cleanup per application, follow these steps:

1. Go to Main Menu > Site Admin > Applications > Manage Applications
2. Click on the wanted application
3. Click on Cleanup.
3. Determine the history periods according to your specific application/customer needs.

Screenshot 2024-11-25 at 12.10.18.png

Note: if you use the shared users feature (Usersync plugin), Cleanup will affect all applications with shared users. The shortest data storage setting will apply. The best practice is to use the same Cleanup settings for all applications with UserSync privileges.