feat: Pre-flight checks before backup starts (#67) #70
Reference in New Issue
Block a user
Delete Branch "feature/67-preflight-checks"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Validates backup prerequisites before creating any backup record, catching common issues early with clear messages instead of failing mid-backup.
Closes #67
Pre-flight Checks
Errors block the backup. Warnings are logged and shown but allow the backup to proceed.
Integration Points
BackupEngine::run()— preflight runs before record insertSteppedBackupEngine::init()— preflight runs before record insertBackupsController::start()— surfaces warnings as Joomla messageswarningsarray for JS modal displayNew File
src/Engine/PreflightCheck.php— standalone, reusable by both enginesTest Plan