willhlaw / node-firestore-backup-restore

Google Firebase Firestore backup and restore tool
91 stars 24 forks source link

Not able to restore when data is backed up using -J -S flags #46

Open ptyagicodecamp opened 6 years ago

ptyagicodecamp commented 6 years ago

I'm using firestore-backup-restore --accountCredentials <key.json> --backupPath <backup_dir> --prettyPrint -J --stable to back up Firestore. It works great ! However, Restoring it using this command firestore-backup-restore --backupPath <backup_dir> --restoreAccountCredentials <key.json>, fails to restore data back to Firestore. It gives Unsupported type, undefined from ... error in restoring logs.

mgs96 commented 6 years ago

I'm having the same issue, I have node v8.11.3 and npm npm 5.6.0