firestore-backup-restore
firestore-backup-restore copied to clipboard
NPM package for backup and restore Firebase Firestore
Hello! I'm trying to import a date field with nanoseconds, the problem is, when I query the data from Firestore I always get 0 nanoseconds. I'm using v1.1.0. My client...
I had an older version of this package, v0.10.0, I made a backup (took a couple of hours but worked, the database is quite large) I upgraded to v1.0.0 and...
Closes #110 (i hope)
Hello there, is there any way can print out the log while doing backup and restore ? Because my backup usually take very long time and it will be good...
Basically I want to shallow export my collections. so I have a products top collection and in each document there is a history sub collection. so I would like to...
Given an exported data as follows: ```ts const data = { collection1: { docId: { refArray: [ {path:'collection1/document1-ref'}, {path:'collection2/document2-ref'} ] } } } ``` the `refArray` field gets parsed into...
I try to export a large collection. The code I use, to do the export looks like this: ``` firestoreService.initializeApp(serviceAccount); const collectionToExport = 'intensityDetails'; firestoreService .backup(collectionToExport) .then( (data) => {...
I just exported an collection and try to import it but when I do the geopointers are numbers and not as geopointer my import code: `restore('export.json', { dates: [], geos:...
**There is no key "databaseURL" in "servicceAccount"** => This affects to Initialize App when import Json to Firestore in my case. --------------------------------------------------------------------------------------------------------- ``` export const initializeApp = (serviceAccount: object, name...
There is any flag/attribute/command to clear the collection prior to a restore?