Logo icon
    • Contents
    • Quick start
    • Concepts
    • For DevOps
    • For 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
          • Importing data from a file to an existing table
        • Managing configuration
      • YDB Native SDK
      • Languages and APIs
      • Kafka 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

    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 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
    • Importing cluster' metadata from the file system using admin cluster restore
    • Exporting database' metadata and data to the file system using admin database dump
    • Importing database' metadata and data from the file system using admin database restore
    • Exporting individual schema objects to the file system using tools dump
    • Importing individual schema objects from the file system using tools restore
    • Connecting to and authenticating with S3-compatible object storage
    • Exporting data to S3-compatible object storage using export s3
    • Importing data from S3-compatible object storage using import s3

    Was the article helpful?

    Previous
    Scan queries
    Next
    File structure of data export