Posts: 5
Joined: Jul 2013
Reputation:
0
2014-11-10, 20:56
(This post was last modified: 2014-11-10, 22:04 by Allram.)
Hi
Used bacup function when changed from Gotham to helix,,, worked great.
Now when i try to backup from helix the folder creats with subfolders "Addon and Userdata" and file called xbmcbackup.val
But there is no files backuped inside them?
Suggestions would be much appreciated.
Had this problem both under beta 1 and now with Beta 2.
Tnx in advance
Magnus
Posts: 1,293
Joined: Sep 2009
Reputation:
73
I agree that the solution for the guisettings file is not ideal. It has the most "front facing" information in it for the user yet is the hardest to restore as you can't just do a straight file-copy while xbmc is running and expect it to work.
When using the newer "systemctl stop xbmc.service" command in OpenElec the screen should stay black until you issue the start command. If this isn't happening perhaps it's an OpenElec issue.
Posts: 10
Joined: Dec 2010
Reputation:
0
andisa
Junior Member
Posts: 10
Does XBMC Backup work for anyone with Kodi 14.0 beta1&2?
Posts: 1,074
Joined: Jun 2012
Reputation:
16
2014-11-16, 00:34
(This post was last modified: 2014-11-16, 01:31 by McButton.)
You posted this systemctl stop xbmc.service. When does that get used?
3. Type touch /var/lock/xbmc.disabled and then press enter <--- OK
4. Type killall -9 xbmc.bin and then press enter - Your media center machine should now go blank <-- OK (resets in about 2 seconds back to the main screen)
5. Connect to your machine using WinSCP and copy the guisettings.xml file to the userdata folder (this is the guisettings.xml file from your backup) <-- OK
6. go back to your putty window and type rm /var/lock/xbmc.disabled <--OK (what does that do?)
If I reset my machine. Nothing happens. SOMETIMES, if I'm fast enough, it'll work. Sometimes, I've put in the systemctl stop in, and hard reset it, and that works. But all methods take like 40 tries. Ideas?
systemctl start xbmc.service just turns it back on. no idea.No matter when in the process I move the file, it rarely sticks.
Nevermind. I wiped my system and started dragging the guisettings before restoring from xbmc backup. Silly...
May want to tweek the tutorial a little, but all works well.
Posts: 1,074
Joined: Jun 2012
Reputation:
16
Also, thanks for the assists. With work like yours, hopefully everything becomes easier and more efficient for all of us.
Posts: 150
Joined: Oct 2013
Reputation:
0
03397
Senior Member
Posts: 150
I am using XBMC Backup on gotham 13.2 and I am getting unsuccesful results
19:38:01 T:884 NOTICE: script.xbmcbackup-0.5.8.7: Starting
19:38:01 T:884 NOTICE: script.xbmcbackup-0.5.8.7: Local Dir: C:/Users/nicolas/AppData/Roaming/XBMC/
19:38:01 T:884 NOTICE: script.xbmcbackup-0.5.8.7: Remote Dir: 201411181938/
19:38:01 T:884 NOTICE: script.xbmcbackup-0.5.8.7: Mode - Backup
19:38:01 T:884 NOTICE: script.xbmcbackup-0.5.8.7: Creating Files List
19:38:06 T:884 NOTICE: script.xbmcbackup-0.5.8.7: Writing files to: 201411181938/
19:38:06 T:884 NOTICE: script.xbmcbackup-0.5.8.7: Source: C:/Users/nicolas/AppData/Roaming/XBMC/
19:40:44 T:884 NOTICE: script.xbmcbackup-0.5.8.7: Writing files to: 201411181938/custom_31ced47c/
19:40:44 T:884 NOTICE: script.xbmcbackup-0.5.8.7: Source: C:/Users/nicolas/AppData/Roaming/XBMC/
19:40:55 T:884 ERROR: EXCEPTION: Unknown exception thrown from the call "read"
19:40:55 T:884 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.RuntimeError'>
Error Contents: Unknown exception thrown from the call "read"
Traceback (most recent call last):
File "C:\Users\nicolas\AppData\Roaming\XBMC\addons\script.xbmcbackup\default.py", line 69, in <module>
backup.run(mode)
File "C:\Users\nicolas\AppData\Roaming\XBMC\addons\script.xbmcbackup\resources\lib\backup.py", line 248, in run
filesCopied = self.backupFiles(fileGroup['files'],self.xbmc_vfs,self.remote_vfs)
File "C:\Users\nicolas\AppData\Roaming\XBMC\addons\script.xbmcbackup\resources\lib\backup.py", line 461, in backupFiles
wroteFile = dest.put(aFile,dest.root_path + aFile[len(source.root_path):])
File "C:\Users\nicolas\AppData\Roaming\XBMC\addons\script.xbmcbackup\resources\lib\vfs.py", line 100, in put
self.zip.writestr(utils.encode(dest),aFile.read(),compress_type=zipfile.ZIP_DEFLATED)
RuntimeError: Unknown exception thrown from the call "read"
-->End of Python script error report<--
This used to work but not anymore. I am making the backup to a network drive.