2015-07-20, 17:24
(2015-07-18, 03:49)ed_davidson Wrote: [ -> ]Have you tried doing a force close after the backup finishes?
Need it to just write that script to the device from the archive during the restore process - openelec on Rpi2.
(2015-07-18, 03:49)ed_davidson Wrote: [ -> ]Have you tried doing a force close after the backup finishes?
(2015-07-16, 21:29)mattmartinolc Wrote: [ -> ]Is there a way to make this addon backup and restore autostart.sh as part of the same process that backs up and restores the other files? The reason I ask is because I want it to restore guisettings.xml by placing my autostart.sh script in the directory with the following code:
I can hide a fresh guisettings.xml file in the xbmcbackup folder that would be copied into the userdata folder on startup, thus getting around that file being overwritten during shutdown
I really really need to make this work. I have machines running the same setup in different areas and don't want to have to copy each one over manually.
(2015-07-20, 14:24)Lusa Wrote: [ -> ]Hi Rob,
First of all what a great addon!
I've been new with Kodi en Raspberry PI 2 but using this addons now for a couple of weeks.
I use the backup and restore option through my nas network and it works perfectly.
But I have a question and sorry if this has been asked before, but maybe i use the wrong search strings?
Now I wondered i have prepare Kodi (helix) with addons and skin on my PC (Windows) and that works well.
Is it possible to backup this and put it back with a restore on my PI 2 where Openelec is installed?
For the GUISETTINGS.xml restore option i will use the tip in the TS to stop the stop xbmc.service.
Or is it not recommended to restore to a different (OS) device?
(2015-07-21, 16:50)robweber Wrote: [ -> ](2015-07-16, 21:29)mattmartinolc Wrote: [ -> ]Is there a way to make this addon backup and restore autostart.sh as part of the same process that backs up and restores the other files? The reason I ask is because I want it to restore guisettings.xml by placing my autostart.sh script in the directory with the following code:
I can hide a fresh guisettings.xml file in the xbmcbackup folder that would be copied into the userdata folder on startup, thus getting around that file being overwritten during shutdown
I really really need to make this work. I have machines running the same setup in different areas and don't want to have to copy each one over manually.
Have you tried using a "custom path"? Not sure what the permissions are on that script - guessing this is OpenElec. Also, the backup addon does restore the guisettings file in the userdata folder as guisettings.xml.restored - so you don't have to stash one away manually. Just do the restore, then reboot and your script can copy the "restored" to guisettings.xml before Kodi starts.
There shouldn't be any major reason you can't go between operating systems with your archives. All the addons and files are cross-platform. The only exception would be any binary addons you may have installed yourself in the addons folder, but there aren't many of these floating around.
#!/bin/sh
(cp /storage/.kodi/userdata/guisettings.xml.restored /storage/.kodi/userdata/guisettings.xml;
sleep 10;
)&
(2015-07-22, 16:06)robweber Wrote: [ -> ]I have openelec so I'll attempt this myself and let you know what happens on my system. I thought the issue of file in the custom directories was all sorted out.
(2015-07-21, 16:50)robweber Wrote: [ -> ](2015-07-20, 14:24)Lusa Wrote: [ -> ]Hi Rob,
First of all what a great addon!
I've been new with Kodi en Raspberry PI 2 but using this addons now for a couple of weeks.
I use the backup and restore option through my nas network and it works perfectly.
But I have a question and sorry if this has been asked before, but maybe i use the wrong search strings?
Now I wondered i have prepare Kodi (helix) with addons and skin on my PC (Windows) and that works well.
Is it possible to backup this and put it back with a restore on my PI 2 where Openelec is installed?
For the GUISETTINGS.xml restore option i will use the tip in the TS to stop the stop xbmc.service.
Or is it not recommended to restore to a different (OS) device?
There shouldn't be any major reason you can't go between operating systems with your archives. All the addons and files are cross-platform. The only exception would be any binary addons you may have installed yourself in the addons folder, but there aren't many of these floating around.