Can you transfer your app's database/storage to Firebase?

Hi everyone! I’ve been developing my app Newgrain using Glide for the last 8 months. Due to the amazing success it got on social media, I have decided to scale the app beyond what Glide offers by redeveloping it in a more advanced no-code tool. I will be using Firebase as my database for the new app. I’d like to transfer the current database of my Glide app to Firebase (which includes the Google Sheets data, but also the user-specific data and the stored data such as images) and don’t know where to start, especially as I have little coding skills!
Does anyone know how I could go about doing this? Should I export the database in CSV, then try to import that into Firebase (which Firebase doesn’t support natively)? Or should I try linking Glide and Firebase through an API/Zapier?
What about images? Any idea how Glide stores them and how they could be stored directly in my Firebase?
Thanks for your help!

1 Like

I have no experience with Firebase, but I think exporting the whole database in CSV and uploading them to Firebase is your best bet.

Glide stores them in their storage and give you URLs. The official positioning of Glide on keeping your files is: “If a Glide-hosted file is referenced in a row and that row is being used in a project — it will not be deleted”. So as long as your app does not get deleted and your file storage isn’t over the limit, they will be kept.

Hence, I believe you can re-use those URLs in your new project, if that answers your question about files.

1 Like

Thank you for you answer.
My issue is: once I downgrade my app, my file storage will immediately be over the limit, which runs the risk of Glide deleting my files. There must be a way to take ownership of these files, right? Glide is not the rightful owner of the files my own users have uploaded. Otherwise people would be stuck into Glide forever!
Thanks.

1 Like

You have the option of using the link to show the image in a browser and then save to other storage. I don’t know how many images you are talking about.

Over 5000 images. Do you know how I could save them to the other storage?

1 Like

Hi! I use very simple method: I use Cloudinary service. it upload every image which user loading glide to cloudinary. Auto upload mapping

3 Likes

Yeah, I agree this is not ideal. Should have a way to mass download images/files tied to a project.

1 Like

Hi, thanks for the suggestion! Can you tell me more about how you use Cloudinary? I’ve had a look at that auto upload mapping feature, and it looks pretty complex for a non-technical person. A tutorial on how to use that feature would be great! Thanks

First- you need to achieve your app glide image directory link:

Just cut the file name and copy the link
image

Second - you need to setup cloudinary to auto upload all newly images from this link
Just write link to URL prefix field

Cloodinary will provide for you your images link

So in remote media tab you can find all images from your glide app

In a upload presets you need to set unique file name to FALSE(this will save originaly file name from glide and you can have access to it

5 Likes

In my case, when user uploading image i take glide link and replace path with cloudinary path just save file name. Then i deleting image in glide and use Cloudinary link with correspond file name.
This method already described in this community just i forgot where.

1 Like

Wow, so you just have to specify the prefix URL and when new public images are uploaded to that “prefix” then they will be automatically uploaded to Cloudinary? Neat trick!

2 Likes

Thank you so much, this is indeed very cool! It could be a useful step for me before I transfer everything to Firebse, the final destination :slight_smile:

The best method I can think of is to export all of your Glide data in your Data Settings, then translate that exported file into a CSV. You can then use a command-line tool like curl to download all of those files. It requires some scripting.

3 Likes

Yes, right!

1 Like

Thanks for sharing!

1 Like