-->
Point in Time Recovery (PITR) allows users to restore documents to a specific state at a given timestamp. This is useful for recovering accidental modifications or deletions, maintaining data integrity, and providing historical traceability.
Cloud Firestore PITR keeps versions of documents for up to 7 days. It does not impact performance for databases following best practices.
PITR maintains historical snapshots of documents. You can pick a specific timestamp to view and restore data as it was at that moment.
earliestVersionTime
field indicates the earliest recoverable timestamp.This is the most direct way to restore a single document:
This method is useful for bulk review and restoration of multiple documents:
Previous
Moving a Collection in FirestoreNext
Dashboard Overview