2012-09-11, 21:25
(2012-09-11, 13:39)Rhothgar Wrote: Hi Rob
Nice work there.
If I install from zip will this automatically update to 0.1.4?
Also, if I do that, presumably it would then knock it out of the XBMC Auto-Updates as this is not yet in official repo. Sorry if that is a stupid question. I'm new to this amd still finding my feet.
One more thing. I have tried in the past, unsuccessfully to save backups using folder names like Base_Installation, Sports, etc.. But it will only write if it is set to XBMC_Backup folder and will not save to other folders outside of this folder. If I place my Base_Installation folder within XBMC_Backup folder, will that work or does it only save with dates.
As I am experimenting at the moment, I don't mind using dates but will it overwrite backup on the same date or will it create 20120911 for 1st backup and 20120911(1) for 2nd backup?
Thansk again. Great work. I wish I had your abilities. A lot of people would feel the same.
I'll attempt to answer your questions the best I can. If you install from the zip file it should update any installed version to the one in the zip. This should not break your auto updates from the repo, as the updater should check your version against what is in the repo and update when a new one is available. When I push to the repo I generally increment the version above what the zip has so you'll get the most current again.
The addon will only save to a specific path, creating a folder within that path with the current date. IE you can set a path of smb://MachineName/backups/xbmc/ and then each time you run you'll get a dated folder containing the files copied. I guess I don't understand the need for folder names like BaseInstall, Sports, etc. The backup should include all of your database and config information for the entire XBMC instance. I could see backing up several xbmc installs, but in that case create a folder for each at the target, such as smb://MachineName/backups/living_room and smb://MachineName/backups/bedroom, etc.
The backup assumes you need one good backup per day of your xbmc installation. So it will create one folder with the current date when it runs. If the folder already exists you'll just overwrite any information that is in there.
Glad you like the addon and find it useful. If you can explain a little more your situation regarding the folder names there may be something that can be added in the future to the addon.