Hi robweber and all,
First, I must say I consider this add-on a great piece of software and of inmense utility. Having said that, I have noticed that, as a user has pointed out before (reply in post 1482), it seems there is something not working properly regarding Dropbox backup, at least when choosing a zipped backup.
In my setting Kodi 17.1 on Raspbian April release (Kernel 4.4) on a Raspberry Pi 3, no tweakings at all but Raspbian and Kodi releases as-it-is. Add-on is configured by following the instructions in
https://github.com/robweber/xbmcbackup/t...ng-dropbox
and
https://github.com/robweber/xbmcbackup/b.../README.md
which are the same regarding "Using Dropbox"
So I created the app (key and secret well-typed), checked the url in Kodi's log, opened it in a browser and only then clicked Ok in the Kodi popup window (which had remained open).
Unzipped backups work perfectly well. However, it is a task that takes like a lot of time to complete 4h27m in my latest test (see log below).
Now, in zipped backups, when I click a manual backup, the add-on starts doing its job (top shows high CPU kodi.bin use as well), gathers all contents, zips them (it is all way faster) and after seemingly uploading for a few minutes the following pop-up message is displayed:
Write Error Detected
The destination may not be writeable
Zip archive could not be copied
As you can read, I chose for the backup to be zipped.
Please, find the log below. I have run several tests already before posting, by the way. You can see the 5am scheduled test being ok and the manually-run 10.44am test. The messsage in the log
Code:
10:46:04.356 T:1946181632 NOTICE: Samba is idle. Closing the remaining connections
is they only clue I can think of.
Anyway, here it is:
Code:
05:00:00.403 T:1584395184 NOTICE: script.xbmcbackup-1.0.9: token:1kd8k4jd7j3h8d7x:4kr9fu75mk21jd7c
05:00:00.953 T:1584395184 NOTICE: script.xbmcbackup-1.0.9: {u'referral_link': u'https://db.tt/p09o8h5xf3, u'display_name': u'MYFULLNAME', u'uid': 1234567, u'locale': u'en', u'email_verified': True, u'email': u'[email protected]', u'is_paired': False, u'team': None, u'name_details': {u'familiar_name': u'FirstName', u'surname': u'LastName', u'given_name': u'FirstName'}, u'country': u'US', u'quota_info': {u'datastorUS': 0, u'shared': 1234567890, u'quota': 12345612345X, u'normal': 1234566766L}}
05:00:00.953 T:1584395184 NOTICE: script.xbmcbackup-1.0.9: Starting
05:00:00.954 T:1584395184 NOTICE: script.xbmcbackup-1.0.9: Local Dir: /home/pi/.kodi/
05:00:00.954 T:1584395184 NOTICE: script.xbmcbackup-1.0.9: Remote Dir: /201704230500/
05:00:00.961 T:1584395184 NOTICE: script.xbmcbackup-1.0.9: Mode - Backup
05:00:04.890 T:1584395184 NOTICE: script.xbmcbackup-1.0.9: Creating FilUS List
05:00:07.616 T:1584395184 NOTICE: script.xbmcbackup-1.0.9: Writing filUS to: /201704230500/
05:00:07.616 T:1584395184 NOTICE: script.xbmcbackup-1.0.9: Source: /home/pi/.kodi/
(manually introduced space by me)
09:27:05.435 T:1584395184 NOTICE: script.xbmcbackup-1.0.9: scheduler will run again on 04-24-2017 05:00
(manually introduced space by me)
10:44:40.962 T:1321202608 NOTICE: script.xbmcbackup-1.0.9: token:1kd8k4jd7j3h8d7x:4kr9fu75mk21jd7c
10:44:41.517 T:1321202608 NOTICE: script.xbmcbackup-1.0.9: {u'referral_link': u'https://db.tt/p09o8h5xf3, u'display_name': u'MYFULLNAME', u'uid': 1234567, u'locale': u'en', u'email_verified': True, u'email': u'[email protected]', u'is_paired': False, u'team': None, u'name_details': {u'familiar_name': u'FirstName', u'surname': u'LastName', u'given_name': u'FirstName'}, u'country': u'US', u'quota_info': {u'datastorUS': 0, u'shared': 1234567890, u'quota': 12345612345X, u'normal': 8878011159L}}
10:44:41.517 T:1321202608 NOTICE: script.xbmcbackup-1.0.9: Starting
10:45:24.380 T:1321202608 NOTICE: script.xbmcbackup-1.0.9: token:1kd8k4jd7j3h8d7x:4kr9fu75mk21jd7c
10:45:24.902 T:1321202608 NOTICE: script.xbmcbackup-1.0.9: {u'referral_link': u'https://db.tt/p09o8h5xf3, u'display_name': u'MYFULLNAME', u'uid': 1234567, u'locale': u'en', u'email_verified': True, u'email': u'[email protected]', u'is_paired': False, u'team': None, u'name_details': {u'familiar_name': u'FirstName', u'surname': u'LastName', u'given_name': u'FirstName'}, u'country': u'US', u'quota_info': {u'datastorUS': 0, u'shared': 1234567890, u'quota': 12345612345X, u'normal': 8878011159L}}
10:45:24.902 T:1321202608 NOTICE: script.xbmcbackup-1.0.9: Starting
10:45:24.903 T:1321202608 NOTICE: script.xbmcbackup-1.0.9: Local Dir: /home/pi/.kodi/
10:45:24.904 T:1321202608 NOTICE: script.xbmcbackup-1.0.9: Remote Dir: 201704231045/
10:45:24.916 T:1321202608 NOTICE: script.xbmcbackup-1.0.9: Mode - Backup
10:45:24.920 T:1321202608 NOTICE: script.xbmcbackup-1.0.9: Creating FilUS List
10:45:27.538 T:1321202608 NOTICE: script.xbmcbackup-1.0.9: Writing filUS to: 201704231045/
10:45:27.539 T:1321202608 NOTICE: script.xbmcbackup-1.0.9: Source: /home/pi/.kodi/
10:46:04.356 T:1946181632 NOTICE: Samba is idle. Closing the remaining connections
10:50:14.979 T:1321202608 NOTICE: script.xbmcbackup-1.0.9: Writing filUS to: /
10:50:14.987 T:1321202608 NOTICE: script.xbmcbackup-1.0.9: Source: /home/pi/.kodi/temp/
Thought you might be interested in this case. If you need anything else, please, just write back.
Regards,
BTW, I am not assuming there is anything wrong with your code, please. I appreciate your coding, coding time and coding skills.
Edit: Just as an addition, the folder with the timestamp name in my kodi app is not created. Whereas the same folder is actually created when choosing the unzipped backup.