Skip to main content Module backup Copy item path Source NonFinalizedBlockBackup ๐ MIN_DURATION_BETWEEN_BACKUP_UPDATES ๐ The minimum duration that Zebra will wait between updates to the non-finalized state backup cache. list_backup_dir_entries ๐ Accepts a backup directory path, opens the directory, converts its entries
filenames to block hashes, and deletes any entries with invalid file names. process_backup_dir_entry ๐ Accepts a DirEntry from the non-finalized state backup directory and
parses the filename into a block hash. read_backup_dir ๐ Accepts a backup directory path and opens the directory. read_non_finalized_blocks_from_backup ๐ Reads blocks from the provided non-finalized state backup directory path. restore_backup ๐ Accepts an optional path to the non-finalized state backup directory and a handle to the database. run_backup_task ๐ Updates the non-finalized state backup cache whenever the non-finalized state changes,
deleting any outdated backup files and writing any blocks that are in the non-finalized
state but missing in the backup cache. write_backup_block ๐ Writes a block to a file in the provided non-finalized state backup cache directory path.