# Exports & backups

## Exporting a table

If you want to export a table to another spreadsheet or database, one option is to export that table in CSV format, a common interchange format for data. To do this, open your document to the desired table. Then click the sharing icon (<img src="https://2146076455-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnkD4RCjP1WLRakyVkU17%2Fuploads%2FG2CUt7ifmn4wVroDITb6%2Fimage.png?alt=media&#x26;token=577fdead-90a1-439b-9db5-7f245d358636" alt="" data-size="line">) on the top right of the screen. It opens the menu with sharing and export options. Select "Export CSV".

Your browser will then download a CSV file containing a header row naming your columns, excluding any hidden columns, followed by all the rows of data in the table in text format.

When on a page with multiple page widgets, "Export CSV" will export only the data in the currently-selected widget, to export all your data use the "Export XLSX" option.

## Exporting a document

If you want to export all tables to Excel format, click the sharing icon (<img src="https://2146076455-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnkD4RCjP1WLRakyVkU17%2Fuploads%2FG2CUt7ifmn4wVroDITb6%2Fimage.png?alt=media&#x26;token=577fdead-90a1-439b-9db5-7f245d358636" alt="" data-size="line">) on the top right of the screen and select "Export XLSX".

Your browser will then download an Excel file, where each table is a separate sheet containing all rows, without any filters applied. To use this option you need to have full read access for all tables in a document.

## Backuping up an entire document

Irelia makes regular backups of documents automatically, as described in Automatic Backups. You can also make manual backups by saving copies of documents in your Irelia account.

In addition, Irelia documents can be downloaded in their entirety as an SQLite database file with a `.irelia` extension. SQLite is a popular database format. The downloaded file will contain all your tabular data, any attached files within those tables, metadata about your tables, pages, and widgets, and a history of recent modifications of the document. It will not contain information about who the document is shared with.

To download a Irelia document, click the sharing icon (<img src="https://2146076455-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnkD4RCjP1WLRakyVkU17%2Fuploads%2FG2CUt7ifmn4wVroDITb6%2Fimage.png?alt=media&#x26;token=577fdead-90a1-439b-9db5-7f245d358636" alt="" data-size="line">) on the top right of the screen, and select "Download".


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://ciusji.gitbook.io/irelia/managing-documents/exports-and-backups.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
