StaticconfigureBackup configuration including primary/secondary sources, staging environment, and verification options
StaticregisterRegister a backup in the system for tracking.
Backup metadata including ID, source, timestamp, etc.
Source identifier ('primary' or 'secondary')
StaticcaptureCapture a real row-count snapshot of a live database, intended to be
taken at (or immediately before/after) backup time and stored on
BackupMetadata.snapshot. This is the "strongest achievable"
verification baseline this library can produce without a real
restore/import engine: it lets testRestore() report what the backup
should contain, even though it cannot prove the backup file itself
restores to that state.
A connected Prorm instance to query
Table names to count rows for
A snapshot with real row counts per table
StaticverifyVerify the integrity of a backup without performing a full restore.
The backup ID to verify
Verification result with status and details
StatictestTest restore a backup to a staging environment. This performs an actual restore to verify backup is valid.
The backup ID to test restore
Verification result including restore details
StaticscheduleSchedule periodic verification for a backup.
The backup ID to schedule verification for
Verification schedule configuration
StaticremoveRemove a scheduled verification.
The backup ID to remove schedule for
StaticgetGet all scheduled verifications.
Array of scheduled verification entries
StaticgetGet verification history for a backup.
The backup ID to get history for
Array of verification history entries
StaticlistGet all backups registered in the system.
Array of backup entries
StaticgetGet the current configuration.
Current backup configuration
StaticclearClear all configuration (useful for testing).
Configure backup sources and verification settings.