Saving a queue

Feel free to talk about anything and everything in this board.
Post Reply
User avatar
john3voltas
Release Testers
Release Testers
Posts: 115
Joined: January 17th, 2008, 5:35 pm
Location: Lisbon/Portugal

Saving a queue

Post by john3voltas »

Hi guys,
I looked and searched the forum but didn't find any comments on this.
Is there a way to save a queue?
Sometimes, when a given nzb gives me trouble, I like to kill the queue and start off with a fresh new queue only with the given faulty nzb.
Saving the queue would be an asset in these cases.
Regards.
And Merry Xmas everyone.
SABnzbd 0.6.0Alpha11 on Fedora 14-64bit laptop.
Usenet-News, TeraNews, newszilla6.xs4all.nl and reader.ipv6.xsnews.nl.
IPv6 connections powered by Hurricane Electric.
Can pull 30Mbit nntp on a 30Mbit FTTH link.
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Saving a queue

Post by shypike »

The "queue" is anything in "admin" "cache" and "incomplete".
It's best to have a separate tree for such occasions.

I always have everthing relative to the location of the INI file,
with the exception of the final folders.
That way I can switch quickly between sessions.
User avatar
john3voltas
Release Testers
Release Testers
Posts: 115
Joined: January 17th, 2008, 5:35 pm
Location: Lisbon/Portugal

Re: Saving a queue

Post by john3voltas »

I see.
So, actually, there ain't a button to save the queue.
Thanks and Merry Xmas.
SABnzbd 0.6.0Alpha11 on Fedora 14-64bit laptop.
Usenet-News, TeraNews, newszilla6.xs4all.nl and reader.ipv6.xsnews.nl.
IPv6 connections powered by Hurricane Electric.
Can pull 30Mbit nntp on a 30Mbit FTTH link.
User avatar
john3voltas
Release Testers
Release Testers
Posts: 115
Joined: January 17th, 2008, 5:35 pm
Location: Lisbon/Portugal

Re: Saving a queue

Post by john3voltas »

Based on Shypike's answer, I went looking for a way to save just the queue.
This way I could erase everything in SAB's folders when I am testing beta versions.
Eventually I found a way.
It worked for me and it might work for somebody else.

So here's what you need to do for backup:
1-shutdown SABnzbd
2-open the cache folder
3-open queue9.sab file in a text editor
4-take note of each filename in queue9.sab such as SABnzbd_nzo_06sbkf and SABnzbd_nzo_8swhs0
(apparently there shall be as many files inside queue9.sab as the number of items in your queue)
5-copy queue9.sab and all files that you took note in previous step to a safe location

Et voilá, your queue has been saved so that, for instance, you can take it to another computer.

Now to put the queue back in place (maybe in a different computer):
1-shutdown SABnzbd (on the destination PC)
2-completely erase it's cache folder
3-upgrade SAB and start it so that it creates the cache folder again
4-shutdown SABnzbd once again
5-open the cache folder once again
6-copy your previously saved queue9.sab and all the other files that you backed up
7-start SABnzbd for the last time and enjoy your queue

Hope it works for you as it worked for me.
Regards
SABnzbd 0.6.0Alpha11 on Fedora 14-64bit laptop.
Usenet-News, TeraNews, newszilla6.xs4all.nl and reader.ipv6.xsnews.nl.
IPv6 connections powered by Hurricane Electric.
Can pull 30Mbit nntp on a 30Mbit FTTH link.
Post Reply