Note: this is the Legacy v2 Wiki. The new V3 Wiki can be found at the Servarr Wiki.
Backing up Sonarr
Using built-in backup
- Go to System: Backup in the Sonarr UI
- Click the Backup button
- Download the zip after the backup is created for safe keeping
Using file system directly
-
Find the location of the AppData directory for Sonarr
- Via the Sonarr UI go to System: About
- AppData Directory
-
Stop Sonarr - This will prevent the database from being corrupted
-
Copy the contents to a safe location
Restoring from Backup
Restoring to an OS that uses different paths won't work (Windows to Linux, Linux to Windows, Windows to OS X or OS X to Windows), moving between OS X and Linux may work, since both use paths containing /
instead of \
that Windows uses, but is not supported.
Using zip backup
- Re-install Sonarr
- Run Sonarr once to get the AppData directory location
- Stop Sonarr
- Delete the config.xml & nzbdrone.db* files (Including the .db-wal/.db-journal files if they exist)
- Extract the backup zip file & restore the files extracted from the zip
- Start Sonarr
- As long as the paths are the same, everything will pickup where it left off
Using file system backup
- Re-install Sonarr
- Run Sonarr once to get the AppData directory location
- Stop Sonarr
- Delete the contents of the AppData directory (Including the .db-wal/.db-journal files if they exist)
- Restore from your backup
- Start Sonarr
- As long as the paths are the same, everything will pick up where it left off
Restore for Synology NAS
CAUTION: Restoring on a Synology requires knowledge of Linux and Root SSH access to the Synology Device.
-
Re-install Sonarr
-
Run Sonarr once to get the AppData directory location
-
Stop Sonarr
-
Connect to the Synology NAS through SSH and log in as root
-
Execute the following commands:
rm -r /usr/local/nzbdrone/var/.config/NzbDrone/nzbdrone.db* cp -f /tmp/nzbdrone_backup/* /usr/local/nzbdrone/var/.config/NzbDrone/
-
Update permissions on the files:
cd /usr/local/nzbdrone/var/.config/NzbDrone/ chown -R nzbdrone:users * chmod -R 0644 *
On some installations, the user is different:
chown -R sc-nzbdrone:nzbdrone *
- Start Sonarr
Getting Started
Troubleshooting
- Asking for Help
- Logging and Log Files
- AppData Directory
- Searches Indexers and Trackers
- Downloads and Importing
- Recovering from a Failed Update
Additional Configuration
More Information
- Completed Download Handling
- Failed Download Handling
- Indexer Integration
- Backup and Restore
- PushOver
- Sorting and Renaming
- Anime naming scheme
- Monitoring Series and Episodes
- RSS Sync
- Indexer Seed Ratio
Development