Skip to main content

Module import_v2

Module import_v2 

Source
Expand description

Import V2 module.

This module provides the V2 implementation of database import functionality, featuring:

  • DDL-based schema import
  • Dry-run mode for verification

§Example

# Dry-run import (verify without executing)
greptime cli data import-v2 \
  --addr 127.0.0.1:4000 \
  --from file:///tmp/snapshot \
  --dry-run

# Actual import
greptime cli data import-v2 \
  --addr 127.0.0.1:4000 \
  --from s3://bucket/snapshots/prod-20250101

Modules§

error
executor
DDL execution for import.

Structs§

ImportV2Command
Import from a snapshot.