---
metadata:
  - name: generator
    content: Diplodoc Platform v5.50.4
alternate:
  - https://ydb.tech/docs/en/reference/ydb-cli/export-import.md
  - https://ydb.tech/docs/ru/reference/ydb-cli/export-import.md
sourcePath: en/core/reference/ydb-cli/export-import/index.md
---
> **Documentation Index:** Fetch the complete configuration index at https://ydb.tech/docs/en/llms.txt

<!-- source: en/reference/ydb-cli/export-import/_includes/index.md -->
# Exporting and importing data

The YDB CLI contains a set of commands designed to export and import data and descriptions of data schema objects. Data can be exported to create backups for subsequent recovery and for other purposes.

- [The export file structure](https://ydb.tech/docs/en/reference/ydb-cli/export-import/file-structure.md) is used for exporting data both to the file system and S3-compatible object storage.
- [Exporting cluster' metadata to the file system using `admin cluster dump`](https://ydb.tech/docs/en/reference/ydb-cli/export-import/tools-dump.md#cluster)
- [Importing cluster' metadata from the file system using `admin cluster restore`](https://ydb.tech/docs/en/reference/ydb-cli/export-import/tools-restore.md#cluster)
- [Exporting database' metadata and data to the file system using `admin database dump`](https://ydb.tech/docs/en/reference/ydb-cli/export-import/tools-dump.md#db)
- [Importing database' metadata and data from the file system using `admin database restore`](https://ydb.tech/docs/en/reference/ydb-cli/export-import/tools-restore.md#db)
- [Exporting individual schema objects to the file system using `tools dump`](https://ydb.tech/docs/en/reference/ydb-cli/export-import/tools-dump.md#schema-objects)
- [Importing individual schema objects from the file system using `tools restore`](https://ydb.tech/docs/en/reference/ydb-cli/export-import/tools-restore.md#schema-objects)
- [Connecting to and authenticating with S3-compatible object storage](https://ydb.tech/docs/en/reference/ydb-cli/export-import/auth-s3.md)
- [Exporting data to S3-compatible object storage using `export s3`](https://ydb.tech/docs/en/reference/ydb-cli/export-import/export-s3.md)
- [Importing data from S3-compatible object storage using `import s3`](https://ydb.tech/docs/en/reference/ydb-cli/export-import/import-s3.md)
<!-- endsource: en/reference/ydb-cli/export-import/_includes/index.md -->
