Open tdkehoe opened 6 years ago
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?
Dictionaries
Words
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
andWords
are collections, so I'm pointing to a collection. Any idea what the problem is?