# Reclaimarr

Reclaimarr is a self-hosted automation app. A tool to automatically reclaim disk space on your media server by intelligently deleting content from Jellyfin, Sonarr, and Radarr based on watch history and age. It is open source and self-hosted, installable on Unraid.

Canonical page: https://ourlocalhost.com/app/3262/reclaimarr

## Description

A tool to automatically reclaim disk space on your media server by intelligently deleting content from Jellyfin, Sonarr, and Radarr based on watch history and age.

## Platform availability

Available on 1 of 10 platforms: Unraid.

## Health score

45/100 (Fair), based on 4 of 5 factors.
- Maintained: 36 (last commit 368 days ago)
- Popular: 34 (47 GitHub stars)
- Easy to install: 35 (1 install platform, install notes, Docker image)
- Security check: 85 (no serious findings, CI)

## Links

- Unraid: https://ca.unraid.net/apps/reclaimarr-1ooevdk0s4cxv0?q=Reclaimarr

## Common questions

### How do I add Reclaimarr to an existing media stack?

Add the Reclaimarr service to your stack's Docker Compose file and set the Jellyfin, Jellystat, Jellyseerr, Radarr, and Sonarr API URLs and keys in environment variables. You also need to set MEDIA_PATH and mount the corresponding host media path.

### What host path should I mount for Reclaimarr?

Mount your media library to /media inside the container, for example /srv/media:/media. The mounted path must match the path used by your other media services.

### How can I preview what Reclaimarr will delete?

Set DRY_RUN=true so Reclaimarr can preview deletions without affecting your files.

### How do I make Reclaimarr run automatically on a schedule?

Set CRON_SCHEDULE to a cron expression, such as "0 3 * * *" to run daily at 3 AM. If CRON_SCHEDULE is blank, the script runs once and exits cleanly.

### How do I control when media becomes eligible for deletion?

Set TARGET_USAGE to keep disk usage below a target percentage and MIN_AGE_DAYS to require media to be older than a set number of days.

---
Source: Our Local Host (https://ourlocalhost.com/app/3262/reclaimarr), the self-hosted and open-source app directory.
