Yeah i'm not sure either. Did it twice now though. I'll see if I can figure it out, although trying to restore the backup config.xml and nzbdrone.db to /var/db/sonarr made no difference. I noticed that there is another set in /var/db/sonarr/NzbDrone.
Code:
root@sonarr_1:/var/db/sonarr # diff config.xml NzbDrone/config.xml
8,10c8,10
< <ApiKey>6f5e4dc7b90c419eab14e8710315ca01</ApiKey>
< <LogLevel>Debug</LogLevel>
< <AuthenticationEnabled>False</AuthenticationEnabled>
---
> <ApiKey>a804782656f64dec899aaa99611a51ef</ApiKey>
> <AuthenticationMethod>None</AuthenticationMethod>
> <LogLevel>Info</LogLevel>
13,16d12
< <Username>
< </Username>
< <Password>
< </Password>
Since the UI says I'm back at Info level of debug I'm guessing that it's now using the files in the NzbDrone directory. Although replacing those with the backups seems to have completely broken the setup. i.e. stopped sonarr from freeness gui; replaced config.xml and nzbdrone.db inside /var/db/sonarr/NzbDrone directory; now entire plugin won't start. Last /var/log/messages says:
Mar 25 11:28:12 sonarr_1 totally: /usr/sbin/service: WARNING: $svnserve_enable is not set properly - see rc.conf(5).
Mar 25 11:28:12 sonarr_1 totally: /usr/sbin/service: WARNING: $pbid_enable is not set properly - see rc.conf(5).
i'm going to blow it away and start from scratch, maybe take closer notes :)