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

Get help with all aspects of SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
combspecialist
Newbie
Newbie
Posts: 16
Joined: July 1st, 2011, 10:30 am

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

Post 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.
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

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

Post 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.
combspecialist
Newbie
Newbie
Posts: 16
Joined: July 1st, 2011, 10:30 am

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

Post 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.
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

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

Post 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.
Post Reply