Page 1 of 1

How long is "total" server bandwidth history?

Posted: February 15th, 2015, 10:26 am
by marysm
Hi folks. I use Sabnzbd exclusively to download from Usenet. These days, I don't download nearly as much as I used to. I am starting to think I don't need the unlimited monthly provider I curren have. Before switching to a block provider, I wanted review my usage history. The server config shows day/week/month and total bandwidth, but I wonder how far back that total goes. Even more useful, would be seeing totals month to month. Can I extract historical logs somehow?

Thanks much.

Re: How long is "total" server bandwidth history?

Posted: February 15th, 2015, 12:03 pm
by shypike
All data is in a very simple SQLITE database.
Plenty of tools to examine those.
The file is in the admin folder, below where your sabnzbd.ini file is stored.

Re: How long is "total" server bandwidth history?

Posted: February 18th, 2015, 11:07 pm
by marysm
Thanks. I can't seem to find my sabnzbd.ini or database file! I'm running Windows 7. My config page says I should find it here: C:\Program Files (x86)\SABnzbd\sabnzbd.ini, but it is not there! I have "show hidden" on. What am I missing?

BTW, I am running v0.7.20.

Mary

Re: How long is "total" server bandwidth history?

Posted: February 19th, 2015, 3:41 am
by shypike
marysm wrote:My config page says I should find it here: C:\Program Files (x86)\SABnzbd\sabnzbd.ini, but it is not there!
That's highly unlikely.
Config->Folders also says where your "System" folder is.
What does it say?

Re: How long is "total" server bandwidth history?

Posted: February 19th, 2015, 8:24 am
by marysm
i know its crazy, but I've done a search of my C drive. there is no sabnzbd.ini file anywhere! My "folders" config says the "admin" and " logs" folders should also be located relative to the Default Base Folder: C:\Program Files (x86)\SABnzbd, but they are not there. The exe and other files are, but not those support folders. My history and running server bandwidth persist between Sabnzbd and whole computer restarts so, they are getting saved *somewhere*.

Re: How long is "total" server bandwidth history?

Posted: February 19th, 2015, 4:02 pm
by shypike
Do you have another web browser on your computer?
Use it to access SABnzbd.

Re: How long is "total" server bandwidth history?

Posted: February 21st, 2015, 10:31 pm
by marysm
A different browser shows same config details.I tried creating the admin and logs folders in the specified base folder, but they do not get populated with any files. Changing the folder path does nothing to create the intended folder at the new location.

Re: How long is "total" server bandwidth history?

Posted: February 22nd, 2015, 6:26 am
by sander
Do not create admin and log folder yourself. That's useless.

Another try for you (and please read and execute carefully):
In SABnzbd: click Status (in upper left corner), then under Latest Warnings, right to Logging click "+Info". Restart SABnzbd (or your complete PC).
After the restart, in SABnzbd: click Status (in upper left corner), then under Latest Warnings, click on "Show Logging". That will download a log file. Click on that log file. In that log file, find a line with

Code: Select all

Saving data for totals
or

Code: Select all

Saving data for queue
Copy those lines here in this thread as it will tell the directory where the admin stuff is saved.

In my case (but, warning, I'm not using Windows):

Code: Select all

2015-02-22 12:21:15,192::INFO::[__init__:919] Saving data for queue9.sab in /home/sander/.sabnzbd/admin/queue9.sab
2015-02-22 12:21:15,195::INFO::[__init__:919] Saving data for totals9.sab in /home/sander/.sabnzbd/admin/totals9.sab
(Lines with "Saving data for SABnzbd_" is NOT what your looking for)

Re: How long is "total" server bandwidth history?

Posted: February 24th, 2015, 3:43 am
by sander
And? Did that work for you?

Re: How long is "total" server bandwidth history?

Posted: March 6th, 2015, 9:09 am
by marysm
Hello, hello. So sorry for the delay. I will try what you suggested and report back. Thanks much for your continued help.

Re: How long is "total" server bandwidth history?

Posted: November 18th, 2015, 4:14 pm
by marysm
marysm wrote:i know its crazy, but I've done a search of my C drive. there is no sabnzbd.ini file anywhere! My "folders" config says the "admin" and " logs" folders should also be located relative to the Default Base Folder: C:\Program Files (x86)\SABnzbd, but they are not there. The exe and other files are, but not those support folders. My history and running server bandwidth persist between Sabnzbd and whole computer restarts so, they are getting saved *somewhere*.
Hello! bumping old own old thread. i *finally* found my Sabnzbd log folder!!! It in in:

C:\Users\Mary\AppData\Local\VirtualStore\Program Files (x86)\SABnzbd

Everything is there-- logs, settings, nzb backups. For some reason nothing in the "virtualstore" shows up in the normal Windows search. I finally used a different search app, Agent Ransack, and the location of everything appeared.

Now to finally try sander's advice to see how much bandwidth I've been using.