migrating settings when using SABnzbd as a service

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
pcgirl
Newbie
Newbie
Posts: 39
Joined: November 7th, 2012, 8:39 am

migrating settings when using SABnzbd as a service

Post by pcgirl »

I am currently setting up an Unraid server and I want to migrate my Sabnzbd, sickbeard and couchpotato settings and databases. Upon looking for the correct info I discovered something interesting that I thought I would pass on. When I pulled up the sabnzbd.ini file that I found in the Users\Appdata\Local\Sabnzbd directory with Notepad++, I discovered that it did not contain current settings that I was using in SAB. Sure enough, the date on the file was from over a year ago. So I was really puzzled as to where my ini file was on my windows 7 PC which I am currently using. Well upon further investigation, I discovered that all the files for Sabnzbd where under C:\Windows\SysWOW64\config\systemprofile\AppData\Local\sabnzbd. I found this very strange, so I did a google search on C:\Windows\sysWOW64 and discovered that this is where the config files are kept for programs that are run as a service. Since I had setup SABnzbd as a windows service this made sense. Now if I had just copied over the files from the Users\Appdata\Local\Sabnzbd directory, I would not have had the correct files. Just thought someone might find this helpful.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: migrating settings when using SABnzbd as a service

Post by shypike »

When you setup SABnzbd as a service, you must give it an -f parameter
telling it where to find the sabnzbd.ini file.

Code: Select all

SABnzbd-service.exe -f <path> install
So you specified where the file was.
Post Reply