You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 15, 2021. It is now read-only.
Is it possible to add a feature where I run firestore-import-export as a cronjob, So that it reads only what is changed since the last update and update the file with the same documents? Instead of reading the thousands of documents each time I run it.
The text was updated successfully, but these errors were encountered:
@Prathik-Jain I think the best solution for this is to run your firestore-import-export as a Firebase Cloud Function to listen for changes in the collections and export a new file with changes (or update an already created file).
@Prathik-Jain The free-tier for the Firebase Cloud Functions is pretty big. If you listen for insertions / changes at each document that get added / updated, you can update some kind of batch file on Cloud Storage that can be read from time to time by a cron **cloud function** to generate the new file based on the saved / batched.
Makes sense?
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Is it possible to add a feature where I run
firestore-import-export
as a cronjob, So that it reads only what is changed since the last update and update the file with the same documents? Instead of reading the thousands of documents each time I run it.The text was updated successfully, but these errors were encountered: