- Storage full forcing early deletion
- Retention set per recording type
- Retention period misconfigured
Problem Description
UniFi Protect is not keeping detection events for the configured retention period — recordings from days ago are already gone even though retention is set to 14 or 30 days. Storage capacity may be insufficient for the total retention across all cameras, per-camera settings may override the global retention, or a failing disk may cause data loss.
Why This Happens in Real Homes
UniFi Protect not retaining detections as long as expected usually means storage is filling faster than the retention window, so older events get overwritten early — or the retention period is set differently than assumed (Protect can apply different retention to continuous footage versus detection events). It's a storage-versus-retention math problem.
Check your retention settings per camera and per recording type, and confirm the storage isn't full and being force-cleared ahead of the retention window. If it fills too fast, lower the bitrate or add storage capacity to hold the desired retention. Verify disk health, and update firmware. Matching the storage capacity and bitrate to the retention you want is what keeps detections around for the expected time.
Symptoms
- Detections not kept as long as expected
- Detection events expire early
- Retention shorter than set
- Smart events not retained
- Detections deleted early
- Retention not matching settings
- Events gone sooner than expected
- Retention inconsistent
Recognize these? Here's what usually causes it.
Common Causes
- Storage full forcing early deletion
- Retention set per recording type
- Retention period misconfigured
- High bitrate filling storage fast
- Recording mode retaining less
- Separate retention for detections vs footage
- Disk/storage issue
- Firmware quirk
Most fixes happen in the first 3 steps.
Do not assume global retention settings override camera-specific policies.
Tools & Requirements
Step-by-Step Solution
Check per-camera retention settings
Protect allows individual retention settings per camera. In Protect: Settings > Recording > Retention. Each camera may have a different retention period. If a specific camera's detections are disappearing early: check its individual setting. The global retention applies as a default but can be overridden per camera. Set the desired retention for each camera explicitly rather than relying on the global default, which may change during updates.
Verify storage capacity vs total retention needs
Retention settings are a maximum, not a guarantee. If the NVR drive fills up: Protect deletes the oldest recordings to make room, regardless of retention settings. Calculate: total daily storage = sum of all cameras' bitrate × 10.8 (GB per Mbps per day). Multiply by desired retention days. If this exceeds your disk size: you cannot keep recordings for the configured retention period. Either add storage, reduce bitrate, switch some cameras to motion-only, or accept shorter actual retention.
Check if smart detection events have separate retention
In some Protect versions: smart detection events (Person, Vehicle) have separate retention from continuous recording. If you set continuous recording retention to 7 days but smart detection retention to 30 days: person events may still be viewable in the timeline for 30 days even after the continuous recording is deleted. Check Settings > Recording for separate smart detection retention settings. If smart detection retention is shorter than expected: increase it independently.
Verify detection events are being created
If the Events page shows fewer detections than expected: the detection itself may not be triggering. Check motion sensitivity and smart detection settings per camera. If sensitivity is too low or smart detection is disabled: fewer events are recorded. Also check motion zones — detections outside defined zones are not recorded. Go to Devices > camera > Motion Detection and Smart Detections to verify everything is enabled and sensitivity is adequate.
Check NVR disk health
A failing disk can cause data corruption that makes old recordings unreadable — they appear to be missing even though retention has not expired. In UniFi OS: Settings > System > check disk health (SMART status). If the disk shows warnings or errors: back up any critical recordings immediately and replace the drive. On the UNVR with RAID: a single disk failure may not lose data (RAID 1 or RAID 5), but performance degrades and retention may be affected during rebuild.
Quick Solutions
Still having issues? This is usually the deeper cause below.
If the sensor still misses events after repositioning, check whether a scheduled 'home' or 'away' mode is overriding the sensitivity setting silently.
Retention expectations should be validated per camera role and risk level.
This issue almost always looks more complex than it is — the majority of cases trace back to a single setting, a stale credential, or a default that shipped wrong.
- Storage full forcing early deletion
- Retention set per recording type
- Retention period misconfigured
- High bitrate filling storage fast
- Recording mode retaining less
Before you go — try one of these (they fix most cases).
Official Manufacturer Manual
UniFi Protect provides official product documentation through their online manual rather than downloadable PDF. Access setup guides, troubleshooting steps, and product specifications for your UniFi Detection Retention.
Source: help.ui.com
Need More Help? UniFi Protect Support
Note: The contact information below connects you directly to UniFi Protect's official customer support team, not Trunetto. They can help with warranty claims, device replacements, and advanced technical issues.

