Skip to content

Export your database: one click, one zip

Export database… builds one zip with the structure, every record and every attachment, downloaded in the same request. What's inside, and the curl line.

Updated November 2026

In Tabla an export is one action that produces one file, right away. Click Export database…, the zip is built, and your browser downloads it as Sakkara Plants-export.zip. You don't wait for an email with a link or check back on a job. The file holds the entire database: its structure, every record of every table, and the attachment files themselves.

It works this way because the export is an ordinary read, served by the same API that serves the screen.

Where to find it

  1. Click the database name in the top bar.
  2. Near the bottom of the menu, click Export database….

The database menu scrolled to its action items (Share…, Export database…, Delete database…), with Export about to be clicked.

While the zip is being built, the item reads Exporting… with a spinner, and then your browser downloads the file. Every member can export, viewers included, and the export has every field, since hiding a field changes how a view looks and doesn't limit what a member may read.

What's inside

manifest.json describes the structure. It lists every table, and every field with its type, settings and description. It also has select choices with their colors, which fields link to which tables, the expressions behind formula, lookup and rollup fields, and every saved view with the filters, sorts, grouping, hidden fields and color rules it holds. The database's webhooks and forms are in it too, with their settings but not the secrets that open them.

One CSV per table holds the records. Each is written in UTF-8 with a byte-order mark so accents and umlauts arrive intact (a German Excel needs one extra step to split it into columns), and computed columns hold their values as of export time. comments.csv holds every comment on every record. attachments/ holds every file, and attachments.csv maps each one to its record. A README.txt explains the layout to anyone who opens the zip with no other context. The full field-by-field reference, covering the CSV shapes, how links and dates are written, and enough to rebuild the database elsewhere, is Inside the export file.

The README ends by naming what stays in Tabla. That's who the database is shared with, its public view links and form links, webhook signing secrets and the delivery history, a form's logo and cover image, each record's own history of who made and changed it and when (a Created time, Last modified time or Created by field carries those facts as a column of its own), and anything in the trash. API keys belong to people and not to a database, so no export includes one. A webhook's address is in the zip, in full, because a restore needs it. A Make or n8n address works as a key on its own, so keep the zip as private as the data in it. A viewer's export contains what a viewer can see, so it has no comments, webhooks or forms.

Bringing it back

To bring the zip back into Tabla, choose New database → Restore an export, then pick the zip. It's rebuilt as a new database with a name like "Shop (restored)" and with its tables, fields and their descriptions, records, links, files, comments and views, in its own time zone and with its own color and mark. Formulas, lookups and rollups are rebuilt and calculate again.

Its webhooks and forms arrive switched off. A form is switched off before anything else is set on it, so a restore never starts posting to your automations or opens a public form by itself. Turn on the ones you want. A restored form has a new link, and you put its logo and cover back by hand.

Nothing you already have is changed. When the restore finishes, it names anything in the zip that couldn't come back. A record left out is named by its first value, along with the links, files and comments that went with it. Every record is created anew, so a Created time, Last modified time, Created by or Autonumber field starts over from the restore, holding when and by whom the restore made each record and numbered in the order it went. The list at the end names each of these fields, and the zip's CSVs keep the original values. The restore runs in your browser, so keep the tab open until it's done.

An export made before 2026-10-31 restores everything except the links between records. Those exports carried links by name only, and the restore says so. And an export from before field descriptions were added to the zip brings none back, with its forms' closed message empty and Email each submission on.

One view, as a CSV

When someone asks "can I have this in a spreadsheet?" they usually want one view, not the entire database. Open the view switcher and choose Download CSV. The file is that view: the records its saved filter selects, in its saved sort, with the fields it shows in the order it shows them and none of the ones it hides, and id first. It's named after the table and the view, like Orders - Unpaid.csv. Any member can download one, viewers included, and a script can fetch the same file from GET /api/views/<id>/csv.

It's written the same way as the zip's CSVs. That means UTF-8 with a byte-order mark, commas between values, dates as ISO 8601 (2026-07-31, and date-and-time values as UTC instants ending in Z), and amounts and percentages as plain numbers with a decimal point, like 1500.5, with no currency sign or thousands separator. An attachment field holds file ids, and the files themselves come with the full zip. Inside the export file has every cell shape.

Opening a CSV in Excel

Where Excel's region uses a decimal point (the US, the UK), double-clicking the file splits it into its columns. A German Excel splits a double-clicked CSV on semicolons instead, so a comma-separated file ends up in a single column. Import it this way:

  1. Data → From Text/CSV (Daten → Aus Text/CSV), and pick the file.
  2. Set File Origin to 65001: Unicode (UTF-8) and Delimiter to Comma.
  3. To have 12.5 read as twelve and a half, tell Excel the file's convention. Before importing, choose English (United States) under Data → Get Data → Query Options → Current Workbook → Regional Settings. Or, for one column, choose Transform Data and then Change Type → Using Locale on its header.

Whatever your region, if a file holds codes (an ID with leading zeros, a long reference number), import it this way and set those columns to Text before loading. Otherwise Excel turns them into numbers.

The API

The button sends a plain GET request, so a script can do the same thing the click does:

curl -fsSL -o backup.zip \
  -H "Authorization: Bearer key_xxxx.your-secret" \
  https://tabladb.com/api/databases/db_rci9p7iggin5/export

Keep the -f. Without it, a refused request (a revoked key, or an export already running) still counts as a success to cron, and the error message is saved as backup.zip. With it, curl fails and saves nothing.

The response is the zip itself, with the filename in the Content-Disposition header. Like a view's CSV, it's marked no-store so no browser or proxy keeps a copy. A weekly cron line running this one request gives you your own off-site backup, which is a good habit even if you never leave. The API reference documents the route with the others.

Good to know

  • One export at a time per account. If you ask for a second (of this database or another in the same account) while one is still building, you get a 429: "Another export from this database's account is still running. One at a time — try again when it finishes." Tabla builds two at once across the service, so in a busy minute a request can also be asked to come back in a moment.
  • Comments need editor rank. A viewer can't read comments in the app, so comments.csv isn't in a viewer's zip, and the README leaves out the description of a file that isn't there.
  • The trash stays in Tabla. A table, a field or a record in the trash isn't in the zip, and a record there keeps its files and comments with it. Restore what you want exported first. You have seven days to do it.
  • Attachments stop at your storage limit. An account inside its storage limit exports every file it has. Past that limit, files are written oldest first until the budget runs out, and the rest come out as metadata rows in attachments.csv, with a note in the README naming them. The reference has the details.
  • Timestamps are UTC. Date-and-time columns are written as UTC instants (the same values the API returns), so a date and time imports back as the same instant, even though a spreadsheet may show a different clock than the database's time zone does.

Our reasons for putting all of this behind one click are on /your-data, and Leaving Tabla goes through every step of moving out.

About Tabla

Tabla is a no-code database with Postgres underneath. Every feature is on every plan, you get a million records per database, and you can export your whole database in one file any day.

More guides