To edit production data, select the production database, open My Data, and turn on Enable Editing. Be careful: this is your live app’s real data.

Browse and modify data visually
In My Data, select Database studio to browse and modify data visually with Drizzle Studio. These visual tools help you avoid syntax errors and offer the following functionality:- Filter and sort data to focus on specific information
- Export data to a file for external use. To export your whole production database, see Export your production database.
- Insert or modify row data
- Create and manage schema, tables, views, and enums
Run SQL commands
The SQL console lets you run SQL commands on your database and view the results.How to access SQL console
How to access SQL console
From the Database tool:
- Select the My Data tab
- Select SQL console
example_value set to 1:

Export your production database
Export your production database to keep your own copy of its data. For example, keep an offline backup or move your data to another service. Choose one of these options:- Download tables from the Database tool: the easiest option. Save one table at a time as a spreadsheet or JSON file, without running any commands.
- Ask Agent to export your data: Agent saves every table as a CSV file for you.
- Export from the Shell: an advanced option that saves a full backup of every table in one file.
Download tables from the Database tool
- In the Database tool, make sure Production Database is selected.
- Open My Data.
- Select the table you want to export.
- Open the menu (⋯) at the top right of the table.
- Select Export all to .csv, Export all to .json, or Export all to .xlsx. The file downloads to your computer, named after the table.

Ask Agent to export your data
Agent can save every table in your production database as a CSV file. It reads production without changing it, so you don’t need a connection string. Paste this prompt into Agent:Prompt
exports folder, select Download folder, and then select Delete.
Export from the Shell
This is the only option that saves a full backup of every table in one file, which you can later restore to another PostgreSQL database.1
Copy your production connection string
In the Database tool, make sure Production Database is selected, open Settings, and select the copy button next to Connection string. When asked, select Copy anyway.

2
Run the export
Open the Shell and follow these steps. They keep your password out of your Shell history.
When the prompt comes back without an error, the export is done. To check, run
- Run
read -rs PROD_URL. The Shell waits without showing anything. - Paste your connection string and press Enter. Nothing appears, which is expected.
- Run the export:

ls -lh production-backup.sql, which shows the file and its size. It’s a text file with your tables and data, so you can open it in any text editor.3
Download the file and clean up
Open the library in the top-right corner of your workspace and select Files. Select the menu (⋮) next to 
Download and delete the file right away, before Agent or a checkpoint saves it to your project history. Finally, close the Shell to clear the connection string you pasted.
production-backup.sql, then select Download. Open the menu again and select Delete, because the file contains all of your production data.
connection to server at "helium" failed
connection to server at "helium" failed
PROD_URL is empty, so pg_dump tried your development database instead. Closing the Shell clears it. Run read -rs PROD_URL again, paste the connection string, press Enter, and rerun the command.pg_dump: command not found
pg_dump: command not found
Your project doesn’t have the PostgreSQL tools installed. Ask Agent to install the PostgreSQL client tools, then run the command again.
Next steps
- Connection details: Connect an external SQL client.
- Data recovery: Undo unwanted data changes.