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: Info
- Defaults
- Windows - 'C:\ProgramData\NzbDrone'
- OS X - '/Users/\<user>/.config/NzbDrone'
- Ubuntu - '/home/\<user>/.config/NzbDrone'
- Synology - '/usr/local/nzbdrone/var/.config/NzbDrone'
-
Stop Sonarr - This will prevent the database from being corrupted
- Copy the contents to a safe location
Restoring from Backup
Using zip backup
- Re-install Sonarr
- Run Sonarr once to get the AppData directory location
- Stop Sonarr
- Extract the backup
- Delete the contents of the AppData directory
- 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
- Restore from your backup
- Start Sonarr
- As long as the paths are the same, everything will pickup 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 login 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/
-
Start Sonarr