Skip to main content

Crate powdb_backup

Crate powdb_backup 

Source
Expand description

Physical backup, restore, and point-in-time recovery for PowDB.

Supports full snapshots (full_backup) and incremental (differential) backups against a full base (incremental_backup). Heap files use page-LSN deltas; B+tree index files are copied as opaque whole artifacts. Restore rebuilds a data directory from a full backup (restore()), or chains a full base plus ordered increments for coarse point-in-time recovery (restore_chain). RestoreSyncMode controls whether a restored copy strips, preserves, or forks the source’s sync identity, and bootstrap_replica_from_full_backup seeds a sync replica from a backup.

Re-exports§

pub use bootstrap::bootstrap_replica_from_full_backup;
pub use bootstrap::ReplicaBootstrapSummary;
pub use full::full_backup;
pub use incremental::incremental_backup;
pub use incremental::restore_chain;
pub use incremental::restore_chain_with_sync_mode;
pub use manifest::BackupManifest;
pub use manifest::ChangedFile;
pub use manifest::FileEntry;
pub use manifest::IncrementManifest;
pub use manifest::SyncSnapshotMetadata;
pub use restore::restore;
pub use restore::restore_with_sync_mode;
pub use restore::RestoreSyncMode;

Modules§

bootstrap
full
incremental
manifest
restore