Page 1 of 1

Lost sabnzbd.ini - any way to recover RSS settings?

Posted: September 12th, 2012, 7:48 am
by combspecialist
I just upgraded from 0.7.3 to 0.7.4Beta2 and upon starting it complained that my sabnzbd.ini file was invalid and I should delete or rename it. I tried both but the error kept reappearing.

I deleted the file again and re-ran the installer and this time I got the wizard. I had to put my server details back in but that was no biggy. Then to my horror, I see my RSS feed setup has also been completely reset! This took me a very long time to set up and I'm wondernig if anyone knows of a way to recover any of the settings from anything other than the .ini file? Please - I'm desperate here!

The .bak file is just 21kb of null chars according to Notepad++. Super-pissed off :(

edit: Found the feed URLs within the .log files but the accept/reject filters are what I really wanted. Plus this may be a weird way of doing it but I had a single feed to pick up WEB-DLs with an accept filter for each show (maybe 40). Each show then had it's own category to control where it got extracted to (TV is spread across about 10 drives). So I'm faced with having to work out my desired list again then set up all the categories and map all the extraction paths. Oh christ.

Re: Lost sabnzbd.ini - any way to recover RSS settings?

Posted: September 12th, 2012, 12:00 pm
by shypike
All RSS settings are indeed in the ini file.
So other than having a backup, there no way to salvage.
Why this happened, I don't know. All 0.7.x versions can use the same file.
Upgrading is nothing special.
But accidents can happen, maybe some hidden bug in SABnzbd,
an error in the file system...
Did you remove the file altogether? It is just a plain text file, which is editable.

Re: Lost sabnzbd.ini - any way to recover RSS settings?

Posted: September 13th, 2012, 8:58 am
by combspecialist
Thanks shypike, I spent a few hours on it and my feeds are all set up again now - I have taken a backup of the ini file for safe keeping! Yes, I tried removing the file (had a look at it first of course but it was 21kb of null characters). The .bak was exactly the same so whatever backup mechanism sab uses itself isn't very robust - unless my flow of renaming/moving/reinstalling stuffed it up.

A small suggestion if I may - it would be nice to have an option somewhere within the sab config screens to export the current config. Whether that simply pops a file save dialogue and copies the ini or goes more in-depth (is there anything not in the ini?) is up to you. I ask because I know if I'd seen that in there I would have used it and not had to endure the pain I just did. I know to just backup the .ini file now of course but I'm thinking of preventing the same thing happening to someone else.

Re: Lost sabnzbd.ini - any way to recover RSS settings?

Posted: September 13th, 2012, 3:35 pm
by shypike
It might be a bug in SABnzbd, it might be something else.
That's simply impossible to tell in these cases.
Personally I have never lost an INI file, despite having crashes all the time when testing.
Of course that's not a proof that nothing can ever go wrong with the INI file,
but the system is very robust.