Skip to main content

incremental_backup

Function incremental_backup 

Source
pub fn incremental_backup(
    catalog: &mut Catalog,
    base: &BackupManifest,
    dest: &Path,
) -> Result<IncrementManifest>
Expand description

Take an incremental backup: copy only the pages of each heap/idx file whose page LSN is greater than base.source_lsn, plus any non-paged file (e.g. catalog.bin) that changed. Builds on base (a full backup or a prior increment’s effective state).