2014-10-10, 15:27
I'll need a debug log of the restore you're trying to do. Can't really do much without one.
(2014-10-11, 17:34)D.Z.G Wrote: How do I create one?
Using the Google Drive target is very similar to the Dropbox one. You must create a Google API project and authenticate your account via the id and secret. Instructions for creating the Google API for Google Drive can be found here. You'll need the client id and client secret generated for the addon settings (https://developers.google.com/drive/web/quickstart/quickstart-python). You only need to follow Step 1.
Once you have the client ID and Secret add them to the addon settings and run a backup. You'll get a notification that you need to enter your authorization code. Check your XBMC log file for a line from "script.xbmcbackup" containing the authorization URL. Cut/paste this into a browser and click Allow. Once this is done put the code from your browser into the pop-up dialog. The addon will cache these credentials so it should be a one-time authenication. From there the backup should start to run.
(2014-10-16, 19:00)schumi2004 Wrote: For some reason this addon only backups first level (from root) folders and files, second level folders/files won't be uploaded to Dropbox
When you open a folder it's just empty
def put(self,source,dest,retry=True):
dest = self._fix_slashes(dest)
if(self.client != None):
f = open(source,'rb')
try:
response = self.client.put_file(dest,f,True)
return True
except:
#if we have an exception retry
if(retry):
return self.put(source,dest,False)
else:
#tried once already, just quit
return False
else:
return False
(2014-10-17, 22:04)robweber Wrote: That log file error about "error creating d:/" is really weird. It shouldn't be trying to create the root directory.
If you could, please download the latest source and try that. Just uninstall the addon version you have now and re-install from this zip file: https://github.com/robweber/xbmcbackup/a...master.zip