jloosli/node-firestore-import-export

deadlineExceeded on export with --prettyPrint

morariu opened this issue · 1 comments

Expected behavior

Expected to export data from a single node (collection) and save locally to a json file - in prettyPrint format

Actual behavior

Long time to process, after approximately 30 minutes it returns several errors, most obvious being deadlineExceeded

Steps to reproduce the behavior

firestore-export --accountCredentials credentials.json --backupFile userProfilesPretty.json --nodePath /userProfiles/ --prettyPrint

Database is not that large, approximately 40k rows.

Update: this was due to my slow network connection.
Solution: I've created a cloud instance in the firestore region and ran the backup from there. It worked fine.