Database / Snowflake Interview Questions
What is Fail-safe in Snowflake and how does it differ from Time Travel?
Fail-safe is an additional 7-day data protection period that begins after a table's Time Travel retention window expires. It is Snowflake's last-resort disaster recovery safety net — but unlike Time Travel, it is not accessible to customers directly. Only Snowflake Support personnel can initiate a Fail-safe recovery, and only for genuine disaster scenarios.
| Dimension | Time Travel | Fail-safe |
|---|---|---|
| Who can access | The account owner / any authorized user | Snowflake Support only |
| Retention duration | 0–90 days (configurable per object) | Fixed 7 days (not configurable) |
| Trigger | AT/BEFORE syntax; UNDROP command | Support ticket to Snowflake |
| Use case | Accidental DML recovery, cloning, historical analysis | Data centre-level disaster recovery |
| Applies to | Permanent tables, schemas, databases | Permanent tables only |
| Transient/temp tables | 0 or 1 day | 0 days (no Fail-safe) |
| Storage cost | Yes — old micro-partitions billed | Yes — same rate as active storage |
A practical implication: after you drop a table and the Time Travel window closes, you cannot recover it yourself. If the data is critical, open a Snowflake Support case within the 7-day Fail-safe window before it expires permanently.
More Related questions...