SageTV Community  

Go Back   SageTV Community > SageTV Products > SageTV Software
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV Software Discussion related to the SageTV application produced by SageTV. Questions, issues, problems, suggestions, etc. relating to the SageTV software application should be posted here. (Check the descriptions of the other forums; all hardware related questions go in the Hardware Support forum, etc. And, post in the customizations forum instead if any customizations are active.)

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 06-19-2009, 07:31 AM
PeteCress's Avatar
PeteCress PeteCress is offline
Sage Fanatic
 
Join Date: Jan 2009
Location: Paoli, PA - USA, AKA "The Navel Of The Universe"
Posts: 843
Wiz.bin: Database Format?

There's probably a FAQ post on this somewhere, but Search "Wiz.bin database format" didn't turn up anything, so....

Does anybody know what they use to create Wiz.bin?

I'm hoping it's some third-party tool like B-Trieve and maybe there are tools available to look into Wiz.bin and see if it's healthy.
__________________
Server: SageTV 9, Windows 10, i5 NUC
Clients: HD200*3 over Cat5e Ethernet + 1 slightly flakey HD 300 + 1 HD200 remote at another residence
Plugins: (none yet, looking for recommendations)
Storage: NetGear Ultra-6 NAS 10 TB total w/dual redundancy. Plus 5tb QNAP for RecordedTV.
Capture: 3 Silicon Dust HomeRun tuner boxes (6 tuners total)
Program Source: OTA antenna
Reply With Quote
  #2  
Old 06-19-2009, 10:09 AM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
It's proprietary binary is all we know. The API is how you access the contents.
Reply With Quote
  #3  
Old 06-20-2009, 05:31 AM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
the most important thing to know about the wiz.bin file, and it's health status, is that you should have about 10 days of backups on hand at all times. Whatever format they use, is VERY easy to screw up apparently, and there is NO way to rebuild/recover that information once it's corrupted...
__________________
Buy Fuzzy a beer! (Fuzzy likes beer)

unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers.
Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA.
Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S
Other Clients: Mi Box in Master Bedroom, HD-200 in kids room
Reply With Quote
  #4  
Old 06-20-2009, 09:22 AM
PeteCress's Avatar
PeteCress PeteCress is offline
Sage Fanatic
 
Join Date: Jan 2009
Location: Paoli, PA - USA, AKA "The Navel Of The Universe"
Posts: 843
Quote:
Originally Posted by Fuzzy View Post
the most important thing to know about the wiz.bin file, and it's health status, is that you should have about 10 days of backups on hand at all times. Whatever format they use, is VERY easy to screw up apparently, and there is NO way to rebuild/recover that information once it's corrupted...
That's the bottom line I was trolling for.

Knowing that, I just set my backup to keep 25 versions of Wiz.bin on hand.

Thanks.

Is gradual corruption an issue?

With MS JET DBs, for instance, things can start going South long before any overt symptoms present themselves.
__________________
Server: SageTV 9, Windows 10, i5 NUC
Clients: HD200*3 over Cat5e Ethernet + 1 slightly flakey HD 300 + 1 HD200 remote at another residence
Plugins: (none yet, looking for recommendations)
Storage: NetGear Ultra-6 NAS 10 TB total w/dual redundancy. Plus 5tb QNAP for RecordedTV.
Capture: 3 Silicon Dust HomeRun tuner boxes (6 tuners total)
Program Source: OTA antenna

Last edited by PeteCress; 06-20-2009 at 09:25 AM.
Reply With Quote
  #5  
Old 06-20-2009, 09:29 AM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
Quote:
Originally Posted by Fuzzy View Post
Whatever format they use, is VERY easy to screw up apparently, and there is NO way to rebuild/recover that information once it's corrupted...
Define "VERY".

Quote:
Originally Posted by PeteCress View Post
Is gradual corruption an issue?
I don't think so.
Reply With Quote
  #6  
Old 06-20-2009, 11:17 AM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
I've been using Sage for years and I still have the original wiz.bin. I think the days of frequently corrupted wiz.bin files are over, although occasional corruption problems may arise.

Having said that, I always keep a week's worth of backups
__________________

Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders.
Reply With Quote
  #7  
Old 06-21-2009, 04:34 PM
Ryokurin's Avatar
Ryokurin Ryokurin is offline
Sage Aficionado
 
Join Date: May 2004
Posts: 455
Send a message via ICQ to Ryokurin Send a message via AIM to Ryokurin Send a message via Yahoo to Ryokurin
If you are having a lot of corruption issues I would look into your hardware. I had similar, but I figured it out a year or two later to be due to a dieing mainboard. I'm not saying that that is your problem, but it would be the first place I look.
Reply With Quote
  #8  
Old 06-21-2009, 07:59 PM
GKusnick's Avatar
GKusnick GKusnick is offline
SageTVaholic
 
Join Date: Dec 2005
Posts: 5,083
Just FYI, Nielm's XML file generator automates the export of recording metadata to external XML files, which you can then import into a fresh Wiz.bin using the web server. I believe there are other third-party tools that perform similar functions with .my files and .properties files.

Beyond that, the SageTV API gives programmatic access to the contents of Wiz.bin if you'd rather create your own tool for exporting/importing data. So if you're paranoid about the stability and/or closed format of Wiz.bin, there are ways of getting the data out to some more transparent format for safekeeping.
__________________
-- Greg
Reply With Quote
  #9  
Old 06-22-2009, 06:28 AM
ToxMox's Avatar
ToxMox ToxMox is offline
Sage Icon
 
Join Date: Oct 2003
Location: NJ
Posts: 1,980
My wiz.bin has been extremely stable. I'm still using one I started in 2003.
I also keep at least ten backups of it.
Reply With Quote
  #10  
Old 06-22-2009, 10:30 PM
stevech stevech is offline
Sage Icon
 
Join Date: Dec 2005
Posts: 1,643
Quote:
Originally Posted by ToxMox View Post
My wiz.bin has been extremely stable. I'm still using one I started in 2003.
I also keep at least ten backups of it.
me too. (SecondCopy is what I use for automated file backups among several PCs and NAS)

The backup wiz.bin will definitely be needed on occasion, when you make a mistake or get a surprise, as I did when I added more RAM and it somehow proved incompatible and corrupted some files.
Reply With Quote
  #11  
Old 06-23-2009, 08:30 AM
heatvent's Avatar
heatvent heatvent is offline
Sage Aficionado
 
Join Date: Feb 2006
Location: Chicagoland
Posts: 258
This may be a stupid question but what does the wizbin file do? Is it just epg data? I don't back mine up and I'm wondering if I should?
__________________
SageTV 7.0.0.23, P5Q-EM Motherboard, 2.5Ghz Quad Core, Windows 7 x64, HVR-2250, 8GB RAM, 1TB HD, 2 HD-200 Extenders
Reply With Quote
  #12  
Old 06-23-2009, 08:51 AM
cslatt's Avatar
cslatt cslatt is offline
Sage Advanced User
 
Join Date: Nov 2005
Posts: 239
BACK IT UP! BACK IT UP! BACK IT UP!

It stores your entire viewing history and all of the EPG data for the recordings you currently have. If I understand correctly, this means should you lose it to a hard drive crash or something then any recordings that you managed to save would appear as just imported videos with no indication of which episode of the TV show they were and Sage would start recording episodes of your favorites that you've already watched.

Quote:
Originally Posted by heatvent View Post
This may be a stupid question but what does the wizbin file do? Is it just epg data? I don't back mine up and I'm wondering if I should?
Reply With Quote
  #13  
Old 06-23-2009, 09:50 AM
PeteCress's Avatar
PeteCress PeteCress is offline
Sage Fanatic
 
Join Date: Jan 2009
Location: Paoli, PA - USA, AKA "The Navel Of The Universe"
Posts: 843
Quote:
Originally Posted by heatvent View Post
This may be a stupid question but what does the wizbin file do? Is it just epg data? I don't back mine up and I'm wondering if I should?
Based on my own experience with it's going South two times in less than six months, it is essential for both the Program Guide and the list of recorded programs.

Corrupt it and
  • Scheduled recordings are no longer scheduled
  • Program Guide is populated with "No Data" for all programs.
  • "Recordings" are no longer shown

I suspect there is more, but those two considerations suffice for me to back up Wiz.bin daily: both to a local repository so I can restore right away; and to a series of repositorys that get cycled between home and work in case of something like a fire or destructive burglary.
__________________
Server: SageTV 9, Windows 10, i5 NUC
Clients: HD200*3 over Cat5e Ethernet + 1 slightly flakey HD 300 + 1 HD200 remote at another residence
Plugins: (none yet, looking for recommendations)
Storage: NetGear Ultra-6 NAS 10 TB total w/dual redundancy. Plus 5tb QNAP for RecordedTV.
Capture: 3 Silicon Dust HomeRun tuner boxes (6 tuners total)
Program Source: OTA antenna
Reply With Quote
  #14  
Old 06-23-2009, 11:25 AM
APillowOfClouds APillowOfClouds is offline
Sage Advanced User
 
Join Date: Dec 2008
Posts: 236
Can one back it up while Sage is running? I would love to see Sage go to individual files for each show like BeyondTV uses (I'm an ex-BTV user) - they allowed you to drop a show anywhere on any drive and have it picked up instantly, and the info stays with the show. Maybe I'll try to write an add on that will create metadata files for shows that are recorded and display them in the interface. Heck, I guess I could even have it check the wiz.bin to see if the info's in there and add it if it's not, then reubilding wiz.bin would be very easy. Been wanting a reason to start looking at the dev kit anyhow.

Last edited by APillowOfClouds; 06-23-2009 at 11:26 AM. Reason: Adjusted word to 'heck' in case someone is easily offended :-)
Reply With Quote
  #15  
Old 06-23-2009, 01:00 PM
PeteCress's Avatar
PeteCress PeteCress is offline
Sage Fanatic
 
Join Date: Jan 2009
Location: Paoli, PA - USA, AKA "The Navel Of The Universe"
Posts: 843
Quote:
Originally Posted by APillowOfClouds View Post
Can one back it up while Sage is running?
That's what I have been doing - using a very simplistic file-copy backup utility called "SecondCopy". No ShadowCopy or anything like that - although I'd like to tweak WHS to make the local copies if I ever figure out how to tell it to back something up that's already in it's own vitrual data drive.

I've restored twice from such backed-up-while-in-use copies and haven't seen any problems. That doesn't mean there won't be any in the future.... seems like it's always risky to take a copy while something is in flux..... but then again, with 25 backups I hope I'll be covered one way or another.
__________________
Server: SageTV 9, Windows 10, i5 NUC
Clients: HD200*3 over Cat5e Ethernet + 1 slightly flakey HD 300 + 1 HD200 remote at another residence
Plugins: (none yet, looking for recommendations)
Storage: NetGear Ultra-6 NAS 10 TB total w/dual redundancy. Plus 5tb QNAP for RecordedTV.
Capture: 3 Silicon Dust HomeRun tuner boxes (6 tuners total)
Program Source: OTA antenna
Reply With Quote
  #16  
Old 06-24-2009, 01:47 AM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
Quote:
Originally Posted by cslatt View Post
BACK IT UP! BACK IT UP! BACK IT UP!

It stores your entire viewing history and all of the EPG data for the recordings you currently have. If I understand correctly, this means should you lose it to a hard drive crash or something then any recordings that you managed to save would appear as just imported videos with no indication of which episode of the TV show they were and Sage would start recording episodes of your favorites that you've already watched.
Even more important to me, is that all your favorites are also stored in the wiz.bin.
__________________
Buy Fuzzy a beer! (Fuzzy likes beer)

unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers.
Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA.
Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S
Other Clients: Mi Box in Master Bedroom, HD-200 in kids room
Reply With Quote
  #17  
Old 06-24-2009, 06:47 AM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
FYI. I use DeltaCopy, which works just like SecondCopy but it's open source (free).
__________________

Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders.
Reply With Quote
  #18  
Old 06-24-2009, 07:01 AM
freedml freedml is offline
Sage Expert
 
Join Date: May 2008
Posts: 549
To put it simply, wiz.bin has all the user data for your particular system that isn't in one of the 'properties' files.

SageTV automatically makes a copy named 'wiz.bak' and you can safely back this up any time with any method that will back up a file. There is a batch file posted in one thread that keeps 9 rolling backups and can be scheduled using Windows, or you can use a 'backup program.'
Reply With Quote
  #19  
Old 06-24-2009, 07:05 AM
enaumchuk enaumchuk is offline
New Member
 
Join Date: Jun 2009
Location: Chicago
Posts: 2
I'm using WinXP built-in backup service and so far it's working for me. Check out Accessories>System Tools>Backup
Reply With Quote
  #20  
Old 06-24-2009, 08:50 PM
stevech stevech is offline
Sage Icon
 
Join Date: Dec 2005
Posts: 1,643
I guess the most important data in Wiz.bin is your history of what episodes of what shows have been watched. Lose that, and it's a major PITA.

SecondCopy here is set to keep the last 10 days/versions, in case one is corrupt.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
What's in wiz.bin? ThePaladinTech SageTV Software 2 01-06-2009 12:26 PM
Wiz.bin MrD SageTV Linux 2 05-27-2006 03:23 PM
Just restored wiz.bin, wiz.bak, sage.properties, but no longer have old recordings... GoldenTiger SageTV Software 4 04-09-2006 11:06 AM
Wiz Bin nigfink SageTV Software 1 12-15-2005 10:13 AM
Wiz.bin question dadams SageTV Beta Test Software 5 10-23-2005 08:06 PM


All times are GMT -6. The time now is 01:25 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.