Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • 1
    This actually works! The only quirk I came across is exporting Firestore - it wouldn't export my collection contents - just an empty collection. I left off the -collection-ids flag and just exported everything and it worked Commented Jul 7, 2020 at 23:10
  • 2
    Exporting only the database can be quite useless without authentication userdata. To do so use in your local project terminal: % firebase auth:export accounts.json --format=json. See also: firebase.google.com/docs/cli/auth Commented May 22, 2021 at 16:41
  • 2
    Small note: In step #4, the entire command is firebase emulators:export ./mydirectory. I know it's obvious, but I did get confused for a minute. Commented Dec 8, 2021 at 12:47