4. GlobalObserver module: archiving and deleting data

Contents

The data, which will be recorded in tables mod_global_observer_visitor, mod_global_observer_location, mod_global_observer_event, can be configured from time to time to be archived into files and deleted or deleted only or not archived nor deleted at all.
The configuration values archivingExpiringPeriod, archivingFrequency and archivingLocation are used to configure whether and how it will be archived before deleting it. If one of the values archivingExpiringPeriod or archivingFrequency is 0 or archivingLocation is empty string, then data will not be archived and deleting configuration values deletingExpiringPeriod, deletingFrequency will be used.
If archiving values are valid, then no deleting values are used, but the data which will be archived will also be deleted at once after archiving it according to archiving configuration values. If any of the values deletingExpiringPeriod or deletingFrequency is 0, then data will not be deleted according to these values.
Maximal values for *ExpiringPeriod and *Frequency configuration entries are 4294967295 (which is maximal 4 byte value - FFFFFFFF in hexadecimal).
If archiving or deleting values are incorrect, then the corresponding functionality will simply be ignored.

Conclusion about archiving and deleting configuration values of data in global observing tables:
* If you don't want the data to be deleted or archived at all, then
give 0 value to any of the configuration values as following
(archivingExpiringPeriod or archivingFrequency) and (deletingExpiringPeriod or deletingFrequency).
* If you wish every now and then to archive data and then delete it, then
archivingExpiringPeriod and archivingFrequency, must have an integer value greater than 0 and archivingLocation must have a valid writeable directory location in your server.
* If you wish every now and then to delete expired data without archiving it before, then
give 0 value to any of the following configuration values:
archivingExpiringPeriod or archivingFrequency.




Previous: 3. GlobalObserver module: consent submit buttons | Next: 5. GlobalObserver module: exceptional roles
Visitor data and Consent signal system (for GDPR)
1. GlobalObserver module: configuration item consentMethod
2. GlobalObserver module: configuration item observingTimes
3. GlobalObserver module: consent submit buttons
4. GlobalObserver module: archiving and deleting data
5. GlobalObserver module: exceptional roles
6. Visitor module