D1 Databases
CF Dash lets you manage Cloudflare D1 (serverless SQL) databases from the Compute tab.
Open D1
- Open the Compute tab.
- 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
- Open a database and tap the Query action.
- Write your SQL in the console and run it.
- See the results inline.
Import SQL
You can import a .sql dump to load data into a database:
- On the database detail page, tap Import.
- Provide the SQL file URL.
- 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.