# Files Backed Up by mariadb-backup

{% hint style="info" %}
mariadb-backup was previously called mariabackup.
{% endhint %}

## Files Included in Backup

`mariadb-backup` backs up the files listed below.

### InnoDB Data Files

mariadb-backup backs up the following InnoDB data files:

* [InnoDB system tablespace](/docs/server/server-usage/storage-engines/innodb/innodb-tablespaces/innodb-system-tablespaces.md)
* [InnoDB file-per-table tablespaces](/docs/server/server-usage/storage-engines/innodb/innodb-tablespaces/innodb-file-per-table-tablespaces.md)

### MyRocks Data Files

{% tabs %}
{% tab title="Current" %}
`mariadb-backup` will back up tables that use the [MyRocks](/docs/server/server-usage/storage-engines/myrocks.md) storage engine. This data is located in the directory defined by the [rocksdb\_datadir](/docs/server/server-usage/storage-engines/myrocks/myrocks-system-variables.md#rocksdb_datadir) system variable. `mariadb-backup` backs this data up by performing a checkpoint using the [rocksdb\_create\_checkpoint](/docs/server/server-usage/storage-engines/myrocks/myrocks-system-variables.md#rocksdb_create_checkpoint) system variable.
{% endtab %}

{% tab title="< 10.3.8 to 10.2.16" %}
`mariadb-backup` will back up tables that use the MyRocks storage engine.
{% endtab %}
{% endtabs %}

### Other Data Files

`mariadb-backup` also backs up files with the following extensions:

* `frm`
* `isl`
* `MYD`
* `MYI`
* `MAD`
* `MAI`
* `MRG`
* `TRG`
* `TRN`
* `ARM`
* `ARZ`
* `CSM`
* `CSV`
* `opt`
* `par`

## Files Excluded From Backup

`mariadb-backup` does **not** back up the files listed below.

* [InnoDB Temporary Tablespaces](/docs/server/server-usage/storage-engines/innodb/innodb-tablespaces/innodb-temporary-tablespaces.md)
* [Binary logs](/docs/server/server-management/server-monitoring-logs/binary-log.md)
* [Relay logs](/docs/server/server-management/server-monitoring-logs/binary-log/relay-log.md)

<sub>*This page is licensed: CC BY-SA / Gnu FDL*</sub>

{% @marketo/form formId="4316" %}


---

# 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://mariadb.com/docs/server/server-usage/backup-and-restore/mariadb-backup/files-backed-up-by-mariadb-backup.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.
