Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Argument "collectionPath" must point to a collection, but was "${collectionPath}" #49

Open
tdkehoe opened this issue Aug 23, 2018 · 0 comments

Comments

@tdkehoe
Copy link

tdkehoe commented Aug 23, 2018

My backup looks great on my hard drive, thanks. But when I tried to restore a collection (not the entire database) I used this command:

firestore-backup-restore --backupPath /Users/TDK/LanguageTwo/backups/firestore/Dictionaries/Chinese/Words/ --restoreAccountCredentials /Users/TDK/LanguageTwo/myproject-firebase-adminsdk-qwerty12345.json

I got this error message:

Argument "collectionPath" must point to a collection, but was "${collectionPath}". Your path does not contain an odd number of components.

Dictionaries and Words are collections, so I'm pointing to a collection. Any idea what the problem is?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant