(2015-03-19, 04:23)ed_davidson Wrote: Hi there Rob,
I have a addon request for you if you don't mind. Is there any chance you could increase the custom folder backups from 2 to say 10? The reason for this is that there are only selected folders in my addon_data that I want backed up, namely my movie and TV favorites. So I would only be backing up say 8 addons.
Would this be possible?
Also would you know if the addon subcritions and xbmc library files are stored in the individual addons or somewhere else.
Last thing. Have you seen how the totalxbmc.tv guys restore there community builds to get the guisettings to stick. They restore in 2 zip files. These files are stored in a server that doesn't use a captcha. Might be worth a look.
I'm not going to add any more custom folders to the settings area, I think that just gets too cluttered. I have had an idea for a while though that would accomodate users that have more elabroate setups. The basic idea is to allow for a special xml file that you can define as many files or folder locations as you want. The format would be something like:
Code:
<backup>
<path>/path/to/file.txt</path>
<path>/path/to/folder/</path>
</backup>
There are a few catches to work out with this method but then anyone who needs to can define their own backup needs without having to modify the basic settings, which work well for most users. Would this be something that would help you? The xbmc library files are in the userdata/Database folder and the individual addon data is in the userdata/addon_data folder. If setting up custom paths you'll want to include this.
Regarding the totalxbmc.tv method of "restoring" the guisetting.xml file. I found the source for their addon and took a look. What they are doing is using the built in Skin.SetString, Skin.SetBool, etc methods to programatically set settings related to individual skins. This works well for skin settings but doesn't restore any of the system settings that are in this file. It is an interesting approach though. I do see there is some progress on the JSONRPC way of getting and setting system settings as well. I still think just being allowed to replace the file is a lot better than having to read in the old and manually place the settings but these could be doable work arounds.
(2015-03-20, 11:30)MrNice Wrote: Hi,
I run Backup in Openelec Raspberry Pi.
Is there a way to backup some files from the root directory? These files are scripts .sh.
See my above response. Right now you can only set a path to a folder to custom backup. If I follow through with the custom path option I detailed above files would be available to you.
(2015-03-20, 14:03)RustyTongueRing Wrote: First off, I love this addon and it has saved me plenty of time when setting up fresh installs.
I only have a couple questions. I have Openelec 5.0.6 on a Rpi that never gets turned off and I have it set to dim the screen after xx minutes. Usually I have Backup run once a week in middle of the night, but sometimes I have to restart the pi because it doesn't always wake up properly and the screen stays dim.
My problem is that when I restart the backup also starts which obviously slows the pi down especially being on wifi and of course this takes time to finish. I don't seem to have this on other devices so maybe I'm missing something obvious :\
Is this normal behavior for it to start on restart? Is there a way to stop/cancel the backup while in progress?
Any help would be greatly appreciated.
Do you have a log file of this happening? The addon should be re-calculating when it does the next backup based on the current system time. So if you did 12am every night and you rebooted the computer at 1am, it would want to do a backup at 12am the next night. There isn't a mechanism in place for accounting for a missed backup due to the system being off. The log file when you boot should contain information on when the scheduler is going to try and run.