backup servers broken?

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
User avatar
eydaimon
Jr. Member
Jr. Member
Posts: 86
Joined: March 16th, 2008, 2:00 pm

backup servers broken?

Post by eydaimon »

http://wiki.sabnzbd.org/configure-servers-v2 wrote: Backup Server - (Renamed from "FillServer") You can specify additional servers, marked as backup that are only used when the main server(s) cannot download a piece of data. Sometimes it is useful to specify a primary server that SABnbzd should try to get its data from first, often this is a free server. A pay-per-GB server is the typical backup server. Note: you should at least have one primary (non-backup) server for downloading to start.
I had a chance to try this yesterday since I was switching newsservers. I decided to set my new newsserver as a backup to the current one, so that when I maxed my quota, the switch would be seamless.  Not so. The backup server never took over.  I had to remove the backup check in order for it to work (It was set as being enabled, ssl, and backup. Toggling backup only made it work).
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: backup servers broken?

Post by shypike »

It depends on the behaviour of the primary server.
The idea is that it politely says it doesn't have an article.
If instead if sends all kinds of nasty error messages, I'm not sure if this
will trigger the backup server.
You should probably set the primary server as "optional", that way it will be
ignored after kicking a fuss for a while.
User avatar
eydaimon
Jr. Member
Jr. Member
Posts: 86
Joined: March 16th, 2008, 2:00 pm

Re: backup servers broken?

Post by eydaimon »

Being that the main server couldn't "download a piece of data" I would have thought it would qualify. Maybe the documentation could be changed to clarify the behavior? Although I think the functionality should be changed to mirror the documentation instead.

iow, sabnzbd *tries* to download the document from the primary server. If it fails after X retries, it automatically moves to the backup server.
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: backup servers broken?

Post by shypike »

The algorithm specifically requires the "don't have the article" response.
Obviously that's open for improvement.
Not for the short term, because it's a rather complicated change.
User avatar
eydaimon
Jr. Member
Jr. Member
Posts: 86
Joined: March 16th, 2008, 2:00 pm

Re: backup servers broken?

Post by eydaimon »

yeah, that's why I suggested an immediate update to the documentation. And then long-term do the more complicated change.

Anyway, thanks for the clarification.
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: backup servers broken?

Post by shypike »

I'll update the docs, but I doubt people will actually notice the subtle difference.
You're a positive exception :)
Post Reply