rushdb_backup/lib.rs
1//! Logical backup and restore for `RushDB`.
2//!
3//! This crate owns the JSONL backup surface only. It is **not** a migration
4//! tool: migrations from other stores are performed outside the engine (see
5//! the manual's "Upgrading from `RushDB` 2.x"). The surface is:
6//!
7//! - streaming tenant JSONL export ([`export`]); and
8//! - JSONL backup restore ([`restore_backup`], [`restore_backup_reader`]).
9
10pub mod export;
11
12mod backup;
13pub use backup::{export_tenant_jsonl, restore_backup, restore_backup_reader};
14pub use export::export_tenant_jsonl_to;