Appearance
Export and import
You can export the content of a notebook as a file, and use an exported file to restore pages or create a new notebook. Exported files can be used as backups or with the Codatum CLI.
Export
From the notebook screen menu > Export, you can export in the following formats.
| Menu | Format | Description |
|---|---|---|
| Export | .yml | Exports the notebook as a file. |
| Export as markdown | .cnb.md | A notebook file format usable with the Codatum CLI (available in workspaces where the Codatum CLI is enabled). |
| Export as SQL files | .zip | Exports SQL blocks as .sql files. See the README.md in the output for details. |
| Export as dbt project | .zip | Exports SQL blocks as a dbt project. See the README.md in the output for details. |
Import
You can import an exported .yml file in either of the following ways.
- From the folder tree in the left sidebar of the notebook list, select Add notebook or folder > Import from file (imports as a new notebook).
- From the notebook screen menu > Import pages (adds pages to an existing notebook; requires edit permission on the notebook).
TIP
If a notebook has become uneditable because it exceeds the size limit, you can export it and import only the pages you need into a new notebook to keep editing.