willhlaw / node-firestore-backup-restore

Google Firebase Firestore backup and restore tool

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Remove --backupPath from being required when cloning from one Firestore to another

willhlaw opened this issue · comments

When cloning data from from Firestore in --accountCredentials to Firestore specified in --accountRestoreCredentials, --backupPath is still needed or you get an error. The backup path should not be required.

  • "Missing: backupPath - Path to store backup" condition is removed
  • Clone operation* can run without requiring --backupPath

*Clone operation

firestore-backup-restore --accountCredentials path/to/account/credentials/file.json --restoreAccountCredentials path/to/restore/credentials/file.json