Expand description
Export V2 module.
This module provides the V2 implementation of database export functionality, featuring:
- JSON-based schema export (version-agnostic)
- Manifest-based snapshot management
- Support for multiple storage backends (S3, OSS, GCS, Azure Blob, local FS)
- Resume capability for interrupted exports
ยงExample
# Export schema only
greptime cli data export-v2 create \
--addr 127.0.0.1:4000 \
--to file:///tmp/snapshot \
--schema-only
# Export with time range
greptime cli data export-v2 create \
--addr 127.0.0.1:4000 \
--to s3://bucket/snapshots/prod-20250101 \
--start-time 2025-01-01T00:00:00Z \
--end-time 2025-01-31T23:59:59ZRe-exportsยง
pub use command::ExportV2Command;