Skip to main content

Module maintenance

Module maintenance 

Source
Expand description

Backup, restore, and reset utilities. Maintenance utilities: snapshots, data export, and health checks.

Provides tools for operational maintenance including:

  • Snapshot & restore — Serialise the entire storage state to a versioned, checksummed snapshot file and restore from it.
  • Data export — Export users, sessions, tokens, and audit logs as structured JSON for compliance or migration purposes.
  • Health checks — Verify storage connectivity, token validity, and system integrity.

Most operations are available through the MaintenanceOperations facade.

Structs§

BackupReport
MaintenanceSnapshot
MigrationFileReport
ResetReport
RestoreReport
SnapshotKvEntry
SnapshotManifest
SnapshotUserSummary

Functions§

backup_to_file
create_migration_file
create_migration_file_for_storage
reset_runtime_data
restore_from_file