Open
Description
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) => {
console.log(Object.keys(data[collectionToExport]).length);
fs.writeFileSync(collectionToExport + '.json', JSON.stringify(data));
});
When I run the export, I get this error message:
FAILED_PRECONDITION: The requested snapshot version is too old.
Is there any solution to this?
Metadata
Metadata
Assignees
Labels
No labels
Activity