使用 Datastore Exporting & 导出 Cloud Firestore 数据进口服务? [英] Exporting Cloud Firestore data with Datastore Exporting & Importing service?

查看:15
本文介绍了使用 Datastore Exporting & 导出 Cloud Firestore 数据进口服务?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我注意到 Beta 版中有一项新的 Datastore 功能,导出和导入服务.

I have noticed a new Datastore feature in Beta, Exporting and Importing service.

据我所知,Firestore 在后台运行在 Datastore 上.是否也可以将这项新的导出和导入功能用于 Firestore?

As far as I understand, Firestore runs on Datastore under the hood. Will it be possible to use this new Exporting and Importing feature for Firestore, too?

如果没有,是否有计划创建自定义备份并将其恢复到(不同的)项目中的功能?

If not, is there a feature planned to create custom backups and restore them into a (different) project?

推荐答案

更新: 管理导出和导入可用.

目前没有 Cloud Firestore 的导入/导出服务.我们正在努力解决这个问题,这是我们在取消测试版"标签之前需要做的事情的首要任务.

Right now there is no import/export service for Cloud Firestore. We are working on this, it's at the top of the list of things we need to do before we can drop the "Beta" label.

Firestore 采用与 Datastore 相同的技术是对的,但这两个数据库并不完全相同,这就是您不能使用普通 Datastore 导出的原因.

You're right that Firestore is powered by the same technology as Datastore, but the two database are not exactly the same which is why you can't use plain-old Datastore export.

目前最好的做法是使用 Java、Go、Node.js 或 Python SDK 编写您自己的导入/导出脚本.

For now the best thing to do is to write your own import/export scripts using either the Java, Go, Node.js, or Python SDKs.

这篇关于使用 Datastore Exporting & 导出 Cloud Firestore 数据进口服务?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆