Add google drive as external storage

Hi,

tried to add google drive in the NC section “external storage”. But there is not possibility to select google drive anymore.

Long time ago in NC 16 or something like this, there was an option for google drive.

How can this be done in NC29?

Thanks

No one using google drive?

Apparently not anymore, since the migration to Nextcloud :wink:

But maybe this will be helpful:

There was a third-party app. It looks like that app got abandoned: https://apps.nextcloud.com/apps/files_external_gdrive & GitHub - NastuzziSamy/files_external_gdrive: [BETA - UNSTABLE] GDrive external storage for NextCloud

I believe that’s what you’re referring to since I don’t recall there ever being anything “official” within the Nextcloud project itself that enabled mounting a Google Drive via External Storage.

I don’t. because for me, the whole point of hosting my own Nextcloud server is that I don’t have to give my files and data to Google.

Or, to put it another way, if my files were stored on Google Drive and therefore Google had access to them anyway, I could as well use their web frontend and save myself the ‘trouble’ of hosting my own server.

2 Likes

Try https://rclone.org/
They have dedicated community support at https://forum.rclone.org/

Unfortunately it seems Google makes this process as difficult as possible according to rclone writeup on google doc limitations.
And it doesn’t help that Google have never followed through on offering Google Drive support for linux besides announcing it back in 2012. See Dear Google, When is the Linux Support for Google Drive Arriving?

Lots more info available on internet keyword searches such as How to Access/Use Google Drive on Ubuntu 22.04 - Linux Genie to mount with fuse or similar.

Hope this info helps. Not using this myself, so won’t be able to assist further. :heart:

1 Like

Hi folks! I have an idea that maybe someone wants to implement. If you have Gogle Drive (or Workspace) space (maybe for teams or schools or maybe, not a good idea workspace paid option if you are here :wink: ) you can install VM Nextcloud-AIO in a rclone directory where you previously mount your Gogle space. Is easy to mount via rclone. So you can have all your Nextcloud AIO machine running in G*ogle space and they can not access to your files, then your privacy is not compromised. If you have, for example, 2Tb space maybe you can have 2Tb of space to run Nextcloud-AIO buy in “other cloud” not in your hard disk. Is an interesting way to move your instance. I mean: if you install Nexcloud-AIO VM in other computer, only you must mount via rclone your Workspace and your .vdi or .vmdk is the same :slight_smile:

@eamestoy Not sure if I understand this correctly, but are you seriously suggesting to put the VM disk image on a Google drive, mount it via Rclone and then run it ike this?

And sorry guys, but I don’t know what problem you’re trying to solve.

If you want to use Google because you got 2TB for free from your school, or because it’s convenient, or because it has better Android apps, or whatever, then just use it. I mean why are you so eager to hook it up with Nextcloud? It just makes things more complicated and you don’t gain any privacy as long as your still store your data on Google services.

By the way, if you use Google Workspace or M365, here is a free tip: Buy a Synology NAS. This is the easiest and cheapest way to backup those services on-site. :wink:

Indeed, I am proposing/suggesting to use the free space in the private cloud from the company that controls us all, in a somewhat “crazy” way but providing security to my data. If I store only the VM, the algorithms will not be able to look at my files and then feed their control machine. Without any doubt, the most appropriate thing is to have my own disk space on my home computer. However, it doesn’t seem like a bad option to me. In testing I have it working very well in terms of access speed.

Ok, I guess if it works for you, why not, and it’s probably better than using Google services directly :slight_smile:

1 Like

I have no doubt that the best way is to have your own hard drive (not even hire a space from an external hosting provider) to protect 100% your data privacy (and with /ncdata encrypted), but if you have some disk space on drive, maybe you can use it “intelligently” since with the data in /ncdata encrypted and the only thing stored on drive being a virtual machine, it is almost impossible for the corporation to see your data.

Yes, But… what if your organization insists on using Google Drive but you want to also use your own cloud server, e.g. Nextcloud? I did this with a commercially-available Linux-compatible Google Drive desktop sync tool and this allowed me to provide ZFS backup of my company’s data too. So here is at least one valid reason to want Google Drive integration with Nextcloud.