What I want is to clone a project that I have in Firebase and create another project that is the same but with another Google account. I have full access to both accounts. Is this possible?
Then I am following the following documentation to export and then import data into Firestore: https://firebase.google.com/docs/firestore/manage-data/export-import
So -in the gloud console- I tried the following in the original project (Storage):
gcloud beta firestore export gs://punkutravel.appspot.com
and I get:
outputUriPrefix: gs://punkutravel.appspot.com/2019-10-27T17:09:39_35393
All good.
So then I want to import that data into another project (with another account)
and I execute the following:
gcloud beta firestore import gs://punkutravel.appspot.com/2019-10-27T17:09:39_35393
and I get the following error:
ERROR: (gcloud.beta.firestore.import) NOT_FOUND: Project 'anqasky-5861e' does not exist.
I have even assigned the permission to the source account and vice versa, but it still hasn't worked out.
I had the same problem and finally I've figured out the solution.
SOLUTION: You need to go to your Firebase console console.firebase.google.com
And you have to pick Datastore type before you can import something.
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