Kodi Community Forum
[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)



[Release] Backup (formally XBMC Backup) - ed_davidson - 2015-12-15

I think you have to ssh into the box to get the log file. But I'm not totally sure.


Backup to google drive from 'script.xbmcbackup' - scarey - 2015-12-24

Hello,

I'm running the most up to date kodi on an amazon tv stick.

A solution posted here may reach more kodi users.

The problem I have is backing up to gdrive. I have followed the instructions precisely and it appears to be generating the zip file for backup transfer when it suddenly crashes kodi.

Log file details below (user specific details redacted from the copy and paste)

I only got as far as noticing the call to 'none type' but I'm not sure how to proceed with that or if that's the right place to start.

If the moderators consider this thread should be posted directly to the author (robweber according to the app), pls advise me and delete this thread. I am posting similar report to the author and will update this thread if an answer is provided.

13:09:12 T:1663920824 NOTICE: Thread TCPServer start, auto delete: false
13:09:12 T:1656046728 NOTICE: -->Python Interpreter Initialized<--
13:09:12 T:1659040480 NOTICE: Previous line repeats 2 times.
13:09:12 T:1659040480 NOTICE: Thread JobWorker start, auto delete: true
13:09:12 T:1681990088 NOTICE: Thread LanguageInvoker start, auto delete: false
13:09:13 T:1651304200 NOTICE: -->Python Interpreter Initialized<--
13:09:13 T:1651303128 NOTICE: Previous line repeats 1 times.
13:09:13 T:1651303128 NOTICE: script.grab.fanart: Grab Fanart Service Started
13:09:15 T:1658838120 NOTICE: StorageServer Module loaded RUN
13:09:15 T:1658838120 NOTICE: StorageClient-2.5.4 Starting server
13:09:18 T:1661864744 NOTICE: -->Python Interpreter Initialized<--
13:09:19 T:1713042312 NOTICE: Previous line repeats 1 times.
13:09:19 T:1713042312 NOTICE: Thread BackgroundLoader start, auto delete: false
13:09:19 T:1711891248 NOTICE: Thread JobWorker start, auto delete: true
13:09:23 T:1712952720 NOTICE: Thread LanguageInvoker start, auto delete: false
13:09:23 T:1712952720 NOTICE: -->Python Interpreter Initialized<--
13:09:29 T:1712952720 ERROR: WARNING:root:[Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/']
Traceback (most recent call last):
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.googleapi/lib/apiclient/discovery_cache/__init__.py", line 38, in autodetect
from . import file_cache
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.googleapi/lib/apiclient/discovery_cache/file_cache.py", line 132, in <module>
cache = Cache(max_age=DISCOVERY_DOC_MAX_AGE)
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.googleapi/lib/apiclient/discovery_cache/file_cache.py", line 78, in __init__
self._file = os.path.join(tempfile.gettempdir(), FILENAME)
File "/home/jenkins/workspace/Android-ARM/tools/depends/xbmc-depends/arm-linux-androideabi-android-17/lib/python2.6/tempfile.py", line 254, in gettempdir
File "/home/jenkins/workspace/Android-ARM/tools/depends/xbmc-depends/arm-linux-androideabi-android-17/lib/python2.6/tempfile.py", line 201, in _get_default_tempdir
IOError: [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/']
13:09:29 T:1712952720 NOTICE: .
13:09:31 T:1712952720 NOTICE: GoogleDriveFile({u'mimeType': u'application/vnd.google-apps.folder', u'version': u'78097', u'appDataContents': False, u'labels': {u'restricted': False, u'starred': False, u'viewed': True, u'hidden': False, u'trashed': False}, u'explicitlyTrashed': False, u'etag': u'"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"', u'lastModifyingUserName': u'XXXXXXXX', u'writersCanShare': True, u'owners': [{u'emailAddress': u'XXXXXXXXXXXXXXXX', u'kind': u'drive#user', u'isAuthenticatedUser': True, u'displayName': u'XXXXXXXXXXXX', u'permissionId': u'XXXXXXXXXXXXXXXX'}], u'id': u'XXXXXXXXXXXXXXXX', u'lastModifyingUser': {u'emailAddress': u'XXXXXXXXXXXXXXXXXXXXXXXX', u'kind': u'drive#user', u'isAuthenticatedUser': True, u'displayName': u'Stephen Carey', u'permissionId': u'XXXXXXXXXXXXXXXXXXXXX'}, u'copyable': False, u'ownerNames': [u'Stephen Carey'], u'lastViewedByMeDate': u'2015-12-24T13:08:25.760Z', u'parents': [{u'isRoot': True, u'kind': u'drive#parentReference', u'id': u'XXXXXXXXXXXXXXXXX', u'selfLink': u'https://XXXXXXXXXXXXXXXXXXXXX', u'parentLink': u'https://www.XXXXXXXXXXXXXXXX'}], u'shared': False, u'editable': True, u'markedViewedByMeDate': u'1970-01-01T00:00:00.000Z', u'modifiedDate': u'2015-12-24T12:54:39.499Z', u'createdDate': u'2015-12-24T12:54:39.499Z', u'iconLink': u'https://ssl.gstatic.com/docs/doclist/images/icon_11_collection_list_1.png', u'kind': u'drive#file', u'alternateLink': u'https://XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX', u'title': u'Kodi Backup', u'modifiedByMeDate': u'2015-12-24T12:54:39.499Z', u'userPermission': {u'kind': u'drive#permission', u'etag': u'"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"', u'role': u'owner', u'type': u'user', u'id': u'me', u'selfLink': u'https://www.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'}, u'spaces': [u'drive'], u'quotaBytesUsed': u'0', u'selfLink': u'https://www.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'})
13:09:31 T:1712952720 NOTICE: script.xbmcbackup-1.0.6: Starting
13:10:54 T:1718633720 NOTICE: Thread LanguageInvoker start, auto delete: false
13:10:54 T:1718633720 NOTICE: -->Python Interpreter Initialized<--
13:10:59 T:1718633720 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.TypeError'>
Error Contents: attribute of type 'NoneType' is not callable
Traceback (most recent call last):
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.xbmcbackup/default.py", line 37, in <module>
backup = XbmcBackup()
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.xbmcbackup/resources/lib/backup.py", line 46, in __init__
self.configureRemote()
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.xbmcbackup/resources/lib/backup.py", line 62, in configureRemote
self.remote_vfs = GoogleDriveFilesystem('/Kodi Backup/')
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.xbmcbackup/resources/lib/vfs.py", line 292, in __init__
self.setup()
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.xbmcbackup/resources/lib/vfs.py", line 312, in setup
gauth.LoadCredentialsFile(xbmc.validatePath(xbmc.translatePath(utils.data_dir() + 'google_drive.dat')))
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.xbmcbackup/resources/lib/pydrive/auth.py", line 236, in LoadCredentialsFile
self.credentials = storage.get()
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.oauth2client/lib/oauth2client/client.py", line 372, in get
return self.locked_get()
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.oauth2client/lib/oauth2client/file.py", line 79, in locked_get
credentials = Credentials.new_from_json(content)
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.oauth2client/lib/oauth2client/client.py", line 290, in new_from_json
return from_json(s)
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.oauth2client/lib/oauth2client/client.py", line 622, in from_json
data['token_expiry'], EXPIRY_FORMAT)
TypeError: attribute of type 'NoneType' is not callable
-->End of Python script error report<--
13:14:06 T:1568347816 NOTICE: GL_VENDOR = Broadcom
13:14:06 T:1568347816 NOTICE: GL_RENDERER = VideoCore IV HW
13:14:06 T:1568347816 NOTICE: GL_VERSION = OpenGL ES 2.0
13:14:06 T:1568347816 NOTICE: GL_SHADING_LANGUAGE_VERSION = OpenGL ES GLSL ES 1.00
13:14:06 T:1568347816 NOTICE: GL_EXTENSIONS = GL_OES_compressed_ETC1_RGB8_texture GL_OES_compressed_paletted_texture GL_OES_texture_npot GL_OES_depth24 GL_OES_vertex_half_float GL_OES_EGL_image GL_OES_EGL_image_external GL_EXT_discard_framebuffer GL_OES_rgb8_rgba8 GL_OES_depth32 GL_OES_packed_depth_stencil GL_EXT_texture_format_BGRA8888 GL_EXT_debug_marker


RE: Backup to google drive from 'script.xbmcbackup' - scarey - 2015-12-24

here's the first section of the log file in case it's relevant.

13:09:08 T:1568347816 NOTICE: special://profile/ is mapped to: special://masterprofile/
13:09:08 T:1568347816 NOTICE: -----------------------------------------------------------------------
13:09:08 T:1568347816 NOTICE: Starting Kodi (15.2 Git:2015-10-27-17fa8da). Platform: Android ARM 32-bit
13:09:08 T:1568347816 NOTICE: Using Release Kodi x32 build
13:09:08 T:1568347816 NOTICE: Kodi compiled Oct 27 2015 by GCC 4.8.0 for Android ARM 32-bit API level 17 (API level 17)
13:09:08 T:1568347816 NOTICE: Running on Amazon AFTM with Android 4.2.2 API level 17, kernel: Linux ARM 32-bit version 3.0.31+
13:09:08 T:1568347816 NOTICE: FFmpeg version: 2.6.4-kodi-2.6.4-Isengard
13:09:08 T:1568347816 NOTICE: Host CPU: ARMv7 Processor rev 0 (v7l), 2 cores available
13:09:08 T:1568347816 NOTICE: Product: montoya, Device: montoya, Board: capri - Manufacturer: Amazon, Brand: BRCM, Model: AFTM, Hardware: montoya
13:09:08 T:1568347816 NOTICE: External storage path = /storage/emulated/0; status = ok
13:09:08 T:1568347816 NOTICE: ARM Features: Neon enabled
13:09:08 T:1568347816 NOTICE: special://xbmc/ is mapped to: /data/data/org.xbmc.kodi/cache/apk/assets
13:09:08 T:1568347816 NOTICE: special://xbmcbin/ is mapped to: /data/data/org.xbmc.kodi/cache/apk/assets
13:09:08 T:1568347816 NOTICE: special://masterprofile/ is mapped to: /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/userdata
13:09:08 T:1568347816 NOTICE: special://home/ is mapped to: /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi
13:09:08 T:1568347816 NOTICE: special://temp/ is mapped to: /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/temp
13:09:08 T:1568347816 NOTICE: The executable running is:
13:09:08 T:1568347816 NOTICE: Local hostname: localhost
13:09:08 T:1568347816 NOTICE: Log File is located: /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/temp/kodi.log
13:09:08 T:1568347816 NOTICE: -----------------------------------------------------------------------
13:09:08 T:1568347816 NOTICE: load settings...
13:09:08 T:1568347816 DEBUG: CSettings: loaded settings definition from special://xbmc/system/settings/settings.xml
13:09:08 T:1568347816 WARNING: CSettingInt: unknown options filler "audiocdactions" of "audiocds.autoaction"
13:09:08 T:1568347816 DEBUG: CSettings: loaded settings definition from special://xbmc/system/settings/android.xml
13:09:08 T:1568347816 DEBUG: AESinkAUDIOTRACK - 44100 supported
13:09:08 T:1568347816 DEBUG: AESinkAUDIOTRACK - 48000 supported
13:09:08 T:1568347816 NOTICE: Found 1 Lists of Devices
13:09:08 T:1568347816 NOTICE: Enumerated AUDIOTRACK devices:
13:09:08 T:1568347816 NOTICE: Device 1
13:09:08 T:1568347816 NOTICE: m_deviceName : AudioTrack
13:09:08 T:1568347816 NOTICE: m_displayName : android
13:09:08 T:1568347816 NOTICE: m_displayNameExtra: audiotrack
13:09:08 T:1568347816 NOTICE: m_deviceType : AE_DEVTYPE_HDMI
13:09:08 T:1568347816 NOTICE: m_channels : FL,FR,FC,LFE,BL,BR
13:09:08 T:1568347816 NOTICE: m_sampleRates : 44100,48000
13:09:08 T:1568347816 NOTICE: m_dataFormats : AE_FMT_S16LE,AE_FMT_AC3,AE_FMT_DTS
13:09:08 T:1568347816 NOTICE: No settings file to load (special://xbmc/system/advancedsettings.xml)
13:09:08 T:1568347816 NOTICE: Loaded settings file from special://profile/advancedsettings.xml
13:09:08 T:1568347816 NOTICE: Contents of special://profile/advancedsettings.xml are...
<advancedsettings>
<network>
<buffermode>1</buffermode>
<cachemembuffersize>157286400</cachemembuffersize>
<readbufferfactor>20</readbufferfactor>
</network>
</advancedsettings>
13:09:08 T:1568347816 NOTICE: Default DVD Player: dvdplayer
13:09:08 T:1568347816 NOTICE: Default Video Player: dvdplayer
13:09:08 T:1568347816 NOTICE: Default Audio Player: paplayer
13:09:08 T:1568347816 NOTICE: Disabled debug logging due to GUI setting. Level 0.
13:09:08 T:1568347816 NOTICE: Log level changed to "LOG_LEVEL_NORMAL"
13:09:08 T:1568347816 NOTICE: CMediaSourceSettings: loading media sources from special://masterprofile/sources.xml
13:09:08 T:1568347816 NOTICE: Loading player core factory settings from special://xbmc/system/playercorefactory.xml.
13:09:08 T:1568347816 NOTICE: Loaded playercorefactory configuration
13:09:08 T:1568347816 NOTICE: Loading player core factory settings from special://masterprofile/playercorefactory.xml.
13:09:08 T:1568347816 NOTICE: special://masterprofile/playercorefactory.xml does not exist. Skipping.
13:09:08 T:1547453032 NOTICE: Thread ActiveAE start, auto delete: false
13:09:08 T:1547844592 NOTICE: Thread AESink start, auto delete: false
13:09:09 T:1568347816 NOTICE: Running database version Addons19
13:09:09 T:1568347816 NOTICE: ADDONS: Using repository repository.xunitytalk
13:09:09 T:1568347816 NOTICE: ADDONS: Using repository repository.Kinkin
13:09:09 T:1568347816 NOTICE: ADDONS: Using repository repository.xbmchub
13:09:09 T:1568347816 NOTICE: ADDONS: Using repository repository.dextertv
13:09:09 T:1568347816 NOTICE: ADDONS: Using repository repository.i4a-repo
13:09:09 T:1568347816 NOTICE: ADDONS: Using repository repository.xbmc.org
13:09:09 T:1568347816 NOTICE: ADDONS: Using repository repository.metalkettle
13:09:09 T:1568347816 NOTICE: virtual bool CWinSystemEGL::InitWindowSystem(): Using EGL Implementation: android
13:09:09 T:1568347816 NOTICE: Current resolution: 1920x1080 @ 60.00 - Full Screen
13:09:09 T:1568347816 NOTICE: Previous line repeats 1 times.
13:09:09 T:1568347816 NOTICE: Found resolution 1920 x 1080 for display 0 with 1920 x 1080 @ 59.999996 Hz
13:09:09 T:1568347816 NOTICE: Found ([email protected]) at 16, setting to RES_DESKTOP at 16
13:09:09 T:1568347816 NOTICE: Checking resolution 16
13:09:09 T:1568347816 NOTICE: Current resolution: 1920x1080 @ 60.00 - Full Screen
13:09:09 T:1568347816 NOTICE: GL_VENDOR = Broadcom
13:09:09 T:1568347816 NOTICE: GL_RENDERER = VideoCore IV HW
13:09:09 T:1568347816 NOTICE: GL_VERSION = OpenGL ES 2.0
13:09:09 T:1568347816 NOTICE: GL_SHADING_LANGUAGE_VERSION = OpenGL ES GLSL ES 1.00
13:09:09 T:1568347816 NOTICE: GL_EXTENSIONS = GL_OES_compressed_ETC1_RGB8_texture GL_OES_compressed_paletted_texture GL_OES_texture_npot GL_OES_depth24 GL_OES_vertex_half_float GL_OES_EGL_image GL_OES_EGL_image_external GL_EXT_discard_framebuffer GL_OES_rgb8_rgba8 GL_OES_depth32 GL_OES_packed_depth_stencil GL_EXT_texture_format_BGRA8888 GL_EXT_debug_marker
13:09:09 T:1568347816 NOTICE: Current resolution: 1920x1080 @ 60.00 - Full Screen
13:09:10 T:1568347816 WARNING: Unable to resolve: /libcec.so CECInitialise, reason: Symbol not found:
13:09:10 T:1568347816 ERROR: Unable to resolve exports from dll libcec.so
13:09:10 T:1568347816 ERROR: virtual void PERIPHERALS::CPeripherals::Initialise() - failed to initialise bus cec
13:09:10 T:1552908776 NOTICE: Thread PeripBusUSB start, auto delete: false
13:09:10 T:1568347816 NOTICE: Running database version Addons19
13:09:10 T:1568347816 NOTICE: Running database version ViewModes6
13:09:10 T:1568347816 NOTICE: Running database version Textures13
13:09:10 T:1568347816 NOTICE: Running database version MyMusic52
13:09:10 T:1568347816 NOTICE: Running database version MyVideos93
13:09:10 T:1568347816 NOTICE: Running database version TV29
13:09:10 T:1568347816 NOTICE: Running database version Epg10
13:09:11 T:1568347816 WARNING: JSONRPC: Could not parse type "PVR.Details.Channel"
13:09:11 T:1568347816 WARNING: JSONRPC: Could not parse type "PVR.Details.ChannelGroup.Extended"
13:09:11 T:1568347816 WARNING: JSONRPC: Could not parse type "GUI.Property.Value"
13:09:11 T:1568347816 WARNING: JSONRPC: Could not parse type "Setting.Details.SettingList"
13:09:11 T:1650253592 NOTICE: Thread LanguageInvoker start, auto delete: false
13:09:11 T:1568347816 NOTICE: Previous line repeats 7 times.
13:09:11 T:1568347816 NOTICE: initialize done
13:09:11 T:1568347816 NOTICE: Running the application...
13:09:11 T:1658845000 NOTICE: Thread LanguageInvoker start, auto delete: false
13:09:12 T:1651303128 NOTICE: -->Python Interpreter Initialized<--
13:09:12 T:1661830576 NOTICE: Previous line repeats 3 times.
13:09:12 T:1661830576 NOTICE: Thread JobWorker start, auto delete: true
13:09:12 T:1661864744 NOTICE: Thread LanguageInvoker start, auto delete: false
13:09:12 T:1568347816 NOTICE: starting zeroconf publishing
13:09:12 T:1568347816 NOTICE: Webserver: Starting...
13:09:12 T:1568347816 NOTICE: WebServer: Started the webserver
13:09:12 T:1664008072 NOTICE: Thread ZerocconfEmbedded start, auto delete: false
13:09:12 T:1664009088 NOTICE: Thread JobWorker start, auto delete: true
13:09:12 T:1568347816 NOTICE: starting upnp client
13:09:12 T:1568347816 NOTICE: ES: Starting event server
13:09:12 T:1671595608 NOTICE: Thread EventServer start, auto delete: false
13:09:12 T:1671595608 NOTICE: ES: Starting UDP Event server on 0.0.0.0:9777
13:09:12 T:1671595608 NOTICE: UDP: Listening on port 9777
13:09:12 T:1568347816 NOTICE: Current resolution: 1920x1080 @ 60.00 - Full Screen
13:09:12 T:1568347816 NOTICE: GL_VENDOR = Broadcom
13:09:12 T:1568347816 NOTICE: GL_RENDERER = VideoCore IV HW
13:09:12 T:1568347816 NOTICE: GL_VERSION = OpenGL ES 2.0
13:09:12 T:1568347816 NOTICE: GL_SHADING_LANGUAGE_VERSION = OpenGL ES GLSL ES 1.00
13:09:12 T:1568347816 NOTICE: GL_EXTENSIONS = GL_OES_compressed_ETC1_RGB8_texture GL_OES_compressed_paletted_texture GL_OES_texture_npot GL_OES_depth24 GL_OES_vertex_half_float GL_OES_EGL_image GL_OES_EGL_image_external GL_EXT_discard_framebuffer GL_OES_rgb8_rgba8 GL_OES_depth32 GL_OES_packed_depth_stencil GL_EXT_texture_format_BGRA8888 GL_EXT_debug_marker


RE: [Release] Backup (formally XBMC Backup) - scarey - 2015-12-24

I *think* I solved this issue by replacing this (at line 620ish of client.py):

try:
data['token_expiry'] = datetime.datetime.strptime(
data['token_expiry'], EXPIRY_FORMAT)

with this:

try:
data['token_expiry'] = datetime.datetime.strptime(
time.strptime(data['token_expiry']), EXPIRY_FORMAT)


RE: [Release] Backup (formally XBMC Backup) - JamesGrey - 2015-12-30

I have just set up my Minix X8 and when I try to do the backup it works but at the end it comes up with a message that says "Not all files backed up"

I am worried that if I do a fresh install the restore will not work.

Anything I can try to correct this error message?

Thank You


RE: [Release] Backup (formally XBMC Backup) - david.kennedy - 2016-01-01

Hi, does anyone know how to hide the backup notification on Kodi startup? I want it to run completely silent.

Thanks


RE: [Release] Backup (formally XBMC Backup) - Candyman - 2016-01-03

Request for help please.
Backup addon seems to have wrecked my install.

I had installed the addon in order to clone my set-up to another tablet.
It did not seem to be working properly as everytime I set the backup save path it was not saved - when I tried to do a backup it gave the path does not exist error. When I went back to the config screen the path was blank again.
Anyway, after two or three attempts I gave up and closed Kodi. Please note - I did nothing else with Kodi during this run.

When I restarted it later I got a "preparing for first run" loader (incidently with a much magnified logo) and then a black screen.

On investigation, all config files and install are still in place but I cannot get Kodi going again.

Any help gratefully recieved.

Running Isenguard 15.2 (stock from GPlay store)
Android 4.4.4 (Factory install, not rooted)
Samsung Galaxy Tab E (SM-T560)


RE: [Release] Backup (formally XBMC Backup) - joesse - 2016-01-10

Hi

thank you for this useful addon! Recntly I had to look up something in kodi.log, but I found it hard to find it, because the log was filled with hundreds of lines saying WARNING: FileNFS::OpenForWrite() called with overwriting enabled! - //openelec/201512310300/addons/metadata.themoviedb.org/resources/language/Vietnamese/strings.po

It gives this warning for every file that is being backed up.
the whole process looks like this:
Code:
16:20:09 T:1970192928  NOTICE: Starting Kodi (14.2 Git:7cc53a9). Platform: Linux ARM 32-bit
16:20:09 T:1970192928  NOTICE: Using Release Kodi x32 build (version for Raspberry Pi)
16:20:09 T:1970192928  NOTICE: Kodi compiled Mar 31 2015 by GCC 4.9.2 for Linux ARM 32-bit version 3.18.10 (201226)
16:20:09 T:1970192928  NOTICE: Running on OpenELEC (official) - Version: 5.0.8, kernel: Linux ARM 32-bit version 3.18.10
[jump to this morning, skipping about 110000  lines]
03:00:00 T:1815352384  NOTICE: script.xbmcbackup-1.0.6: Starte
03:00:00 T:1815352384  NOTICE: script.xbmcbackup-1.0.6: Lokales Verzeichnis: /storage/.kodi/
03:00:00 T:1815352384  NOTICE: script.xbmcbackup-1.0.6: Entferntes Verzeichnis: nfs://192.168.13.4/volume1/backups/openelec/201601100300/
03:00:00 T:1815352384  NOTICE: script.xbmcbackup-1.0.6: Modus - Sichern
03:00:00 T:1815352384 WARNING: FileNFS::OpenForWrite() called with overwriting enabled! - //openelec/201601100300/xbmcbackup.val
03:00:00 T:1815352384  NOTICE: script.xbmcbackup-1.0.6: Dateiliste wird erzeugt
03:00:03 T:1815352384  NOTICE: script.xbmcbackup-1.0.6: Writing files to: nfs://192.168.13.4/volume1/backups/openelec/201601100300/
03:00:03 T:1815352384  NOTICE: script.xbmcbackup-1.0.6: Source: /storage/.kodi/
03:00:03 T:1815352384 WARNING: FileNFS::OpenForWrite() called with overwriting enabled! - //openelec/201601100300/addons/metadata.themoviedb.org/resources/language/Vietnamese/strings.po
03:00:03 T:1815352384 WARNING: FileNFS::OpenForWrite() called with overwriting enabled! - //openelec/201601100300/addons/metadata.themoviedb.org/resources/language/Swedish/strings.po
[7076 similar lines]
03:03:05 T:1815352384 WARNING: FileNFS::OpenForWrite() called with overwriting enabled! - //openelec/201601100300/userdata/profiles.xml
03:03:05 T:1815352384 WARNING: FileNFS::OpenForWrite() called with overwriting enabled! - //openelec/201601100300/userdata/RssFeeds.xml
03:03:05 T:1815352384  NOTICE: script.xbmcbackup-1.0.6: Removing backup 201512210300
03:03:53 T:1815352384  NOTICE: script.xbmcbackup-1.0.6: scheduler will run again on 01-11-2016 03:00
03:05:26 T:1970192928  NOTICE: NFS is idle. Closing the remaining connections.
I checked the backup and it looks ok to me, but this huge log file is somewhat annoying. Anything I can do about it?

I am running Openelec on a Raspberry Pi 2 Model B.


RE: [Release] Backup (formally XBMC Backup) - costamich - 2016-01-16

Hello Rob,
I can not restore a zip backup from an ftp location. I have successfully made a backup to the ftp, but I just can not restore one. It connects to the ftp and it can even see the backup, but it fails to restore when I click on the backup itself.

I read in one of your earlier posts that this might be a bug in Python itself. So I have posted my KODI log for you to see. If you can just confirm if this is a bug or if I am doing something wrong on my end.

Thank you so much and I applaud your commitment to this great add on, including the support you have offered with all your responses in this thread!



13:08:10 T:1807243200 NOTICE: Thread BackgroundLoader start, auto delete: false
13:08:12 T:1847976312 NOTICE: Thread JobWorker start, auto delete: true
13:08:12 T:1845004816 NOTICE: Thread BackgroundLoader start, auto delete: false
13:08:13 T:1883866160 NOTICE: Thread LanguageInvoker start, auto delete: false
13:08:13 T:1883866160 NOTICE: -->Python Interpreter Initialized<--
13:08:16 T:1883866160 NOTICE: script.xbmcbackup-1.0.6: Starting
13:08:18 T:1883866160 NOTICE: script.xbmcbackup-1.0.6: Local Dir: /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/
13:08:18 T:1883866160 NOTICE: script.xbmcbackup-1.0.6: Remote Dir: ftp://USER:[email protected]/
13:08:18 T:1883866160 NOTICE: script.xbmcbackup-1.0.6: Mode - Restore
13:08:18 T:1883866160 NOTICE: script.xbmcbackup-1.0.6: copying zip file: 201601161215.zip
13:08:18 T:1883866160 NOTICE: script.xbmcbackup-1.0.6: Writing files to: /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/temp/
13:08:18 T:1883866160 NOTICE: script.xbmcbackup-1.0.6: Source: ftp://USER:[email protected]/
13:08:18 T:1883866160 ERROR: CCurlFile::FillBuffer - Failed: Couldn't connect to server(7)
13:08:18 T:1883866160 ERROR: CCurlFile::Open failed with code 0 for ftp://USER:[email protected]/
13:08:18 T:1883866160 ERROR: virtual bool XFILE::CFileCache::Open(const CURL&) - failed to open source <ftp://USER:[email protected]/>
13:08:18 T:1883866160 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.IOError'>
Error Contents: [Errno 2] No such file or directory: '/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/temp/201601161215.zip'
Traceback (most recent call last):
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.xbmcbackup/default.py", line 73, in <module>
backup.run(mode)
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.xbmcbackup/resources/lib/backup.py", line 311, in run
zip_vfs = ZipFileSystem(xbmc.translatePath("special://temp/"+ self.restore_point),'r')
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.xbmcbackup/resources/lib/vfs.py", line 84, in __init__
self.zip = zipfile.ZipFile(rootString,mode=mode,compression=zipfile.ZIP_DEFLATED,allowZip64=True)
File "/home/jenkins/workspace/Android-ARM/tools/depends/xbmc-depends/arm-linux-androideabi-android-17/lib/python2.6/zipfile.py", line 683, in __init__
IOError: [Errno 2] No such file or directory: '/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/temp/201601161215.zip'
-->End of Python script error report<--


RE: [Release] Backup (formally XBMC Backup) - ricpiga - 2016-01-18

I find this addon great. I've red you can make multi platform backup/restore.
But when I did a Win backup I did no succeed restoring to android: restore is able to unzip file but then is unable to copy file in directory, it stops with an error. Backup is with win 7 and restore is with a Minix Neo U1. Using the same ver 15 even if for the Minix is a optimized one named Minix Xmbc.
I wonder if Android must be rooted.
Thanks in advance.


RE: [Release] Backup (formally XBMC Backup) - marius37bv - 2016-01-19

`Hello Guys!On Nvidia ShieldTV i can`t open backup even if i dont use theme.Here is the log
00:44:56 T:2116061568 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.ImportError'>
Error Contents: No module named six
Traceback (most recent call last):
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.xbmcbackup/scheduler.py", line 9, in <module>
from resources.lib.backup import XbmcBackup
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.xbmcbackup/resources/lib/backup.py", line 7, in <module>
from vfs import XBMCFileSystem,DropboxFileSystem,ZipFileSystem,GoogleDriveFilesystem
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.xbmcbackup/resources/lib/vfs.py", line 9, in <module>
from pydrive.auth import GoogleAuth
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.xbmcbackup/resources/lib/pydrive/auth.py", line 4, in <module>

Can anyone explain me what can i do to fix this.Thank You!


RE: [Release] Backup (formally XBMC Backup) - cynical66 - 2016-01-20

I apologize if this has been covered in a previous post.

I'M NEW AT ALL THIS!

I downloaded 'backup-addon', managed to save a copy of my build to DROPBOX. Now... to test it to make sure I don't loose any info, I took the same APP KEY and APP SECRET that I used and entered the info on my other device. I try to hit restore, and it is asking me for the same AUTHURIZTION URL that it did when I first loaded the BACKUP file for dropbox.

I am trying to RESTORE my saved build from dropbox to the fire stick using 'backup' add-on. is there something i have to change in the dropbox settings or something?

PLEASE - someone please help!


RE: [Release] Backup (formally XBMC Backup) - mattmartinolc - 2016-01-26

Is there a way to make the addon not put the backed up files in a dated folder?? Thanks in advance.


RE: [Release] Backup (formally XBMC Backup) - nokodemus - 2016-01-28

Hi guys

I'm wondering whether my backup addon works 100% as it should.
Restoring my RPi2 15.2 backup (everything, except thumbnails) to a fresh 15.2 image finishes with an error.
But after rebooting a lot seems to be restored as it should.
Just some video- and hardware acceleration settings and the screen calibration für the different refresh rates, language and region settings are missing and the skin resets to confluence.
Library, DB and the majority of settings look fine.

Log:
Code:
14:37:14  20.972467 T:1814856768  NOTICE: script.xbmcbackup-1.0.6: Starting
14:37:14  20.981697 T:1814856768  NOTICE: script.xbmcbackup-1.0.6: Local Dir: /storage/.kodi/
14:37:14  20.982132 T:1814856768  NOTICE: script.xbmcbackup-1.0.6: Remote Dir: smb://-------PC/Users/-------/Desktop/Raspberry Pi 2/Kodi Backups/auto backup/
14:37:14  20.989248 T:1814856768  NOTICE: script.xbmcbackup-1.0.6: Mode - Restore
14:37:14  20.989922 T:1814856768  NOTICE: script.xbmcbackup-1.0.6: copying zip file: 201601270033.zip
14:37:14  20.990656 T:1814856768  NOTICE: script.xbmcbackup-1.0.6: zip file exists already
14:37:15  22.738981 T:1814856768  NOTICE: script.xbmcbackup-1.0.6: extracting zip archive
14:42:35 342.071777 T:1814856768  NOTICE: script.xbmcbackup-1.0.6: Creating Files List
14:42:40 347.194519 T:1814856768  NOTICE: script.xbmcbackup-1.0.6: Writing files to: /storage/.kodi/
14:42:40 347.194946 T:1814856768  NOTICE: script.xbmcbackup-1.0.6: Source: /storage/.kodi/temp/201601270033/
14:47:45 652.346863 T:1814856768   ERROR: GetDirectory - Error getting /usr/share/kodi/sounds/
14:47:45 652.347168 T:1814856768   ERROR: GetDirectory - Error getting special://xbmc/sounds/
14:47:45 652.389038 T:1814856768   ERROR: GetDirectory - Error getting /storage/.kodi/media/Fonts/
14:47:45 652.389282 T:1814856768   ERROR: GetDirectory - Error getting special://home/media/Fonts/
14:47:45 652.466980 T:1814856768   ERROR: GetDirectory - Error getting /storage/.kodi/media/Fonts/
14:47:45 652.467224 T:1814856768   ERROR: GetDirectory - Error getting special://home/media/Fonts/
14:47:50 657.582031 T:1814856768  NOTICE: script.xbmcbackup-1.0.6: updating: audiooutput.dtspassthrough, value: true
14:47:50 657.583679 T:1814856768  NOTICE: script.xbmcbackup-1.0.6: updating: audiooutput.eac3passthrough, value: true
14:47:50 657.584717 T:1814856768  NOTICE: script.xbmcbackup-1.0.6: updating: audiooutput.passthrough, value: true
14:47:50 657.585938 T:1814856768  NOTICE: script.xbmcbackup-1.0.6: updating: debug.screenshotpath, value: /storage/screenshots/
14:47:50 657.586914 T:1814856768  NOTICE: script.xbmcbackup-1.0.6: updating: epg.epgupdate, value: 1440
14:47:50 657.587646 T:1814856768  NOTICE: script.xbmcbackup-1.0.6: updating: epg.selectaction, value: 1
14:47:50 657.588379 T:1814856768  NOTICE: script.xbmcbackup-1.0.6: updating: filelists.allowfiledeletion, value: true
14:47:50 657.589294 T:1814856768  NOTICE: script.xbmcbackup-1.0.6: updating: filelists.showhidden, value: true
14:47:50 657.590393 T:1814856768  NOTICE: script.xbmcbackup-1.0.6: updating: filelists.showparentdiritems, value: false
14:47:50 657.591614 T:1814856768  NOTICE: script.xbmcbackup-1.0.6: updating: input.enablemouse, value: false
14:47:50 657.592712 T:1814856768  NOTICE: script.xbmcbackup-1.0.6: updating: locale.country, value: Österreich
14:47:50 657.706421 T:1814856768   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.UnicodeEncodeError'>
                                            Error Contents: 'ascii' codec can't encode character u'\xd6' in position 108: ordinal not in range(128)
                                            Traceback (most recent call last):
                                              File "/storage/.kodi/addons/script.xbmcbackup/scheduler.py", line 151, in <module>
                                                BackupScheduler().start()
                                              File "/storage/.kodi/addons/script.xbmcbackup/scheduler.py", line 39, in start
                                                restore.run(XbmcBackup.Restore)
                                              File "/storage/.kodi/addons/script.xbmcbackup/resources/lib/backup.py", line 451, in run
                                                gui_settings.run()
                                              File "/storage/.kodi/addons/script.xbmcbackup/resources/lib/guisettings.py", line 47, in run
                                                xbmc.executeJSONRPC('{"jsonrpc":"2.0", "id":1, "method":"Settings.SetSettingValue","params":{"setting":"' + aSetting.json_name() + '","value":"' + aSetting.value + '"}}')
                                            UnicodeEncodeError: 'ascii' codec can't encode character u'\xd6' in position 108: ordinal not in range(128)
                                            -->End of Python script error report<--

Is this error something, which is "normal" or could backup addon work even better without any errors if i change something?

Thank you guys and have a nice day.


RE: [Release] Backup (formally XBMC Backup) - melons2 - 2016-01-31

My backups over time have grown from around 6 or 7gb to (yesterday) 39.5gb.
The addons directory accounting for 9.7gb and userdata being about 31gb of that the directory thumbnails is 21 gb.
Is there anything that I can do to reduce the size of my backup and the time it takes?


Thanks