Skip to main content

Module database

Module database 

Source
Expand description

A database backup: one encrypted envelope whose sections are whole tenant envelopes.

The outer envelope’s meta.tenant_id is DATABASE_BACKUP_TENANT. Its first section, SECTION_ORIGIN_DATABASE_MANIFEST, names the database and lists its tenants. Every other section’s origin_node_id is a tenant id, and its body is that tenant’s envelope, covering this database only. The outer authentication tag covers the whole set, so a dropped tenant fails the parse.

Structs§

DatabaseBackupManifest
What a database backup holds.

Constants§

DATABASE_BACKUP_TENANT
meta.tenant_id of a database backup’s outer envelope.
SECTION_ORIGIN_DATABASE_MANIFEST
Section carrying a database backup’s DatabaseBackupManifest.