Managed Delta table: time travel blocked after automatic VACUUM

vidya_kothavale
Contributor

Hi,

On a managed Delta table  I get:

SELECT * FROM abc VERSION AS OF 25;

Error:

DELTA_UNSUPPORTED_TIME_TRAVEL_BEYOND_DELETED_FILE_RETENTION_DURATION
Cannot time travel beyond delta.deletedFileRetentionDuration (168 HOURS).

Audit logs show VACUUM START/END executed by a service principal (GUID userName); I never ran VACUUM manually. Table properties don’t explicitly set delta.deletedFileRetentionDuration, and Predictive Optimization is enabled (inherited).

Questions:

  1. What Databricks feature/job is triggering this automatic VACUUM on managed tables?
  2. How can I override/disable this for specific tables (e.g. increase retention or opt out)?
  3. Once this error appears, is recovery of that old version only possible (its managed table)?
    How should I back up a managed Delta table so I can recover older versions even after VACUUM (e.g. copy table)?
    Also, in my workspace only one managed table is hitting the  time‑travel error, while other tables are fine. Why would automatic VACUUM/retention affect this single table but not the others?