> ## Documentation Index
> Fetch the complete documentation index at: https://docs.nohead.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Export and import

> nohead export, nohead import.

Every command also takes the [global options](https://docs.nohead.io/cli/commands/global-options.md), such as `--json`.

## `nohead export`

Export the project's schema and records to a directory.

```bash theme={null}
nohead export [options]
```

| Option | |
| - | - |
| `--output <dir>` | Directory to write (created if needed) |
| `--include-history` | Also export every record's revisions. |
| `--include-deleted` | Also export deleted records. |
| `--include-files` | Also download every asset's original file. |

## `nohead import`

Import an export into the project: schema first, then records (re-runnable for 24 hours)

```bash theme={null}
nohead import [options] <dir>
```

| Argument | |
| - | - |
| `<dir>` | A directory written by nohead export. |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.