[Release] Backup (formerly XBMC Backup) - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27) +---- Forum: Program Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=151) +---- Thread: [Release] Backup (formerly XBMC Backup) (/showthread.php?tid=129499) Pages:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
|
RE: [Release] Backup (formally XBMC Backup) - kpitao - 2015-06-26 Well .... I want to backup before an upgrade, so I don't have to risked loosing anything.... How do I get a debug log? Thanks [Release] Backup (formally XBMC Backup) - ed_davidson - 2015-06-26 (2015-06-26, 22:35)robweber Wrote: I attempted to push a fix for the Zip file archives giving a "no path found" error. Instead of using the extractAll function I'm extracting one at a time. Had 100% success with this in my test environment. As a bonus I can now show a progress bar for the extraction so you can tell if it's hung or working. Anyone willing to try check out github. I'm going to run more tests and wait for any feedback before pushing to the main repo. I will rob and let you know. [Release] Backup (formally XBMC Backup) - ed_davidson - 2015-06-26 Worked great on Android. Good fix. RE: [Release] Backup (formally XBMC Backup) - kpitao - 2015-06-27 Ok, I got it..... but should I posted all of it? It's 3700 lines..... [Release] Backup (formally XBMC Backup) - ed_davidson - 2015-06-27 (2015-06-27, 00:04)kpitao Wrote: Ok, I got it..... but should I posted all of it? NO. upload to the cloud and post the link. RE: [Release] Backup (formally XBMC Backup) - kpitao - 2015-06-27 I guess this is want you want .... http://goo.gl/k3D99H Sorry new to this RE: [Release] Backup (formally XBMC Backup) - kurai - 2015-06-27 (2015-06-19, 22:10)robweber Wrote: First off - the zip file restore showing up as "Destination does not exist". I've been able to recreate this but not reliably. It seems like a 50/50 thing. My initial guess was that the OS was simply not reporting the files as "ready" due to them being extracted, but even a temporary sleep() call on the thread didn't seem to fix it. It's very random, sometimes it works and sometimes it doesn't. It is clear that if you just wait (watch a movie, whatever) it will pick it up the next time. I think this is because at that point the files already exist, they don't get cleaned up after the crash and are already there. Still working on this so hang tight I guess. Sorry for the delay in getting back to this thread ... I can also confirm that in the Github-master v1.0.6 version the sub-directory recursing of custom targets now works properly. Thanks for the fix. RE: [Release] Backup (formally XBMC Backup) - ed_davidson - 2015-06-27 Just got a script error whilst using 1.0.6 https://www.dropbox.com/s/0ne3vgya5m0cdx6/spmc.log?dl=1 here's another one https://www.dropbox.com/s/nnumpacret6kqke/spmc1.log?dl=1 I tried uninstalling all backup addons then the new 1.0.6 didn't work. Then installed 1.0.5 agian and that didn't work either. Might be another issue, not the backup addon. RE: [Release] Backup (formally XBMC Backup) - robweber - 2015-06-27 (2015-06-27, 00:45)kpitao Wrote: I guess this is want you want .... Thanks for the log. I can't find any reference to script.xbmcbackup being run or even started in that log file. Is it even installed? There should be log entries when the service starts on startup as well as entries when you actually try and run the addon. Even if it crashes it will log something. Doesn't look like it is even there. (2015-06-27, 18:13)ed_davidson Wrote: Just got a script error whilst using 1.0.6 I see several mentions of this: Code: 10:01:23 T:1993205032 NOTICE: [Errno 28] No space left on device: '/storage/sdcard0/Android/data/com.semperpax.spmc/files/.spmc/temp/111111111111/addons/metadata.themoviedb.org/resources/language/Estonian' Lots of things are trying to read/write and all of them report no space left on device. Might be another issue you'll want to hunt down. [Release] Backup (formally XBMC Backup) - ed_davidson - 2015-06-27 Okay. Thanks. RE: [Release] Backup (formally XBMC Backup) - kpitao - 2015-06-27 (2015-06-27, 19:22)robweber Wrote: [quote='kpitao' pid='2039028' dateline='1435358707'] Thanks for the log. I can't find any reference to script.xbmcbackup being run or even started in that log file. Is it even installed? There should be log entries when the service starts on startup as well as entries when you actually try and run the addon. Even if it crashes it will log something. Doesn't look like it is even there. It's installed and I ran twice.... please look again, look line 2688 (first time) and line 3228 (second time)... Thanks again RE: [Release] Backup (formally XBMC Backup) - robweber - 2015-06-28 (2015-06-27, 21:06)kpitao Wrote:(2015-06-27, 19:22)robweber Wrote: [quote='kpitao' pid='2039028' dateline='1435358707'] What you ran is not this addon. You're running the "XML Backup" addon created by Kinkin. Not sure where it is from but I can't find reference to it on the official Kodi Repo. I did do a google search and found the source code on this site: http://addons.tvaddons.ag/show/plugin.video.XMLbackup/. I looked through it quick as I was curious. Looks like that addon only backs up XML files from the addon_data and userdata directories. These are the core config files but don't include your database or anything. It is also using the built in python shutil library to do the copying. This isn't bad but it means the backup directory you specify has to be a local directory, not network paths. From the error you're seeing it looks like you tried to use an SMB path. That won't work the way the addon is written. That's about as much help as I can give as this was created by someone else. If there is a forum for that addon you might try posting there. RE: [Release] Backup (formally XBMC Backup) - kpitao - 2015-06-28 ok ... Thanks for your help [Release] Backup (formally XBMC Backup) - ed_davidson - 2015-06-28 My issue was related to the space on my device. All fixed now thanks. RE: [Release] Backup (formally XBMC Backup) - berto. - 2015-06-30 My backup has been trying to run all day. It is set to run automatically at 4:00 AM, and when I turned on my TV at 8:30PM I saw this: Quote:Backup - Mode: Backup I checked the file logs, and the error seems to be: Quote:SMBFile->Open: Unable to open file : 'smb://BERTO/Kodi%20backup/201506290400/xbmcbackup.val' I think my PC (backup location) may have been asleep when the backup started. Could that have caused this problem? Wouldn't the backup keep trying until the PC woke up? The PC was definitely awake throughout the day, and in particular at 8:30 PM when I was using my TV. Running OSMC 1.0 on RPi2 |