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?
To export the data for a report, at the top of the page, click Export > CSV.
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.
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.
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With