Logo icon
    • Contents
    • Quick start
    • Concepts
    • Cluster Administration
    • For Application Developers
    • For Analysts
    • For Security Engineers
    • For Contributors
    • Reference
      • YQL
      • Embedded UI
      • Integrations
      • YDB CLI
        • Overview
        • Installation
        • Connecting to and authenticating with a database
        • All commands in alphabetical order
        • Service commands
        • Global options
          • Overview
          • File structure of data export
          • Exporting data to the file system
          • Importing data from the file system
          • Connecting to and authenticating with S3
          • Exporting data to S3
          • Importing data from S3
          • Export to NFS
          • Import from NFS
          • Importing data from a file to an existing table
          • Backup collections
        • Managing configuration
      • YDB Native SDK
      • Languages and APIs
      • Kafka API
      • SQS API
      • Configuration
      • Observability
      • YDB DStool
      • ydbops
      • Docker
    • Recipes
    • Troubleshooting
    • Questions and answers
    • Downloads
    1. Reference
    2. YDB CLI
    3. Importing and exporting data
    4. Overview

    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

    Was the article helpful?

    Previous
    Streaming table reads
    Next
    File structure of data export