EddytorDocs & API
07 · Tables A→ZI · Version, time-travel & recover

Rollback vs restore

Two ways back - by version number or by timestamp - both destructive. Which to use.

rollback_table and restore_table both return a table to an earlier state. The only difference is how you name the target.

RollbackRestore
TargetVersion number (version=41)UTC timestamp ("2026-06-15T14:30:00Z")
Use whenYou know the exact good versionYou know roughly when it was good
Find it viaget_table_history version columnhistory timestamp column
Destructive?Yes - discards versions after the targetYes - discards versions after the target
InterfaceCLI · MCP · Web UICLI · MCP · Web UI

They both truncate forward

Heads up

Neither is a soft "new commit on top" - both discard the versions after the target. So the choice is purely about whether you have a version number or a timestamp. Always check the history, confirm, and validate afterward.

Pick one

  • You diffed two versions and know v40 was goodrollback_table(table, version=40).
  • A bad batch ran "sometime this morning" and you know the timerestore_table(table, timestamp="…Z").

What neither can do

  • Recover a dropped table - drop_table deletes the data and the Delta log, so there's no history to roll back to. Rollback and restore work only on a table that still exists.
  • Reach past vacuum - pruned files make older versions unreachable (default retention 168h / 7 days).

Next

On this page