Importing existing data into local emulators
How to export data from production service to a local emulator
The first time emulators are started (and stopped), data is stored in the directory .emulator-data
within emulator
folder.
You can export users, data from Firestore, or Realtime Database from your production service into local emulators by copying it on its corresponding folder within .emulator-data
.
PreviousTesting your functions in the emulatorNextExporting data from Cloud Firestore to local emulator
Last updated