FYI — **if you're using D1's new `--experimental-backend` and want to try D1's new Time Travel featu
FYI — if you're using D1's new
--experimental-backend and want to try D1's new Time Travel feature — you now can. This is a work-in-progress but sharing here. This preview branch may break at any time.- You can now use a temporary wrangler branch
npx wrangler@d1 d1 time-travel restore DB_NAME --timestamp=(unix timestamp|RFC3339 timestamp)to restore a database to any minute within the last 30 days. - Our preview documentation is at https://silverlock-d1-time-travel.cloudflare-docs-7ou.pages.dev/d1/learning/time-travel/#docs-content
- For the initial release,
d1 time-travel restore DB_NAMEoverwrites your existing database (with confirmation). In the future, we'll allow you to fork and/or clone to a new DB or over the top of an existing database. - You can read more about Time Travel from our original announcement post back in May: https://blog.cloudflare.com/d1-turning-it-up-to-11/#time-travel
