2015-06-19, 18:12
(2015-06-19, 16:33)ed_davidson Wrote: May I ask what operating system are you on? Does the zip file and the extracted zip stay in your temp folder after you exit and reboot. The issue I'm having is I get these 2 big files staying in my temp folder after I do a restore and it takes up a lot of space.
Hi Ed. I'm on OSMC RC3 on the RPi 2. But it doesn't matter which OS or version of the RPi (1 or 2) I use. It's consistent & it happens with OpenELEC as well. I assume the zip backup file is in the temp folder but haven't really looked. I go to, not sure if we're allowed to say but, IceFilms or Genesis. Haven't tried with other addons or local movies. Here's the steps: Try to restore a backup, it'll fail. Do not reboot. Start a movie, play it for 10 seconds then stop. Do not reboot. Go back to restore, file is already downloaded as I don't see it pulling from my server again, and it starts extracting & dumping the backup. It never fails this way. I have done this multiple times. The weird part of this is if I make a brand new clean install of either OSMC or OpenELEC, it'll work without issue. The failure only happens on an already configured system.
After reading in this forum and my own troubleshooting, I could be very wrong (I'm not a coder), it seems that backup addon looks for the backup file it previously created in the temp folder, hence the unable to find path error. But if it deletes itself after creating the backup, it can no longer find the file (as expected) since it's deleted by the addon itself. Lets say you want to use a backup created by one RPi on another RPi, same version OS, it's not going to find that in a temp folder because it was created by another RPi so it'll fail. It should not look for a backup file in the temp folder before attempting to restore, if that makes sense. But again, I'm puzzled as to why it'll work on a clean new system, as it also didn't get created on that system so no temp file would exist. Or why it would work after playing a video in one of the addons. Write lock maybe? Or multiple issues leading to one error. Again, I'm not a coder & I could be way off. It's just my thought process that leads me to this.
All in all, even with the minor error, this is still the best backup out there. If playing a video for 10 seconds will do the trick, I'm ok with that.