> For the complete documentation index, see [llms.txt](https://fmtc.jaffaketchup.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://fmtc.jaffaketchup.dev/usage/import-export/exporting.md).

# Exporting

The `export()` method copies the stores, along with all necessary tiles, to an archive at the specified location (creating it if non-existent, overwriting it otherwise), in the FMTC (.fmtc) format.

{% hint style="warning" %}
The specified stores must contain at least one tile.
{% endhint %}

{% hint style="warning" %}
Archives are backend specific. They cannot necessarily be imported by a backend different to the one that exported it.
{% endhint %}

{% embed url="<https://pub.dev/documentation/flutter_map_tile_caching/latest/flutter_map_tile_caching/RootExternal/export.html>" %}

```dart
await FMTCRoot.external('~/path/to/file.fmtc').export(['storeName']);
```
