# Data Retention [Open Settings](https://calendar.pw-tools.net/admin/kalender/13) To comply with data privacy policies, you can configure automatic deletion periods for different types of historical data stored in the calendar. ## Data Retention Periods **What it does:** Allows configuring the data retention periods (in months) for reservation logs, messaging history, and shift schedules. Past bookings, messages, and shift records older than the configured limit will be automatically and permanently deleted from the database (adjustable between 1 and 36 months). **Where it appears / Effect:** Accessible via the calendar settings under the 'Data Retention' section (tab 13). ##### **FAQ** * **Can I set how long booking history is kept in the system?** Yes, you can specify the duration in months that shift reservations should be kept in the database. * **When are old reservations automatically purged?** Old reservations are automatically purged on a rolling basis once they exceed the configured retention limit. * **Can I limit how long inbox and system messages are stored?** Yes, you can set the data retention period for user and system messages in months. * **How do I configure when old message logs are deleted?** When messages exceed the specified duration, the system automatically deletes them permanently. * **Can I set how long shift schedule records are retained?** Yes, this setting specifies the data retention limit in months for older shift schedules. * **How do I automatically prune older shift records?** The database automatically prunes historical shift data that falls outside the specified number of months.