Posts: 834
Joined: Jan 2012
Reputation:
24
Hi Rob
I was wondering if you knew of a way to have the temp folder flushed on exit on Android? I have noticed that the contents of the cache folder on a PC get dumped on exit.
These backups are pretty big and you have the unzipped and zipped in the temp folder which doesn't get dumped on exit.
Any way around this?
Posts: 225
Joined: Apr 2015
Reputation:
7
Hi there,
sorry if this has been asked / answered before, but this thread is quite huge to read through...
I'm running Kodi 14.2 on a Mac Mini.
I have defined 2 non Kodi folders for backup.
One folder contains an apple script and an xx.app
This folder gets backed upped, but only the apple script. the .app is ignored
The second folder contains additional subfolders in which additional mp3 files are stored.
The main folder does not have any files except those subfolders.
None of the subfolders gets baccked upped.
Is there a way to have everything incl. sub folders backed upped?
Thanks
Stefan
Posts: 834
Joined: Jan 2012
Reputation:
24
I think may have an idea what happened. The zipped file with all the data on get got downloaded to the temp folder. Got the path error so browsed to the temp folder. Did the restore from the unzipped folder. On reboot found everything that was transferred was all 0KB. The zip didn't get extracted correctly.
Posts: 1,292
Joined: Sep 2009
Reputation:
71
That could be, wonder if the Python zip library didn't like it for some reason. Curiously I looked through that log and couldn't find any reference to the backup addon even being run. All log messages from it are prefaces with "script.xbmcbackup" and that was only found in 1 place where the addon was loaded. I did see this line: GetZipList - Processing zip://%2froot%2f.kodi%2ftemp%2f111111111111.zip/ - but no idea what ran it.
Posts: 834
Joined: Jan 2012
Reputation:
24
Yes I have no idea. The issue I'm having right now is that if I do a restore with just the config data nothing gets extracted, it's all 0 kilobytes. I have to add it to the addons and USERDATA to get it to restore properly.
Posts: 1,292
Joined: Sep 2009
Reputation:
71
The extracted zip file is 0 kilobytes? Are there any files in it. are you doing the backup with other files or just the config? The files you choose should not affect the extraction. That happens before the script even tries to figure out while files to pull. It treats the extracted file more like a types file path once the extraction occurs. Wonder if this happens with just regular remote folders that aren't zipped.
Posts: 834
Joined: Jan 2012
Reputation:
24
The option I chose was a zipped backup, of the config, which went well. When I tried the restore from the zip and had the path error I checked the folder and all the files were 0 but they were all there.
Interesting though. If I try to copy a file to usb in file manager the file copies but when I get it to my laptop the file has nothing in it. I am using MXLINUX.
Posts: 13
Joined: Jun 2015
Reputation:
0
kpitao
Junior Member
Posts: 13
Hello all,
Newbie here.... So I got a Amazon Fire Stick with XMBC Gotham 13.2... I want to backup everything before something happens, but for some reason I cannot get the backup to work.... tiered different ones Backup, XML Backup, etc/
All I get is Script Failed!
Can someone help me?
Thanks