Skip to main content

Module restore

Module restore 

Source
Expand description

Disaster recovery — restore daemon from a snapshot.

Validates the snapshot checksum before replacing the live database. The restore is atomic: copy to temp, verify, then rename.

Functions§

restore_from_file
Restore from a raw snapshot file path (no pool lookup). Used by cvg backup restore <file> when the DB may not be running.
restore_from_snapshot
Restore the database from a snapshot file.