|
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.) |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
||||
|
||||
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 |
#2
|
||||
|
||||
It's proprietary binary is all we know. The API is how you access the contents.
|
#3
|
||||
|
||||
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 |
#4
|
||||
|
||||
Quote:
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. |
#5
|
||||
|
||||
Quote:
I don't think so. |
#6
|
||||
|
||||
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. |
#7
|
||||
|
||||
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.
|
#8
|
||||
|
||||
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 |
#9
|
||||
|
||||
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. |
#10
|
|||
|
|||
Quote:
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. |
#11
|
||||
|
||||
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 |
#12
|
||||
|
||||
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. |
#13
|
||||
|
||||
Quote:
Corrupt it and
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 |
#14
|
|||
|
|||
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 :-) |
#15
|
||||
|
||||
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 |
#16
|
||||
|
||||
Quote:
__________________
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 |
#17
|
||||
|
||||
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. |
#18
|
|||
|
|||
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.' |
#19
|
|||
|
|||
I'm using WinXP built-in backup service and so far it's working for me. Check out Accessories>System Tools>Backup
|
#20
|
|||
|
|||
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. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
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 |