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, 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 - Importing cluster metadata from a file system using
admin cluster restore - Exporting database data and metadata to a file system using
admin database dump - Importing database data and metadata from a file system using
admin database restore - Exporting individual schema objects to a file system using
tools dump - Importing individual schema objects from a file system using
tools restore - Connection and authentication when working with an S3-compatible object storage
- Exporting to an S3-compatible object storage
export s3 - Importing from an S3-compatible object storage
import s3 - Configuring NFS for backup
- Exporting to NFS
export nfs - Importing from NFS
import nfs