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 01-28-2005, 12:31 AM
mayamaniac's Avatar
mayamaniac mayamaniac is offline
Sage Icon
 
Join Date: May 2004
Posts: 2,177
Wiz.bin and Sage.Properties Backup Using WinXP Backup Util.

I've been using the WinXP Backup tool to schedule backups for both wiz.bin and sage.properties files. It's been working well even while SageTV is running, including in Service mode. Here's What you do:

1. Run the Backup tool, Start > All Programs > Accessories > System Tools > Backup.
2. Check the Start with Wizard Mode and click Next.
3. Choose Backup Files and click Next.
4. Choose "Let me Choose what to backup" and click Next.
5. Browse to the SageTV folder and check the Sage.Properties and Wiz.bin files. Click Next.
6. Click Browse and select the location to store the backups. And Name your backup file. Click Next.
7. Click on Advanced... I just leave the Settings on Normal for backup type, but I think you can change to other modes if you desire. Click Next and Next again.
8. Select Replace the Existing backups. Click Next.
9. Select Later. Type in a Jobs Name. Click on Set Schedule. Now set how often you want the backups to ocur. I set mine to every other day per week at 3AM. Click OK. It'll prompt for your user password, enter it twice and hit OK.
10. Enter password again, and that's it.

If you need to restore the backups, run Backup again and select Restore at step #3. And follow the instruction it asks you to restore the files. You can look in Start > All Programs > Accessories > System Tools > Schedule Task, and the scheduled backup job should be there. To run it for a test, right-click and select Run.

UPDATE 3/10/2005: As neilm pointed out in post below, this utility is only preinstalled for WinXP Pro. For WinXP Home users, you can install it if you have the WinXP installation CD. Its located in \VALUEADD\MSFT\NTBACKUP directory. Run NTBACKUP.msi to install it. Since not all vendors include the actual source code for XP, you can download a copy HERE.
__________________
Mayamaniac

- SageTV 7.1.9 Server. Win7 32bit in VMWare Fusion. HDHR (FiOS Coax). HDHR Prime 3 Tuners (FiOS Cable Card). Gemstone theme.
- SageTV HD300 - HDMI 1080p Samsung 75" LED.

Last edited by mayamaniac; 03-10-2005 at 09:31 PM.
Reply With Quote
  #2  
Old 01-28-2005, 03:14 AM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
IIRC the WinXP backup tool is an optional part of WinXP and not installed by default... It is somewhere on the WinXP CD in a tools or extras folder and has to be installed manually... (I think it is in a folder called NTBACKUP)
Reply With Quote
  #3  
Old 01-28-2005, 06:03 AM
mayamaniac's Avatar
mayamaniac mayamaniac is offline
Sage Icon
 
Join Date: May 2004
Posts: 2,177
I think most system should have it installed.

But I urge everyone to start backing up your wiz.bin and sage.prop files. Mine got corrupted once but fortunately I managed to recover it. Gave me a good scare though. Although, the new 2.2.4 beta seems to be corrupt-proof, but better back up to be safe.
__________________
Mayamaniac

- SageTV 7.1.9 Server. Win7 32bit in VMWare Fusion. HDHR (FiOS Coax). HDHR Prime 3 Tuners (FiOS Cable Card). Gemstone theme.
- SageTV HD300 - HDMI 1080p Samsung 75" LED.

Last edited by mayamaniac; 01-28-2005 at 06:07 AM.
Reply With Quote
  #4  
Old 01-28-2005, 06:05 AM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
I don't disagree
(and each time I do an XP install and forget to install the danm backup tool, I curse myself and MS in equal mesure, while hunting through my CD library for the damn XP disk )
Reply With Quote
  #5  
Old 01-28-2005, 06:12 AM
mayamaniac's Avatar
mayamaniac mayamaniac is offline
Sage Icon
 
Join Date: May 2004
Posts: 2,177
And all those time spent cursing and finding the CD could've been spent on improving nielm's webserver plugin. DAMN YOU MICROSOFT!!!
__________________
Mayamaniac

- SageTV 7.1.9 Server. Win7 32bit in VMWare Fusion. HDHR (FiOS Coax). HDHR Prime 3 Tuners (FiOS Cable Card). Gemstone theme.
- SageTV HD300 - HDMI 1080p Samsung 75" LED.
Reply With Quote
  #6  
Old 03-09-2005, 09:39 PM
teedublu's Avatar
teedublu teedublu is offline
Sage Advanced User
 
Join Date: Mar 2004
Posts: 198
Wiz.bak not bin

Important:
Don't backup Wiz.bin, backup Wiz.bak !!!! To restore it, copy it over wiz.bin while sage is down. Similarly, backup the sage.properties.autoback file and restore it over the sage.properties file.

A suggestion:
You really should do a backup everyday, and you need more than one days worth of backups so:
Schedule 7 different backups, one for each day of the week (each day to its own DayName file, which is overwritten once per week).

TW
Reply With Quote
  #7  
Old 03-09-2005, 10:04 PM
src666 src666 is offline
Sage Aficionado
 
Join Date: Feb 2005
Posts: 459
I have a batch file that runs every night as a schedule task and executes the following commands (in another directory, of course):

del wiz_9.bin
ren wiz_8.bin wiz_9.bin
ren wiz_7.bin wiz_8.bin
ren wiz_6.bin wiz_7.bin
ren wiz_5.bin wiz_6.bin
ren wiz_4.bin wiz_5.bin
ren wiz_3.bin wiz_4.bin
ren wiz_2.bin wiz_3.bin
ren wiz_1.bin wiz_2.bin
ren wiz.bak wiz_1.bin
xcopy /y "C:\Program Files\Frey Technologies\SageTV\wiz.bak"

Obviously, it could be expanded to keep more copies, or run on a different schedule, but the basic point is to maintain a rolling set of backups far enough back that I could catch a good copy once I noticed a problem.
Reply With Quote
  #8  
Old 03-09-2005, 10:54 PM
Wheemer's Avatar
Wheemer Wheemer is offline
Sage Icon
 
Join Date: Dec 2004
Location: Deer Lake, NL, Canada
Posts: 1,493
Thanks for that tip... this should be under that Sage tips thread.
Reply With Quote
  #9  
Old 03-10-2005, 07:31 AM
BobPhoenix BobPhoenix is offline
SageTVaholic
 
Join Date: Oct 2004
Posts: 3,152
Quote:
Originally Posted by teedublu
Important:
Don't backup Wiz.bin, backup Wiz.bak !!!!
Just curious and pardon my ignorance but why not backup Wiz.bin? I do both currently.

Thanks.
BobP.
Reply With Quote
  #10  
Old 03-10-2005, 11:29 AM
teedublu's Avatar
teedublu teedublu is offline
Sage Advanced User
 
Join Date: Mar 2004
Posts: 198
It doesn't hurt to backup the live files, but you don't want to depend on a backup of a file that is open and therefore constantly being updated. You can endup with a corrupt file.
Reply With Quote
  #11  
Old 03-10-2005, 12:41 PM
wjohn wjohn is offline
Sage Advanced User
 
Join Date: Feb 2004
Location: Central California, USA
Posts: 206
Quote:
Originally Posted by src666
I have a batch file that runs every night as a schedule task and executes the following commands (in another directory, of course):
Obviously, it could be expanded to keep more copies, or run on a different schedule, but the basic point is to maintain a rolling set of backups far enough back that I could catch a good copy once I noticed a problem.
Just curious why you only backup the wiz file and not the sage.properties files also? Do they not have to be in sync?

Thanks,
__________________
Wolfgang
Reply With Quote
  #12  
Old 03-10-2005, 02:29 PM
src666 src666 is offline
Sage Aficionado
 
Join Date: Feb 2005
Posts: 459
Because I'm new at this, and still learning what should be done. I'll be adding the .properties files tonight. Thanks!
Reply With Quote
  #13  
Old 03-10-2005, 03:27 PM
falchulk falchulk is offline
Sage Icon
 
Join Date: Sep 2003
Posts: 1,150
Quote:
Originally Posted by wjohn
Just curious why you only backup the wiz file and not the sage.properties files also? Do they not have to be in sync?

Thanks,

Not really. You can install a fresh version of sage, throw in the wiz.bin and go through the initial config just fine. All your shows complete with info will be there. You just wont have the settings you configured. To save yourself work it really makes sense to get sage.properties but its not required.
Reply With Quote
  #14  
Old 03-10-2005, 09:16 PM
mayamaniac's Avatar
mayamaniac mayamaniac is offline
Sage Icon
 
Join Date: May 2004
Posts: 2,177
Quote:
Originally Posted by teedublu
Important:
Don't backup Wiz.bin, backup Wiz.bak !!!! To restore it, copy it over wiz.bin while sage is down. Similarly, backup the sage.properties.autoback file and restore it over the sage.properties file.
It doesn't hurt to backup both wiz.bin and wiz.bak. Trust me, I had corrupted wix.bak files before and could not restore my settings. I also backup sage.properties.bak also.

Quote:
Originally Posted by teedublu
A suggestion:
You really should do a backup everyday, and you need more than one days worth of backups so:
Schedule 7 different backups, one for each day of the week (each day to its own DayName file, which is overwritten once per week).
It depends on how your stable your setup is, if you are always tweaking your system, then yes, backup everyday. But if your system is fairly stable and you don't change it much, then maybe every other day will do. I have 3 schedule tasks, one for Mon/Wed/Fri, one for Tue/Thur/Sat, and one for Sunday. This way, I figure I always have backups for the last 3 days, which is reassuring enough for me.

The main reason I use this WinXP backup utility is because its free with the OS and also because it lets you backup wiz.bin even when it's being use by SageTV. It's called volume shadow backup or something like that. I have SageTV running 24/7 so this is important to me because I don't trust backing up just wiz.bak alone as it failed me before. And for the record, wiz.bin has corrupted on me twice since I started this thread, and both time I restored from a backup file and everything was dandy again.

PS. I updated the first post for WinXP Home users who doesn't have the backup utility installed.
__________________
Mayamaniac

- SageTV 7.1.9 Server. Win7 32bit in VMWare Fusion. HDHR (FiOS Coax). HDHR Prime 3 Tuners (FiOS Cable Card). Gemstone theme.
- SageTV HD300 - HDMI 1080p Samsung 75" LED.

Last edited by mayamaniac; 03-10-2005 at 09:33 PM.
Reply With Quote
  #15  
Old 06-25-2005, 09:26 AM
davey_fl davey_fl is offline
Sage Aficionado
 
Join Date: Dec 2003
Posts: 418
Wish I had put this into place sooner, I just lost my Wiz.bin/bak and had to go back to a backup I had one month ago Lost a lot of recorded show info. DAMMIT! Why can't Frey add an option to rebuild your Wiz.bin or add shows into the recorded list. Now I have files spread across 8 drives that are not in my Sage Recordings. I'll have to consolidate them onto a couple of drives and import them, or just delete them all and start again

davey
Reply With Quote
  #16  
Old 06-25-2005, 01:46 PM
lovingHDTV's Avatar
lovingHDTV lovingHDTV is offline
Sage Icon
 
Join Date: Jul 2003
Posts: 1,019
I think the best feature Sage could add to 3.0 is the ability to rebuild the wiz.bin file. I too have lost mine and you loose the entire Sage experience. Talk about a single point of failure.
Reply With Quote
  #17  
Old 06-26-2005, 01:40 PM
Grungy Remnant Grungy Remnant is offline
Sage User
 
Join Date: Sep 2003
Posts: 27
Ditto.

Boy, I've got lots to say today.
Reply With Quote
  #18  
Old 06-26-2005, 07:28 PM
wbarber69's Avatar
wbarber69 wbarber69 is offline
Sage Expert
 
Join Date: Oct 2004
Location: Hammond, La.
Posts: 512
Send a message via ICQ to wbarber69 Send a message via AIM to wbarber69 Send a message via MSN to wbarber69 Send a message via Yahoo to wbarber69
IMHO I've found that when something goes wrong its always right before you get to backing up than after you've already backed up
Reply With Quote
  #19  
Old 06-27-2005, 05:47 AM
mayamaniac's Avatar
mayamaniac mayamaniac is offline
Sage Icon
 
Join Date: May 2004
Posts: 2,177
Quote:
Originally Posted by lovingHDTV
I think the best feature Sage could add to 3.0 is the ability to rebuild the wiz.bin file. I too have lost mine and you loose the entire Sage experience. Talk about a single point of failure.
I'd still do backups, too much important to lose to depend on some sort of rebuilding process. But as far as I know, wiz.bin data cannot be publicly viewed, and I think it's part of the reasons why Studio is not released to public also.
Quote:
Originally Posted by wbarber69
IMHO I've found that when something goes wrong its always right before you get to backing up than after you've already backed up
This backup process can be setup to back up automatically and numorous copies if needed. but I know what you mean, it's the "computer only crashes right before you save" curse.
__________________
Mayamaniac

- SageTV 7.1.9 Server. Win7 32bit in VMWare Fusion. HDHR (FiOS Coax). HDHR Prime 3 Tuners (FiOS Cable Card). Gemstone theme.
- SageTV HD300 - HDMI 1080p Samsung 75" LED.
Reply With Quote
  #20  
Old 07-22-2005, 07:47 AM
waynedunham waynedunham is offline
Sage Icon
 
Join Date: Sep 2004
Posts: 1,469
Quote:
Originally Posted by mayamaniac
It'll prompt for your user password, enter it twice and hit OK.
10. Enter password again, and that's it.
Anybody got a good trick or tool to get the task scheduler to work without a password? I've got my system setup with no password, but can't seem to get the scheduler to work with that setup.
I don't necessarily have a problem with password, but I remember on Win95 you had to jump through hoops to get the system to automatically log you on without sitting at the keyboard. (i.e. hit the power switch, or after a power outage, and the system fires up and runs on it's own instead of sitting there waiting in vain for someone to happen by the keyboard with the password)

I created 2 batch files similar to the one posted here. One for Sage, and one for Sage Client. Tested the batch files and they work fine (I used to use the same technique on OS/2 in a startup.bat to back up my config files with 10 generations of backups). I plugged them into task scheduler but when I try to run the task nothing happens and I'm guessing that's because I didn't input a password. XP in it's infinte "knowledge" figures I must not know what I'm doing and does something different. <sigh>

I thought computers were supposed to follow their masters orders? HAH!! Not with Win, you want a simple peer to peer network, NO!!! You must set up servers, clients, and passwords or else you get NO help you fool!! You want to share files on your dedicated network behind a NAT, NO, you FOOL, you must supply passwords and tricks to see your own files on another system!! Grrrrrrr!!!
__________________
Wayne Dunham

Last edited by waynedunham; 07-22-2005 at 07:54 AM.
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


All times are GMT -6. The time now is 12:02 PM.


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