Cloud mounting storage

Hi everyone,

I am wondering how can I mount the recorded data from a microphone deployed on balenafin automatically onto the google drive. Thank you.

Hi,
I think you would need to make a service that uses Google Drive API to update the file content.

Another way would be to find some Linux CLI tool that uploads a file/folder to GDrive and then run it in a container that mounts the same docker volume that is used by a container producing the image. I guess such CLI tools should exist, but I haven’t used them.

Let us know about your progress or if there is anything else we can help with.

@roman-mazur Thanks for response.

I am wondering how to build the connection between Google API and balenafin to automatically store files? Is there any specific instructions?

Hey there,
Unfortunately as of now, we do not have any specific instructions.
As Roman suggested, perhaps you can try the second approach

  1. create a volume where you store the files [see: https://www.balena.io/docs/learn/develop/multicontainer/#named-volumes]
  2. use a linux google drive client to sync that volume to your drive

Hope this is helpful.
We would like to know if you get this working :slight_smile:

Cheers