Skip to main content

Module types

Module types 

Source
Expand description

Core types for the backup module.

Structs§

OrgExportMeta
Org export package metadata.
PurgeEvent
Purge event — emitted after auto-purge runs.
RetentionRule
Retention policy for a single table.
SnapshotRecord
A completed snapshot record.

Enums§

BackupError
Errors produced by the backup module.

Functions§

default_retention_rules
Default retention rules per spec.
validate_sql_identifier
Validate that a SQL identifier (table or column name) contains only safe characters: [a-zA-Z0-9_]. Prevents SQL injection when identifiers must be interpolated into queries (SQLite does not support parameterised identifiers).

Type Aliases§

BackupResult