Skip to Content
Data Retention Policy

Data Retention Policy

To ensure optimal performance, security, and data privacy, we implement automated retention policies for various types of data stored in our system. This helps maintain database efficiency and ensures we don’t store sensitive operational data longer than necessary.

Retention Periods

We automatically prune data that exceeds these retention thresholds:

Data TypeRetention PeriodDescription
Audit Logs90 DaysHistory of account actions, logins, and administrative changes.
Video Snapshots90 DaysTemporary video frames used for processing and thumbnail generation.
Link Analytics90 DaysDetailed click tracking logs for shortened links.
Failed Uploads30 DaysMetadata and error details for uploads that failed to process.
Stale Uploads24 HoursUpload jobs stuck in “pending” or “processing” state without completion.

Why We Clean Up Data

1. Performance & Reliability

Maintaining a lean database is critical for API response times. By regularly archiving or deleting old logs and temporary data (like snapshots), we ensure that queries remain fast and the system scales efficiently even with high user activity.

2. Privacy & Security

We follow the principle of data minimization. Logs containing IP addresses, user actions, or device information are deleted after 90 days to reduce the risk surface in case of any security event.

3. Operational Hygiene

Temporary artifacts like failed upload attempts or “stale” jobs (uploads that were interrupted and never finished) clog up the system. Removing them after a short period (24 hours to 30 days) keeps the dashboard clean and precise.

Automated Cleanup Process

The cleanup process runs daily as a background cron job. It batches deletions to prevent database locking and ensures no active services are interrupted during maintenance.