Hi mate
is this right for my cron.xml?
<?xml version="1.0" ?> <cron/>
<cron>
<job name="backup xbmc" command="RunScript(script.xbmcbackup) " expression="59 23 * * *" show_notification="true" />
</cron>
im hoping that will back it run everynight at 11.59?
do i need to do anything else?
Matt
matt77303
Fan Posts: 327 Joined: Dec 2011 Reputation: 6 |
2012-05-28 22:21
Post: #51
CPU - AMD Athlon™ II X2 Dual-Core 3.4Ghz MB - ASUS M5A78L-M/USB3, Nvidia 610 2GB RAM - 4GB DDR3 Dual-Channel OS - XBMC Frodo TV - Panasonic TX-P50S21B Home Cinema - Pioneer VSX-S300 5.1 Remote - Harmony one |
| find quote |
matt77303
Fan Posts: 327 Joined: Dec 2011 Reputation: 6 |
2012-05-28 22:41
Post: #52
I guess ive got it wrong somewhere...
im getting a script error when i run xbmc http://pastebin.com/dPTi0Edj Matt CPU - AMD Athlon™ II X2 Dual-Core 3.4Ghz MB - ASUS M5A78L-M/USB3, Nvidia 610 2GB RAM - 4GB DDR3 Dual-Channel OS - XBMC Frodo TV - Panasonic TX-P50S21B Home Cinema - Pioneer VSX-S300 5.1 Remote - Harmony one |
| find quote |
robweber
Fan Joined: Sep 2009 Reputation: 15 |
2012-05-29 02:01
Post: #53
(2012-05-28 22:21)matt77303 Wrote: Hi mate The script makes a closed cron tag when it makes the file at first run. I deleted it from your example above, cut ans paste into the cron.xml file and that should work. |
| find quote |
matt77303
Fan Posts: 327 Joined: Dec 2011 Reputation: 6 |
2012-05-29 07:44
Post: #54
Thanks bud, I'll give it a try when I finish work.
Matt CPU - AMD Athlon™ II X2 Dual-Core 3.4Ghz MB - ASUS M5A78L-M/USB3, Nvidia 610 2GB RAM - 4GB DDR3 Dual-Channel OS - XBMC Frodo TV - Panasonic TX-P50S21B Home Cinema - Pioneer VSX-S300 5.1 Remote - Harmony one |
| find quote |
dallasnights
Fan Posts: 515 Joined: Jan 2011 Reputation: 0 |
2012-05-29 16:55
Post: #55
did the log I provided help you figures out what is wrong, is there a new build to try yet
Thanks for a great plugin hope to get to work soon |
| find quote |
matt77303
Fan Posts: 327 Joined: Dec 2011 Reputation: 6 |
2012-05-29 20:16
Post: #56
everyting is working perfectly, got it backing up everynight with the link you did for me, if i wanted to do more to i just add another section to the cron file?
Also i still get a script error when i select 'user addons' in the file selection window, ignore that one and its perfect. Thanks Matt One slight request i have my xbmc machine set to run xbmc backup everynight at midnight thanks to robweber. it backs everthing up to a folder on my sever called xbmc_backup and everytime it runs it overrights the files there. would it be possible to backup to a folder called xbmc_backup_29_05_2012 then if it runs tomorrow it creates a folder called xbmc_backup_30_05_2012 and it copiesw the files to there? so i can pick what date i restore? Thanks again for 2 brilliant pieces of software. Matt CPU - AMD Athlon™ II X2 Dual-Core 3.4Ghz MB - ASUS M5A78L-M/USB3, Nvidia 610 2GB RAM - 4GB DDR3 Dual-Channel OS - XBMC Frodo TV - Panasonic TX-P50S21B Home Cinema - Pioneer VSX-S300 5.1 Remote - Harmony one
(This post was last modified: 2012-05-29 20:26 by matt77303.)
|
| find quote |
schumi2004
Fan Posts: 642 Joined: Aug 2011 Reputation: 4 |
2012-05-30 02:26
Post: #57
Don't know what's going wrong with latest git pull
Code: 02:23:38 T:140381190608640 NOTICE: script.xbmcbackup: StartingAny ideas? |
| find quote |
robweber
Fan Joined: Sep 2009 Reputation: 15 |
2012-05-30 15:42
Post: #58
@matt77303 - yes, just adding another <job /> tag to the cron.xml file will allow you to add other functions on different timers. The date option is interesting, I can see where it would be useful (and not too hard to implement). I'll add it to my github issues list and try to get it implemented within the next week or so. Not sure about the addons throwing an error - it seems that the json decoders used in parsing the file lists have problems with the filenames in certain addons not being utf compatible. I'm toying with the idea of trying to wrap the "walk" method in a try - catch so that these files can be flagged and everything else continue.
@dallasnights - I'm really at a loss for what you are seeing here. The addon is creating the file list but then stalling out right at the end when it is actually trying to create the files. Just for troubleshooting sake I would attempt to write to a different share - even a local folder - just to rule out any problems on that end. I also see you're running a GIT version of xbmc. Not that it should matter but there could be other issues related to python or the vfs library going on here. @schumi2004 - tracing the error it looks like the python json libraries don't like something to do with the characters found (utf8 error) in your files. If you turn on debugging you may at least get the name of the file that is causing the error, although it is happening within a python library so there isn't a whole lot that can be done (other than removing the file). |
| find quote |
dallasnights
Fan Posts: 515 Joined: Jan 2011 Reputation: 0 |
2012-05-30 19:18
Post: #59
ok I can try that later, but if not the GIT version where can I get another version that might work
FYI since .08 that latest I have had this problem The other day I found an older version .02 or 03 I think, and installed that and it worked for a bit starting to copy folders and such then that crashed and returned to the Apple menu. No I dont have that log since I installed the latest over it Anyhow, not sure what is wrong, but I really want to JB my ATV2 tonight and start fresh but really wanted to backup all my old items so I dont loose things like plugins and favorites and such first Let me know your thoughts Thanks |
| find quote |
dallasnights
Fan Posts: 515 Joined: Jan 2011 Reputation: 0 |
2012-05-31 02:03
Post: #60
could you share maybe Version 0.0.4 or Version 0.0.6 and I can try that
did what you said, tried on another share, my laptop same problem Let me know thanks |
| find quote |

![[Image: watched-clearlogo.jpg]](http://trakt.tv/user/schumi2004/widget/watched-clearlogo.jpg)
Search
Help