strangeQuirks
strangeQuirks

Reputation: 5920

How to view the backup for a Firebase Firestore

I created an export of my data (3 collections) in Firebase Firestore which ends up looking like this: Backup

This is seen under: https://console.cloud.google.com/storage/browser

Now I have tried to import this data using Google BigQuery but I am not sure which of these outputs to use.

How can I view the data here? I basically want to verify that this export actually has data from my collections as it is not so obvious. Or is there something I am doing wrong with my export?

I basically ran this command: gcloud firestore export gs://[MyBucketName]

Upvotes: 5

Views: 1748

Answers (2)

Renaud Tarnec
Renaud Tarnec

Reputation: 83103

Depending on how detailed you want (or not) to verify the export, you could import it into another Cloud Firestore database.

This would be interesting if you just want to verify the export through some spot checks (i.e. checking a random limited number of documents and collections).

Upvotes: 4

Juancki
Juancki

Reputation: 1872

If you want to inspect the exported data with BigQuery you can follow the guide in [1].

[1] https://cloud.google.com/bigquery/docs/loading-data-cloud-firestore

Upvotes: 1

Related Questions