Performed a restore of a backup I made with LibreElec 7.0.2 (Kodi 16.1), on LE 7.0.2.
But after the restore I'm missing not only things related to guisettings.xml like Weather info, Video add-ons shortcuts.
(like I found is explained in FAQ number 1), but also files that are in the backup, that don't get restored.
For example the following directories/files are missing, but are present in the backup file (.zip):
Code:
/storage/.kodi/userdata/addon_data/net.rieter.xot/*
/storage/.kodi/userdata/addon_data/plugin.video.*
/storage/.kodi/userdata/addon_data/pvr.hts/settings.xml
/storage/.kodi/userdata/addon_data/script.module.simplecache/simplecache.db
/storage/.kodi/userdata/addon_data/script.skin.helper.service/*
/storage/.kodi/userdata/addon_data/script.xbmc.debug.log/settings.xml
/storage/.kodi/userdata/addon_data/service.multimedia.tvheadend/*
From my custom directory /storage/.config/ has not been restored.
Code:
/storage/.config/modprobe.d/disable-brcmxxxx-for-wifi.conf
/storage/.config/modprobe.d/disable-zarlink-for-dvbt.conf
I didn't go through the whole list, but more must be missing.
I also have an advancedsettings.xml so the restore is done with a reboot in between, but continued normally.
I followed the messages up to 100% restore, and didn't see any unexpected messages. (
didn't look at kodi.log during the restore).
Edit (2017-04-14): the missing files above was caused using the default File Selection configuration. So even if the backup contains the files, if a selection is disabled in the config, it will not be restored.
(A 'restore completed' message would be nice.)
The first message, immediately after the 100% restore was Quote:"No PVR add-ons could be found, You need a tuner, backend software, and an add-on for the backend to be able to use PVR. Please visit http://kodi.wiki/view/PVR to learn more."
The add-ons are present. But settings are empty (e.g. YouTube, Backup).
Edit (2017-04-14): also related to above mentioned reason.
Kodi system settings like language, region, timezone are restored.
Performing a restore with the LibreElec backup/restore option worked without an issue.
But I would like to have Backup working, so I can schedule a backup e.g. each week.
Edit (2017-04-14): Below differences still apply.
I did a detailed compare between a backup made by LE, and Backup, but I only see some minor differences (LE-7.0.2 and LE-7.0.3):
(
Edit, 2017-04-11, don't know if symlinks could cause issues.)
- LE backup also contains directory /storage/.cache/
- LE backup also has 3 symbolic links in the customer directory /storage/.config/:
(/storage/.config/pulse/b63ff30980d44312a5400fc2c3c58fcf-runtime -> /tmp/pulse-PKdhtXMmr18n,
/storage/.config/system.d/kodi.target.wants/service.multimedia.tvheadend.service -> /storage/.kodi/addons/service.multimedia.tvheadend/system.d/service.multimedia.tvheadend.service,
/storage/.config/system.d/service.multimedia.tvheadend.service -> /storage/.kodi/addons/service.multimedia.tvheadend/system.d/service.multimedia.tvheadend.service)
- LE backup also has .gitignore files:
(addons/script.keymap/.gitignore, addons/script.module.urlresolver/resources/.gitignore, addons/script.xbmcbackup/resources/.gitignore, addons/script.xbmcbackup/resources/lib/.gitignore, addons/service.watchdog/.gitignore, addons/webinterface.chorus/lib/flatui/.gitignore)
- LE backup also contains directory /storage/temp/
- LE backup also contains the file /storage/userdata/addon_data/service.multimedia.tvheadend/.lock
Edit (2017-04-09): Just performed another restore with a tail on kodi.log.
I don't see error messages regarding the missing files.
(e.g. no results searching for addon_data or modprobe.d)
It does generate 15k lines of (mostly) files that are getting restored.
Edit (2017-04-14): Next still applies, but additional info might be helpful to know which backup was restored.
The restore path looks to contain "temp/201703111404", but this is not correct. The actual path is without this part.
kodi.log output:
(line 1 to 4999)
https://paste.ee/p/T5d4E
(line 5000 to 9999)
https://paste.ee/p/oVW9C
(line 10000 to end)
https://paste.ee/p/6TFw4
Looking for a reason why the restore is unsuccessful?
Edit (2017-04-14): cause found, see above mentioned reason.