(2015-10-27, 15:18)robweber Wrote: I've heard of issues with SFTP in the past but since I don't use it myself I can't say what they were. With the exception of cloud storage this addon i using the "xbmcvfs" python module - which just passing all calls to the Kodi virtual filesystem. In theory, anything the main Kodi file browser can do or have access to, this addon should as well.
Not sure why you can't PM but that may be a forum permissions thing. If you can search your log for "script.xbmcbackup" and then only post sections relevant to that it would help. Make sure to get an python errors.
Thanks for the response Rob! I finally got WebDav secure to work by adding a "source" in KODI & using "browse source" in Backup addon. Not sure why "typed" doesn't work in the Backup addon. Only problem with WebDav is the speed. It's roughly half of what I get with FTP, 95mbps (FTP) vs 52mbps (WebDav). But that's a limitation of WebDav. WebDav also deletes the older backup zips when selected, FTP doesn't.
Here is the log for when I used WebDav as "typed" and not added as a "source" in KODI:
NOTICE: script.xbmcbackup-1.0.6: Starting
16:15:16 T:1569711168 NOTICE: Thread LanguageInvoker start, auto delete: false
16:15:16 T:1569711168 NOTICE: -->Python Interpreter Initialized<--
16:15:21 T:1569711168 NOTICE: script.xbmcbackup-1.0.6: Starting
16:15:45 T:1569711168 NOTICE: Thread LanguageInvoker start, auto delete: false
16:15:45 T:1569711168 NOTICE: -->Python Interpreter Initialized<--
16:15:48 T:1569711168 NOTICE: script.xbmcbackup-1.0.6: Starting
16:17:13 T:1569711168 NOTICE: script.xbmcbackup-1.0.6: Local Dir: /storage/.kodi/
16:17:13 T:1569711168 NOTICE: script.xbmcbackup-1.0.6: Remote Dir: davs://xxxxx:
[email protected]:xxxx/test/
16:17:13 T:1569711168 NOTICE: script.xbmcbackup-1.0.6: Mode - Restore
16:17:13 T:1569711168 NOTICE: script.xbmcbackup-1.0.6: copying zip file: 201510241608.zip
16:17:13 T:1569711168 NOTICE: script.xbmcbackup-1.0.6: Writing files to: /storage/.kodi/temp/
16:17:13 T:1569711168 NOTICE: script.xbmcbackup-1.0.6: Source: davs://xxxxx:
[email protected]:xxxx/test/
16:17:13 T:1569711168 ERROR: CCurlFile::FillBuffer - Failed: HTTP returned error 404
16:17:13 T:1569711168 NOTICE: CCurlFile::FillBuffer - Reconnect, (re)try 1
16:17:14 T:1569711168 ERROR: CCurlFile::FillBuffer - Failed: HTTP returned error 404
16:17:14 T:1569711168 ERROR: CCurlFile::CReadState::Connect, didn't get any data from stream.
16:17:14 T:1569711168 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/.kodi/temp/201510241608.zip'
Traceback (most recent call last):
File "/storage/.kodi/addons/xbmcbackup-master/default.py", line 73, in <module>
backup.run(mode)
File "/storage/.kodi/addons/xbmcbackup-master/resources/lib/backup.py", line 311, in run
zip_vfs = ZipFileSystem(xbmc.translatePath("special://temp/"+ self.restore_point),'r')
File "/storage/.kodi/addons/xbmcbackup-master/resources/lib/vfs.py", line 84, in __init__
self.zip = zipfile.ZipFile(rootString,mode=mode,compression=zipfile.ZIP_DEFLATED,allowZip64=True)
File "/home/stephan/projects/openelec-5.0/build.OpenELEC-RPi2.arm-5.0.8/Python-2.7.3/.install_pkg/usr/lib/python2.7/zipfile.py", line 701, in __init__
IOError: [Errno 2] No such file or directory: '/storage/.kodi/temp/201510241608.zip'
-->End of Python script error report<--
################################################################################
# ... output of cat /storage/.kodi/temp/kodi.old.log
# OpenELEC release: RPi2.arm-5.0.8
#
The SFTP had no errors in the log. That portion of the log I posted on post 1163 on page 78 of this thread. I don't want to add to the length of this post.
Thanks for your time Rob.