brewedbits.dev

Personal blog with guides and news on selfhosting, Linux and AI, from the Netherlands

nextDash nextdash --aboutYour bookmarks. Your terminal. checks your links knows your Docker host one container, no cloudLive demo →nextdash.cc ↗

Tip: give Sonarr and Radarr a recycling bin before you click delete

Arr-suite
~/tips/arr-recycling-bin

cat ~/tips/arr-recycling-bin.md

Moves deleted files into a recycling bin instead of removing them for good.

I think this is the one setting every Sonarr and Radarr install should have switched on, and it is empty by default. Delete a movie or replace a file with a better release, and by default the file is simply gone. Fill in a recycling bin and the *arr app moves it there first.

In Sonarr and Radarr, open Settings → Media Management and look for Recycling Bin. Its help text says files will go there when deleted instead of being permanently deleted. Give it a folder, for example /data/recycle if your container mounts /data, and the app needs write access to it. Otherwise you get a health warning that it cannot write to the configured recycling bin folder.

Right below it is Recycling Bin Cleanup. The default is 7 days: files older than that are removed automatically. Setting it to 0 turns the cleanup off, so the bin only grows. That is fine on a big array, less fine on a small cache drive.

Put the bin on the same share as your library. If it sits on another filesystem, a “move” turns into a slow copy and the recycled file takes up space twice. That also matters for hardlinks, which I wrote about earlier: a recycled file that was a hardlink keeps its data on disk until the bin is emptied. Seven days is a decent net for a wrong click or a bad upgrade, and long enough to notice something is missing.

It lives in the apps themselves, so no extra container is needed. I run both on my Unraid server, so this one went straight onto my own to-do list.

Further reading: Sonarr source: English strings and RecycleBinCleanupDays default (7), Radarr: Recycling Bin settings text, Sonarr: Recycling Bin settings text, On this site: click Backup now in Sonarr and Radarr, then take the zip off the server, On this site: set Minimum Free Space in Sonarr and Radarr so a full disk stops the imports, On this site: Sonarr and Radarr with a fixed taste: why I block Dolby Vision and turn upgrades off

Going deeper: Guide: link Prowlarr to Sonarr and Radarr once, and stop typing indexers into every app

More Arr-suite tips Scene S01E01-E02-E03 Minimum Seeders Add {edition-{Edition Tags}} to the Radarr movie format for director's cuts Sonarr: None, Local Release, UTC Release Date Prowlarr does not sync download clients, so add one only for searches inside Prowlarr All Arr-suite tips (56) All topics

Link