← Docs

Using your Airtable backup files

Lindenkit is backup and export only. It cannot restore data into Airtable (that would need write access, which we never ask for). The files in your bucket are yours: see the docs on using the JSON and CSV files.

Folder layout

[folder/]lindenkit/<base id>/<YYYY-MM-DD>[/T<HH>00Z]/
  schema.json                         base schema (tables, fields, field options, view names)
  records/<table id>.json              records as the Airtable Web API returned them, fields keyed by field id
  records/<table id>.csv               a spreadsheet view of the same records
  attachments/<table id>.index.ndjson  one line per attachment: key, bytes, SHA-256 (or an error code)
  attachments/<table id>/<record id>/<attachment id>_<file name>
  manifest.json                       record counts and the SHA-256 of every file

The JSON files

Each records/<table id>.json holds a header (table and field ids, names and types) and a records array. Field values are keyed by field id; use the header or schema.json to map ids to names. This is the copy to use for re-importing with your own scripts.

The CSV files

The CSV is for reading in a spreadsheet. Every cell is quoted, and text that starts like a formula (=, +, -, @ and similar) begins with an apostrophe so spreadsheets do not run it. Linked records, attachments and other complex values are flattened to text, so use the JSON for anything you need to rebuild.

Bringing data back into Airtable

Airtable can import CSV files into a new table (Airtable's own import tools). Attachments can be re-uploaded from the files in your bucket. Lindenkit does not do this for you.

Checking a backup

Compare a file's SHA-256 with the value in manifest.json (for example sha256sum on macOS or Linux).