D1 Databases

CF Dash lets you manage Cloudflare D1 (serverless SQL) databases from the Compute tab.

Open D1

  1. Open the Compute tab.
  2. Switch to the D1 sub-tab to see your databases.

Database Details

Tap a database to open its detail page, which shows:

  • The database name and ID
  • Queries and analytics (requests, latency)
  • Time-Travel — browse and restore database backups by timestamp.

Run a Query

  1. Open a database and tap the Query action.
  2. Write your SQL in the console and run it.
  3. See the results inline.

Import SQL

You can import a .sql dump to load data into a database:

  1. On the database detail page, tap Import.
  2. Provide the SQL file URL.
  3. CF Dash downloads the dump and imports it into the database.

Managing D1 databases (query, import, time-travel) is a Pro feature.

Time-Travel Backups

D1 automatically keeps backups. In the database detail page you can:

  • View available backup points and their timestamps.
  • Restore the database to a chosen point in time.

Use this to recover from accidental destructive queries.