Skip to main content

Module backup

Module backup 

Source
Expand description

Offline, content-addressed database backup and restore.

A backup directory is itself a Corium blob/root store plus a durable log and a small manifest. Re-running backup against the same directory is incremental: immutable blobs already present are not copied.

Structs§

BackupReport
Counters and snapshot identity returned by a backup.
RestoreReport
Counters and identity returned by a restore.

Enums§

BackupError
Backup or restore failure.

Functions§

backup
Copies one offline database into destination.
restore
Restores a backup under target_db, allowing restore-as-clone by choosing a name different from the manifest’s source database.