Open Pabloku opened 6 years ago
I'm not sure. It doesn't look like there is anything wrong from your command.
Only advice I have is to try a different firestore project; maybe it's an odd collection name that does not save well to the file system.
Or clone the repo and run devStart-debug --backupPath myBackupPath --restoreAccountCredentials blablabla.json
. To debug, set debugger;
statement before saveDocument
call around line 321 in /lib/index.js
, open chrome://inspect and click on Open Dedicated DevTools for Node and your running instance.
Let us know if you discover the cause!
I think I was trying something that was not supported: restore a backup from json backup... What I finally did was to backup and restore to/from a dummy firebase project that I am using as a "backup store"... But it would be nice to be able to backup/restore to/from a json backup. Thanks!
From a json backup? 🤔 Have you seen https://www.npmjs.com/package/node-firestore-import-export?
Hi! I need you help please
I was trying to restore a recent backup and I am getting this error:
Am I doing anything wrong?
firestore-backup-restore --backupPath myBackupPath --restoreAccountCredentials blablabla.json
Thanks