I tried to search to see if Google Drive is supported the same way Ubuntu One is supported for Deja-Dup but I haven't seen anything concrete. I don't want to store a local copy of the backed up files, but rather put it directly to the Google Drive account and prevent it from being sync'd.
You still cannot do so using deja-dup but fortunately it doesn't matter as you can use duplicity to achieve the same purpose. Deja-dup is the gui front-end for duplicity. You can use duplicity directly from the command line and surprisingly it is simpler than using the gui of deja-dup!
You need to install the package
After that you can use duplicity to put a local folder directly to google drive by issuing the following command:
In the second case it obviously won't ask for your gmail's password(but would still ask for the encryption passphrase).
Command to restore:
In all the above cases
Two minor caveats. Firstly, while restoring you have to ensure that localfolder doesn't exist otherwise duplicity will abort saying localfolder already exists. Secondly, I have tested the above in ubuntu 14.04 so can't comment about the other versions.
The only solution I have come up with is to back up to a local drive using Deja Dup, then zip the folder and upload to Google Drive.
I am hoping to find a way to create a folder with Google Cloud or Google Drive and achieve incremental backups automatically.
Currently I get the error:
Related question with other options: