feat: Stepped restore engine for large sites (AJAX-based) #62
Reference in New Issue
Block a user
Delete Branch "%!s()"
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
The current
RestoreEngineruns synchronously, which can time out on shared hosting with large backup archives. Add aSteppedRestoreEngine(mirroring the existingSteppedBackupEnginepattern) that breaks restore into AJAX steps:UI
Why
Sites with 10,000+ files or large databases timeout during synchronous restore on shared hosting (30s/60s PHP execution limits).
Files
src/Engine/SteppedRestoreEngine.php(new)src/Controller/AjaxController.php— addrestoreInit()andrestoreStep()methodstmpl/backups/default.php— update restore modal to use AJAX steps