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

**URL:** https://community.glideapps.com/t/can-you-transfer-your-apps-database-storage-to-firebase/49160
**Category:** Ask for Help
**Created:** [September 12, 2022, 6:44pm UTC](https://community.glideapps.com/t/can-you-transfer-your-apps-database-storage-to-firebase/49160 "2022-09-12T18:44:01Z")
**Posts on this page:** 15
**Page:** 1

<div class="post-metadata">

### Author: ![timotheeiss](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/timotheeiss/32/39591_2.png) [@timotheeiss](https://community.glideapps.com/u/timotheeiss)
#### Post date: [September 12, 2022, 6:44pm UTC](https://community.glideapps.com/t/can-you-transfer-your-apps-database-storage-to-firebase/49160/1 "2022-09-12T18:44:01Z")

</div>

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!

---

<div class="post-metadata">

### Author: ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)
#### Post date: [September 13, 2022, 12:20am UTC](https://community.glideapps.com/t/can-you-transfer-your-apps-database-storage-to-firebase/49160/2 "2022-09-13T00:20:13Z")

</div>

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

> [@timotheeiss](#):
>
> What about images? Any idea how Glide stores them and how they could be stored directly in my Firebase?

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.

---

<div class="post-metadata">

### Author: ![timotheeiss](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/timotheeiss/32/39591_2.png) [@timotheeiss](https://community.glideapps.com/u/timotheeiss)
#### Post date: [September 13, 2022, 1:36pm UTC](https://community.glideapps.com/t/can-you-transfer-your-apps-database-storage-to-firebase/49160/3 "2022-09-13T13:36:17Z")

</div>

> [@ThinhDinh](#):
>
> So as long as your app does not get deleted and your file storage isn’t over the limit, they will be kept.

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.

---

<div class="post-metadata">

### Author: ![David\_Gabler](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/david_gabler/32/44332_2.png) [@David\_Gabler](https://community.glideapps.com/u/David_Gabler)
#### Post date: [September 13, 2022, 2:44pm UTC](https://community.glideapps.com/t/can-you-transfer-your-apps-database-storage-to-firebase/49160/4 "2022-09-13T14:44:11Z")

</div>

> [@timotheeiss](#):
>
> my file storage will immediately be over the limit

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.

---

<div class="post-metadata">

### Author: ![timotheeiss](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/timotheeiss/32/39591_2.png) [@timotheeiss](https://community.glideapps.com/u/timotheeiss)
#### Post date: [September 13, 2022, 4:55pm UTC](https://community.glideapps.com/t/can-you-transfer-your-apps-database-storage-to-firebase/49160/5 "2022-09-13T16:55:43Z")

</div>

> [@David\_Gabler](#):
>
> 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?

---

<div class="post-metadata">

### Author: ![slscustom.ru](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/slscustom.ru/32/77336_2.png) [@slscustom.ru](https://community.glideapps.com/u/slscustom.ru)
#### Post date: [September 13, 2022, 6:51pm UTC](https://community.glideapps.com/t/can-you-transfer-your-apps-database-storage-to-firebase/49160/6 "2022-09-13T18:51:00Z")

</div>

> [@timotheeiss](#):
>
> Do you know how I could save them to the other storage?

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

---

<div class="post-metadata">

### Author: ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)
#### Post date: [September 14, 2022, 12:33am UTC](https://community.glideapps.com/t/can-you-transfer-your-apps-database-storage-to-firebase/49160/7 "2022-09-14T00:33:07Z")

</div>

> [@timotheeiss](#):
>
> 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?

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

---

<div class="post-metadata">

### Author: ![timotheeiss](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/timotheeiss/32/39591_2.png) [@timotheeiss](https://community.glideapps.com/u/timotheeiss)
#### Post date: [September 14, 2022, 12:51pm UTC](https://community.glideapps.com/t/can-you-transfer-your-apps-database-storage-to-firebase/49160/8 "2022-09-14T12:51:52Z")

</div>

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

---

<div class="post-metadata">

### Author: ![slscustom.ru](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/slscustom.ru/32/77336_2.png) [@slscustom.ru](https://community.glideapps.com/u/slscustom.ru)
#### Post date: [September 15, 2022, 2:10pm UTC](https://community.glideapps.com/t/can-you-transfer-your-apps-database-storage-to-firebase/49160/9 "2022-09-15T14:10:35Z")

</div>

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

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/0/5/05fce1e2fab94250e706a41246d76ad94611e58a.png)

Just cut the file name and copy the link  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/5/c/5c2f36a9ad1ee70e368c5f412df0eca1f9c27879.png)

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

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/c/3/c38d3bb3f9db2155176344800d11f676b620ee20.png)

Cloodinary will provide for you your images link

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/d/3/d39a8b03b219349e8853086e18cbac5b76cd1a47.png)

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

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/e/0/e041a1ed4f3d28016184acfe2c19a16b7edc193d.jpeg)

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

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/c/6/c608d71a656d2fe17409f8642fbf97bec4c719cb.png)

---

<div class="post-metadata">

### Author: ![slscustom.ru](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/slscustom.ru/32/77336_2.png) [@slscustom.ru](https://community.glideapps.com/u/slscustom.ru)
#### Post date: [September 15, 2022, 2:18pm UTC](https://community.glideapps.com/t/can-you-transfer-your-apps-database-storage-to-firebase/49160/10 "2022-09-15T14:18:15Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)
#### Post date: [September 16, 2022, 12:14am UTC](https://community.glideapps.com/t/can-you-transfer-your-apps-database-storage-to-firebase/49160/11 "2022-09-16T00:14:40Z")

</div>

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!

---

<div class="post-metadata">

### Author: ![timotheeiss](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/timotheeiss/32/39591_2.png) [@timotheeiss](https://community.glideapps.com/u/timotheeiss)
#### Post date: [September 16, 2022, 5:02pm UTC](https://community.glideapps.com/t/can-you-transfer-your-apps-database-storage-to-firebase/49160/12 "2022-09-16T17:02:35Z")

</div>

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 🙂

---

<div class="post-metadata">

### Author: ![david](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/david/32/62831_2.png) [@david](https://community.glideapps.com/u/david)
#### Post date: [September 16, 2022, 8:08pm UTC](https://community.glideapps.com/t/can-you-transfer-your-apps-database-storage-to-firebase/49160/14 "2022-09-16T20:08:11Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![slscustom.ru](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/slscustom.ru/32/77336_2.png) [@slscustom.ru](https://community.glideapps.com/u/slscustom.ru)
#### Post date: [September 17, 2022, 7:57am UTC](https://community.glideapps.com/t/can-you-transfer-your-apps-database-storage-to-firebase/49160/15 "2022-09-17T07:57:01Z")

</div>

> [@ThinhDinh](#):
>
> 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?

Yes, right!

---

<div class="post-metadata">

### Author: ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)
#### Post date: [September 17, 2022, 9:12am UTC](https://community.glideapps.com/t/can-you-transfer-your-apps-database-storage-to-firebase/49160/16 "2022-09-17T09:12:10Z")

</div>

Thanks for sharing!
