npx wrangler d1 time-travel restore my-db --timestamp 2026-08-01T12:00:00Z

Category: Cloudflare

npx wrangler d1 time-travel restore my-db --timestamp 2026-08-01T12:00:00Z

Restore a D1 database to a point in time

Rewinds the database to the state it had at the given timestamp, overwriting everything written since. Destructive to current data, so confirm the timestamp with `wrangler d1 time-travel info` first and export a snapshot if you need the newer data. Prefer --bookmark over --timestamp for exact restore points.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.