英文:
How to backup a full project of firebase
问题
我面临一个问题。我有一个使用Firebase的项目。我在那里使用了Firebase身份验证、Firebase实时数据库、Firebase函数等等。现在我改变了主意。我想要创建自己的服务器,我将在其中设置和管理一切。
因此,我想要备份我的项目,以便将所有数据迁移到其他框架,比如Spring Boot项目。
在这种情况下,我如何获取整个项目?用户身份验证数据、Firebase实时数据库、Firestore等等。
英文:
I am faced a problem. I have a project which is in firebase. I have used there firebase Authenticate, Firebase realtime database, Firebase function and some more. Now I have changed my decision. I want to make my own server where I will set up and manage everything.
So that I want to backup my project to move all data to other framework like spring boot project.
In this situation how can I get the whole project? User Auth data, Firebase Realtime database, Firestore etc.
答案1
得分: 2
你需要编写代码或使用CLI来查询你想要的所有数据,并将其写入你想要的位置。Firebase不提供自动为整个项目执行所有这些操作的工具。你需要分别处理每个产品的数据。
你可以使用Firebase Admin SDK或Firebase CLI来访问你列出的产品的数据。
另请参考:
- https://stackoverflow.com/questions/27910784/is-it-possible-to-backup-firebase-db
- https://firebase.google.com/docs/firestore/manage-data/export-import
- https://firebase.google.com/docs/cli/auth
英文:
You'll have to write code or use the CLI to query all of the data you want, and write it to a place you want. Firebase does not provide a tool to do all this automatically for an entire project. You will need to deal with each product's data separately.
You can use the Firebase Admin SDK or the Firebase CLI to access data from the products you listed.
See also:
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论