fix(engine): check + log restore-script remote upload (fixes #226) #227
Reference in New Issue
Block a user
Delete Branch "fix/restore-script-upload-result"
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?
Fixes #226 (restore script silently missing from the remote).
The standalone restore-script upload discarded its result and logged nothing, so a failed second
upload()left the script off the remote with no warning — the archive still recordedcomplete.Now: log the restore-script upload attempt, log success, and on failure set
$uploadFailed = true(→warningstatus) and log the reason. So it can never be silent again, and the backup surfaces a warning if the script didn't make it.Targeting dev for a dev build.
php -lclean.Note: this makes the failure visible; if the underlying cause is that a given uploader can't do a second
upload()on the same connection, the warning will now tell us which destination — a follow-up can re-open the connection per file if needed.https://claude.ai/code/session_01WbGBN9VyRK61zczYWcCQ2i