如何备份Firebase的完整项目。

huangapple go评论46阅读模式
英文:

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 SDKFirebase CLI来访问你列出的产品的数据。

另请参考:

英文:

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:

huangapple
  • 本文由 发表于 2023年6月2日 01:22:54
  • 转载请务必保留本文链接:https://go.coder-hub.com/76384304.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定