WindowsLinux

Where Is the Sonarr AppData Directory?

Sonarr AppData folders on Windows and Linux with database, config.xml and logs.

Last updated

Sonarr keeps its database, config.xml and logs in an AppData directory whose path depends on platform and install method. Series files themselves live in your media library and are only referenced.

The database plus config.xml are the backup pair that matters. Stop Sonarr before copying or SQLite WAL files corrupt the copy.

Where Sonarr stores this, by platform

Windows
C:\ProgramData\Sonarr

Holds sonarr.db, config.xml and logs. Check System > Status in the UI to confirm the live path since service installs can differ. Docker images use /config mapped to your host instead. Stop Sonarr before copying the database.

Linux
~/.config/Sonarr

Same database plus config role for user installs. Package installs default to /var/lib/Sonarr instead. Confirm under System > Status in the UI, then copy with Sonarr stopped.

Frequently asked questions

How do I back up Sonarr?

Use System > Backup in the UI for zips, or copy the AppData folders above with Sonarr stopped. The database plus config.xml carry everything except media.

Locked out of Sonarr after enabling auth?

Stop Sonarr, remove the AuthenticationMethod line from config.xml in the folders above, and restart. Set a working auth method immediately after.

Notice an outdated path? Let us know.