---
metadata:
  - name: generator
    content: Diplodoc Platform v5.71.0
alternate:
  - https://ydb.tech/docs/en/reference/ydb-cli/export-import/index.md?version=v26.3
  - https://ydb.tech/docs/ru/reference/ydb-cli/export-import/index.md?version=v26.3
  - href: https://ydb.tech/docs/en/reference/ydb-cli/export-import/index.md?version=v26.3
    type: text/markdown
    title: Markdown version
  - href: https://ydb.tech/docs/en/llms.txt?revision=962422e645f28cc9d83f45f9bb5846da6ee2ca46&version=v26.3
    rel: describedby
sourcePath: en/core/reference/ydb-cli/export-import/index.md
---
> **Documentation capabilities:** Search, read sources, and browse this documentation: [agent guide](https://ydb.tech/docs/docs-api/agent/overview?project=ydb-platform--ydb&lang=en&version=v26.3).

> **Documentation Index:** Fetch the complete configuration index at https://ydb.tech/docs/en/llms.txt?revision=962422e645f28cc9d83f45f9bb5846da6ee2ca46&version=v26.3

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

YDB CLI contains a set of commands for exporting and importing data and descriptions of data schema objects. Data export can be used both for creating backups for subsequent recovery and for other purposes.

- [Export file structure](https://ydb.tech/docs/en/reference/ydb-cli/export-import/file-structure.md?version=v26.3), used both when exporting to a file system and when exporting to an S3-compatible object storage.
- [Exporting cluster metadata to a file system using `admin cluster dump`](https://ydb.tech/docs/en/reference/ydb-cli/export-import/tools-dump.md?version=v26.3#cluster)
- [Importing cluster metadata from a file system using `admin cluster restore`](https://ydb.tech/docs/en/reference/ydb-cli/export-import/tools-restore.md?version=v26.3#cluster)
- [Exporting database data and metadata to a file system using `admin database dump`](https://ydb.tech/docs/en/reference/ydb-cli/export-import/tools-dump.md?version=v26.3#db)
- [Importing database data and metadata from a file system using `admin database restore`](https://ydb.tech/docs/en/reference/ydb-cli/export-import/tools-restore.md?version=v26.3#db)
- [Exporting individual schema objects to a file system using `tools dump`](https://ydb.tech/docs/en/reference/ydb-cli/export-import/tools-dump.md?version=v26.3#schema-objects)
- [Importing individual schema objects from a file system using `tools restore`](https://ydb.tech/docs/en/reference/ydb-cli/export-import/tools-restore.md?version=v26.3#schema-objects)
- [Connection and authentication when working with an S3-compatible object storage](https://ydb.tech/docs/en/reference/ydb-cli/export-import/auth-s3.md?version=v26.3)
- [Exporting to an S3-compatible object storage `export s3`](https://ydb.tech/docs/en/reference/ydb-cli/export-import/export-s3.md?version=v26.3)
- [Importing from an S3-compatible object storage `import s3`](https://ydb.tech/docs/en/reference/ydb-cli/export-import/import-s3.md?version=v26.3)
- [Configuring NFS for backup](https://ydb.tech/docs/en/recipes/nfs-backup/nfs-backup.md?version=v26.3)
- [Exporting to NFS `export nfs`](https://ydb.tech/docs/en/reference/ydb-cli/export-import/export-nfs.md?version=v26.3)
- [Importing from NFS `import nfs`](https://ydb.tech/docs/en/reference/ydb-cli/export-import/import-nfs.md?version=v26.3)
<!-- endsource: en/reference/ydb-cli/export-import/_includes/index.md -->
