I have an app in production with backups scheduled daily using the method described in the firebase docs:
Export all documents from a firestore database
I also have some Cloud Function triggers watching certain collections in the firestore database for onCreate, onUpdate, onWrite and onDelete events.
If I were to import the backup to the same project (to restore data to a previous state) at some point in the future, would the import trigger the cloud function events?
It seems right now that it doesn't trigger onWrite triggers. Just tested simple collection export and import with triggers that writes data to BigQuery. Manual changes to collection triggers onWrite and data is written to BQ. I was using gcloud beta firestore import / export features.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With