|
SageTV Customizations This forums is for discussing and sharing user-created modifications for the SageTV application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss customizations for SageTV version 6 and earlier, or for the SageTV3 UI. |
|
Thread Tools | Search this Thread | Display Modes |
#41
|
|||
|
|||
Did you ever figure this one out? I'm running the script on WHS and I'm getting the same exact error messages.
|
#42
|
||||
|
||||
Quote:
Thanks, |
#43
|
|||
|
|||
No, not yet. There should be no problems using the weekly or manual full backup scripts with SageTV V7, but extreme caution should be taken with daily config backups. For daily config backups, the main problem is restoring the sage.properties file that contains some critical plugin information. If the plugin data in the sage.properties file doesn't match up with what is in the filetracker.properties file and with the actual contents of the JARs, PluginInstallers, and various other plugin related folders, you'll likely end up with plugins out of sync and in an inconsistent state.
I'm considering just removing the daily config backup script and making the weekly full backup the new daily backup script. Seems a bit overkill, but I think it would be the safest way to go.
__________________
--Jason Server Hardware: GIGABYTE GA-EP45-UD3R, Intel Q9550 CPU 2.83GHz, 11GB RAM, 1xHDHR, 1xHVR1600, 1xHVR2250 29TB Server Storage: 1TB SSD (OS), 1TB (data), 2x6TB+2x10TB (22TB FlexRaid storage pool), 2x2TB (recordings), 1x750GB (VMs). Server Software: Win10 Pro x64 OS, SageTV 64bit v9.2.0.441, Java 1.8 u241, PlayOn, Comskip (Donator) v0.82.003, WampServer v2.5. Clients: 3xHD300s, 2xHD100, 2xPlaceshifters |
#44
|
||||
|
||||
Thanks for the reply.
Did you need to install an add-in to your WHS for a scheduler such as this? New Add-in: WHS Trigger I would like to move my cache files to the D: shares as well. The folder name would be cache and it would be a subfolder of Fanart which is on the D share. I get confused on the syntax (/\) Could you help? The location would be D:/shares/fanart/cache or D:\shares\fanart\cache to change the location in the properties file?n Any spaces needed in the property file? Thanks, |
#45
|
|||
|
|||
Quote:
For the cache directory change in the sage properties file, I use backslashes. And the colon and backslashes need to be escaped with backslashes. So you would have: D\:\\shares\\fanart\\cache But I think you can also use forward slashes which don't need to be escaped, but the colon still needs to be escaped with a backslash like this: D\:/shares/fanart/cache There are a few different bmt/phoenix/fanart cache properties. Be sure to scan the sage properties file for the word cache and any properties that start with bmt or phoenix you might want to move off of the C: partition to ensure none of the bmt/phoenix cache files fill up what little space is left on that small 20GB C: partition.
__________________
--Jason Server Hardware: GIGABYTE GA-EP45-UD3R, Intel Q9550 CPU 2.83GHz, 11GB RAM, 1xHDHR, 1xHVR1600, 1xHVR2250 29TB Server Storage: 1TB SSD (OS), 1TB (data), 2x6TB+2x10TB (22TB FlexRaid storage pool), 2x2TB (recordings), 1x750GB (VMs). Server Software: Win10 Pro x64 OS, SageTV 64bit v9.2.0.441, Java 1.8 u241, PlayOn, Comskip (Donator) v0.82.003, WampServer v2.5. Clients: 3xHD300s, 2xHD100, 2xPlaceshifters |
#46
|
|||
|
|||
Imagine my surprise today when I needed to actually use the weekly backup and found that it backed up absolutely none of the subdirectories of the SageTV folder
These xcopy flags seem to fix the issue: /c /h /e /y /q c - continue if errors happened h - copy hidden and system files e - copy all subdirectories y - say yes if there is an overwrite prompt q - quiet |
#47
|
|||
|
|||
Also just to clarify, I believe locked files were causing the issue, thus the /C flag fixes that (skips the files)
In my case it appears to be a directory called activemq-data/ortus |
#48
|
|||
|
|||
I also found it helpful to exclude a few directories, which saved over 2 GB in my case. I don't know how to exclude them with xcopy so I just remove them before the zip is created:
ECHO Compressing backup: %folderName% CD /D "%backupDirTemp%\%folderName%" RD /s /Q "%backupDirTemp%\%folderName%\SageTV\cache" RD /s /Q "%backupDirTemp%\%folderName%\SageTV\STVs\Ortus\Trailers" "%~DP0\zip.exe" -r -9 -q -S "%~DP0\%folderName%".zip *.* |
#49
|
|||
|
|||
Digging up an old thread... I am going to start using these scripts, but is there the opportunity (read: likelihood) that my wiz.bin backup will be corrupt each time since the sagetv service is always running when the backup is made? Or does something in the script accommodate for this situation? If not, how are other people running these scripts shutting down the service prior to backup to ensure a good wiz.bin file. Thanks for the help.
__________________
Server: SageTV Media Center 7.1.19, Windows 7 Home Premium x64, Pentium Core2Duo, 4GB RAM, (1) Hauppauge HVR-2250, (1) Hauppauge HVR-1600, 1.5 TB of recording space Android MiniClient: Nvidia Shield TV (16GB) HDMI out to Samsung LN46C630 46" LCD Extender: STP-HD300, beta firmware "20110506-0", HDMI out to LG 37LD450 37" LCD |
#50
|
|||
|
|||
Prior to each EPG update the core creates wiz.bak - backup that file instead of wiz.bin. If you schedule the backup to happen shortly after an EPG update then the wiz.bak is pretty close to a live backup.
__________________
Twitter: @ddb_db Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive Capture: 2 x Colossus STB Controller: 1 x USB-UIRT Software:Java 1.7.0_71; SageTV 7.1.9 Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter Plugins: Too many to list now... |
#51
|
|||
|
|||
Quote:
Ive had four times when SageTV stopped updating the wiz files correctly and the only time I found out was when I restarted the SageTV service. As far as I can tell it creates the wiz.bak and then tries to update the wiz.bin. If this update fails, then the next time it does this update process it overwrites the usable wiz.bak with the now corrupted wiz.bin. I currently backup all configuration files every night and keep every backup (theyre only a few MB) The last corruption caused me to go back nearly two months until I could find a wiz file that wasnt instantly marked as corrupt. One thing I have found is that after the EPG update the wiz.bak is usually bigger than the wiz.bin, unless the wiz.bin is corrupt in which case wiz.bin seems to get appended to and so be larger than the backup.
__________________
SageTV Server : Akasa Inifiiti Case, Gigabyte GA-P35C-DS3 MB, 8600GT, Core2 Duo (E6850 3GHz), 4GB RAM, ~6TB Filestore , Nova-TD500, TBS 6280, SageTV 7.1.9 New Client 2 :MSI P67A-GD53, i5 2500K Quad core (3.3GHz), 12GB, Windows 10 Pro (and test SageTV 9 Install) Sage Client 1 : HD300, Logitech Harmony One |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
/opt/sagetv/scripts references | slamduncan | SageTV Linux | 1 | 05-12-2007 12:29 PM |
Scripts to modify XMLTV data. | grooves12 | SageTV EPG Service | 3 | 12-31-2006 11:50 PM |
init scripts | ChePazzo | SageTV Linux | 0 | 12-16-2006 12:28 PM |
Using Full SageTV as Client | backsix | SageTV Software | 8 | 05-17-2005 10:32 AM |
Full manual recording | ashenshugar | SageTV Software | 2 | 10-28-2003 01:55 PM |