How do I build a stage version of my Firebase app?

And then if you want, you can have staging / hosting previews etc

And switch between projects using firebase use

My use case is that I want to use a staging site as a beta preview for my app

Then port all data to production when I’m ready to launch

But even if I can’t do that, I guess I can try these methods to simply get a staging site up

Just be careful, that all of backup/restore == reads and writes on both ends

Just don’t understand why there isn’t a “clone project” button in the UI… or even why I can’t just export / import things from the Firebase console. It makes managing the actual deployment of an app very cumbersome.

I tried exporting my firestore to a bucket and then importing into the other project’s bucket via the google cloud platform UI but it just doesn’t work

I can’t see the production buckets in the staging project

Because its not just one project/service

Its multiple GCP products combined and they are called firebase

You can do same things using gcloud+scripts

But it will be more expensive and tedious

Export/import firestore works great…done it many times

Specially with local emulator

I will set up my project with firebase tools and see if I can get it working that way

If there are some simple CLI commands I can use to do this with that then great

Will send commands in PM