Posts: 1,292
Joined: Sep 2009
Reputation:
71
Hey everyone, I've been a bit sparse on the Kodi forum posts for a few months here. I'm involved in a master's degree course (Data Science) in addition to my day job so my open source projects typically see less responses while the semester is in session. I'm just wrapping things up now and plan to dedicate more time this summer to issues and enhancements to this addon. Just wanted to let everyone know I didn't abandon the project. I'll be reviewing posts here and issues on Github in more detail very soon. Thanks to others that have stepped in to answer questions.
Posts: 44
Joined: Jun 2017
I think I'm having the same problem as ed_davidson01 (although I am on a Windows 7 pc). Some (but not all) of the .db files fail to restore. I see lines like this in the debug log:
08:28:51.472 T:2868 DEBUG: script.xbmcbackup-1.1.2: Writing file: C:/Users/Mel/AppData/Roaming/Kodi/cache/201805170745/userdata/Database/MyVideos107.db
08:28:51.473 T:2868 ERROR: XFILE::CFile:: Delete - Error deleting file C:\Users\Mel\AppData\Roaming\Kodi\userdata\Database\MyVideos107.db
The entire log is here:
https://paste.ubuntu.com/p/gv7DXfmxWV/
Posts: 61
Joined: May 2015
Reputation:
15
That’s exactly the problem. The database is in use. It’s the same in Windows if you use explorer to rename or overwrite while kodi is open it won’t work.
Not sure of a workaround.
Posts: 1,292
Joined: Sep 2009
Reputation:
71
Been thumping my head against the wall on this one for a while. The OS has the DB locked so without closing Kodi I'm not sure what can be done. Since the addon runs from within Kodi it kind of makes things useless from this perspective. With all the great new skins using interactive elements there is just way more DB activity than there used to be, happening at infrequent times.
Any ideas feel free to toss them out.
Posts: 87
Joined: Oct 2012
Reputation:
0
Hi, ive used the backup for many years, however i have never had any restores work (either on openELEC or Windows, so is this a bug?
I backup everything, with no compression, when i do a restore, at best it puts some shortcuts back, seems to install the addons (like video AddOns) but there all disabled, the skins isnt restored.
Its faster for me to do a new install, then copy the %appdata%\kodi folder manually over to the new install (which puts the new install back identically to my original PC), so is the backup not working?
Posts: 15
Joined: Apr 2015
Reputation:
0
I have an odd request - Is there a way I can delay the Backup addon on boot?
My Odroid box (Ubuntu 16.04) does not have an RTC battery, so it needs to pull time and date info from the NTP service. It takes about 45 seconds to that. Until that completes, it thinks it's 2016. Backup then tags the next backup data as +7 days. Then when NTP service updates the clock, Backup thinks "Hey, it's past X+7, so let's run the backup." This happens on EVERY restart, so it's a little painful, especially when I'm rebooting to test other updates and configuration changes.
Posts: 12
Joined: Jan 2016
Reputation:
0
nokaoi
Junior Member
Posts: 12
2018-09-09, 04:27
(This post was last modified: 2018-09-09, 04:48 by Klojum.)
Hi all, I just installed the Kodi Beta and am trying to restore my backup from Alpha 3. It fails on "copying zip file". Here are the relevant lines from the log:
*MOD EDIT*
Use a pastebin website near you for log files/snippets.
Hoping someone has an idea.
Posts: 54
Joined: Apr 2017
Reputation:
0
2018-09-18, 16:41
(This post was last modified: 2018-09-18, 17:12 by chumbo.)
There is apparently no way of deleting a post on this forum? In which case, might as well make it useful to some newbie having the same problem as I describe below.
THE PROBLEM:
First time user...I don't seem to be getting the same result as a lot of youtube tutorials show for this backup add-on?
I did the back from my Android box in a location on my PC's hard drive (SMB). Everything seemed to be going ok and I can in fact verify that my hard drive how has an additional Kodi backup folder with content.
Problem happens when restoring....
I had in fact made three backups. I believe one was a full backup of pretty much everything and two others were for the library only.
I'm trying to do the full restore but when I click the Restore option in the Backup add-on with the proper path selected, it shows me a blank in the "Backup Folder Name" window?? My only option is to Cancel!
And this is also true for the two other backups of my library. Anybody know what's going on??
THE SOLUTION:
In the Backup add-on Settings page, under remote path, select the parent folder of the backup folder and NOT the backup folder itself! (exact name of items and menu names may change depending on the version you're using when reading this)