[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] XBMC Backup - prynn - 2012-07-11 Hello! I installed this addon last night cuz of the easy way to have a backup. It runs perfectly until around 75% where the script get stuck and restart my ATV2 (to the apple menu), and it does not take a full backup, tried a few times and its still getting stuck at 75%. I'll post a log when I get back home. Im running the Neon skin btw. EDIT: I saw some of u ppl got this addon to run automatic at some specific time, how do I activate that? Thanks! RE: [Release] XBMC Backup - pdes - 2012-07-11 I "seem" to have backed up my iPad and ATV2 as I watched the script capture all the data. I am backing up to my NAS and have browsed to the new directory created for the backups. I have saved the settings!. The capture closes but then I cannot find a B/U file either on the NAS or in the local directories. So, before I start trying to be more technical than I am, could someone please tell me whether I am looking for a file called "xbmc_backup" or something else? Is there a default location somewhere that it could have been put in? Thanks RE: [Release] XBMC Backup - robweber - 2012-07-11 Just as an FYI to everyone I am still monitoring this addon. The development has dropped off as of late due to me just being too busy with other stuff. If anyone posts some debug logs I'd be happy to take a look. It seems that file path errors are very common and most likely the result of little issues that are unique to individuals. Normal Behavior - After setting the path you should see a file called xbmc_backup (or whatever you called yours) with the contents of your profile directory (with whatever options you've selected). It is just a straight file copy from one location to the other, granted you must have read/write permissions to that location from xbmc. If this isn't happening - look at the logs. There are logs generated in the xbmc.log file. Running Automatically - If you want to try setting up this script (or any script really) to run automatically you can check out this project: https://github.com/robweber/cronxbmc - it is not done and completely unsupported, although it does work. I suck at GUI development and just couldn't find a willing hand to help finish it. For instructions read the README or see this post: http://forum.xbmc.org/showthread.php?tid=124888&highlight=cronxbmc RE: [Release] XBMC Backup - jeanwilly - 2012-07-12 My name is jan i have adapted many addons and scripts from main eden for xbmc4xbox! this is a nice script is where exellent have it on xbmc4xbox to! on your script is a json rpc call but on xbmc4xbox we have no json rpc api. please can you help Regards Jan (skatulskijean) RE: [Release] XBMC Backup - pdeseymour - 2012-07-16 (2012-07-11, 23:09)robweber Wrote: If this isn't happening - look at the logs. There are logs generated in the xbmc.log file. I have captured a log file relating to my posting above. Should I paste it here or just reference the pastebin link? Thanks RE: [Release] XBMC Backup - robweber - 2012-07-17 (2012-07-16, 21:51)pdeseymour Wrote:(2012-07-11, 23:09)robweber Wrote: If this isn't happening - look at the logs. There are logs generated in the xbmc.log file. pastebin link would be the best. reading through log files in the forum is kind of a pain (and somewhat annoying to everyone else). Thanks for checking! RE: [Release] XBMC Backup - pdes - 2012-07-18 (2012-07-17, 17:35)robweber Wrote:(2012-07-16, 21:51)pdeseymour Wrote:(2012-07-11, 23:09)robweber Wrote: If this isn't happening - look at the logs. There are logs generated in the xbmc.log file. OK, here's my log. http://pastebin.com/2bV20ruY I can see errors but don't know what they mean. To recap my previous post, the app seems to collect all the data but when it finishes, I can't find the file. I have tried to save in a number of locations and have checked write access on the NAS. Any pointers gratefully received! RE: [Release] XBMC Backup - prynn - 2012-07-18 Hey robweber, here's my log that you asked about, it still restarts itself during the backup. http://xbmclogs.com/show.php?id=5183 Thanks in advice! RE: [Release] XBMC Backup - mikebzh44 - 2012-07-18 I've just discover you addon and it's very usefull !!! But I have an issue when trying to backup my playlists, other backups are OK. http://xbmclogs.com/show.php?id=5185 I think the issue is due to accented characters but my playlists seems OK : cartoons.xsp enfants.xsp films.xsp parents.xsp After some debugging, it's like parents.xsp is considered as directory and walkTree function try to scan movies. I have put some debug info in Code: def addFile(self,filename): and get this output in log file : Code: 14:56:46 T:2336 NOTICE: script.xbmcbackup: Starting And my enfants.xsp file is not backuped RE: [Release] XBMC Backup - robweber - 2012-07-18 @Hampfred I tried to look at your log file but there was nothing displaying in that link. The xbmc pastebin site loaded but the content area was empty. mikebzh44's link worked so I don't think it was the site, or my computer. @mikebzh44 By default XBMC tries to recurse into compressed file types and read what is in them. Apparently this includes smart playlist (xsp) type files; so the entries you are seeing are actually the results of your smart playlist. For the purposes of this addon files like zip and xsp need to be treated as files and copied instead of as a directory. I've added some logic to the virtual file system library that will check the file extensions on these files and treat them as a file instead. This should fix your issue. I've asked for a pull from the xbmc repo so within a day or two expect an update (or pull from github now) I've also added a logging option in the settings (false by default) to make log gathering a little easier. RE: [Release] XBMC Backup - mikebzh44 - 2012-07-18 Thanks for you quickness I'll try it as soon as repository will be updated. RE: [Release] XBMC Backup - prynn - 2012-07-19 (2012-07-18, 17:36)robweber Wrote: @Hampfred So sorry, here's a working one. http://xbmclogs.com/show.php?id=5228 RE: [Release] XBMC Backup - pdeseymour - 2012-07-22 (2012-07-18, 00:24)pdes Wrote:(2012-07-17, 17:35)robweber Wrote:(2012-07-16, 21:51)pdeseymour Wrote: I have captured a log file relating to my posting above. Should I paste it here or just reference the pastebin link? Hi robweber, have you had a chance to look at my log yet? Cheers, RE: [Release] XBMC Backup - robweber - 2012-07-23 @pdeseymour - I took at look at your logs. You have multiple entries that all look roughly like this: Code: 20:14:49 T:190119936 ERROR: Create - Error( Read-only file system ) As you can probably guess if the files can't be written to your network location there is no way you're going to find them. Some kind of permissions issue that's for sure. Might have to do with what username you are using in XBMC to access that share. @Hampfred Looking back at your posts it sounds like you just aren't sure where the backup files are going - is this right? According to what I can see the location you set is: nfs://192.168.0.102/c/backup/XBMC Backup/xbmc_backup/ I see lots of logs that look like this Code: 02:22:59 T:142217216 WARNING: FileNFS::OpenForWrite() called with overwriting enabled! - //XBMC Backup/xbmc_backup/addons/metadata.albums.allmusic.com/addon.xml That indicates to me that files are being written. Is that the case? Note to everyone waiting on new version - I had to change the icon.png image to not use transparency so I had to resubmit my pull. The image guidelines must have changed, or it was just not getting noticed this whole time. Sorry for the delay. RE: [Release] XBMC Backup - prynn - 2012-07-24 @Hampfred Looking back at your posts it sounds like you just aren't sure where the backup files are going - is this right? According to what I can see the location you set is: nfs://192.168.0.102/c/backup/XBMC Backup/xbmc_backup/ I see lots of logs that look like this Code: 02:22:59 T:142217216 WARNING: FileNFS::OpenForWrite() called with overwriting enabled! - //XBMC Backup/xbmc_backup/addons/metadata.albums.allmusic.com/addon.xml That indicates to me that files are being written. Is that the case? Note to everyone waiting on new version - I had to change the icon.png image to not use transparency so I had to resubmit my pull. The image guidelines must have changed, or it was just not getting noticed this whole time. Sorry for the delay. [/quote] Correct, my backup path is nfs://192.168.0.102/c/backup/XBMC Backup/xbmc_backup/ Yes the files are being written but it crashes around 70-80% and all the written backup dissapear. Due the backup is around a month ago. The ever frist backup with this addon. Do I need to change path everytime? Or how should I do? |