firebase emulators:start --import ./backup-dir

Category: Firebase & Firestore

firebase emulators:start --import ./backup-dir

Start emulators with previously exported data

Boots the emulators and loads the data previously saved by firebase emulators:export from ./backup-dir, giving you a reproducible starting state such as seeded users or documents. The directory contains the firebase-export.json manifest plus per-emulator data folders. Related: --export-on-exit saves state automatically when you quit.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.