Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Exporting Cloud Firestore data with Datastore Exporting & Importing service? [duplicate]

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

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?

like image 840
Ani Avatar asked Oct 05 '17 11:10

Ani


People also ask

How do I export data from firebase to CSV?

To export the data for a report, at the top of the page, click Export > CSV.

How do I export data from Google Cloud Storage?

In the Explorer panel, expand your project and dataset, then select the table. In the details panel, click Export and select Export to Cloud Storage. In the Export table to Google Cloud Storage dialog: For Select Google Cloud Storage location, browse for the bucket, folder, or file where you want to export the data.

What is the difference between cloud Datastore and Cloud firestore?

Cloud Firestore—a document-oriented database storing key-value pairs. Optimized for small documents and easy to use with mobile applications. Cloud Datastore—a document database built for automatic scaling, high performance, and ease of use.

Is Datastore the same as firestore?

Firestore is the newest version of Datastore and introduces several improvements over Datastore. Existing Datastore users can access these improvements by creating a new Firestore in Datastore mode database instance.


1 Answers

Update: Managed Export and Import is available.

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.

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.

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.

like image 178
Sam Stern Avatar answered Oct 02 '22 19:10

Sam Stern