Skip to main content

Module backup

Module backup 

Source
Expand description

Online, storage-native database backup and offline restore.

A backup is one versioned binary archive. The transactor fixes the upper transaction basis and hands the backup client an independent storage connection; backup replays only through that basis. Re-running it against the same file appends one binary checkpoint containing only the records after the archive’s previous checkpoint.

Structs§

BackupReport
Counters and snapshot identity returned by a backup.
BackupSource
An independently accessible storage service plus the transaction basis fixed by the running transactor.
RestoreReport
Counters and identity returned by a restore.

Enums§

BackupError
Backup or restore failure.

Constants§

BACKUP_FORMAT_VERSION
Binary backup container version written by this release.

Functions§

backup
Copies one live database into destination through a fixed transaction checkpoint.
restore
Restores a backup under target_db, allowing restore-as-clone by choosing a name different from the archive’s source database.