更新时间:2022-12-03 15:53:25
当前,对于Firestore,您将必须编写自己的代码来查询要复制的文档,然后将其添加到另一个数据库中.没有可用于简化此操作的导入/导出功能.Firestore团队正在努力使将来的工作变得更容易.
Currently, for Firestore, you will have to write your own code that queries for the documents you want to copy, then adds them to the other database. There is no import/export functionality you can use to make this easier. The Firestore team is working on making this easier in the future.
对于Cloud Storage,有一个名为 gsutil 的命令行实用程序可以进行复制文件到存储桶之间以及从存储桶中取出文件.
For Cloud Storage, there is a command line utility called gsutil that makes copying files to and from storage buckets easier.