fix: mark backup as warning when remote upload fails #178
Open
jmiller
wants to merge 2 commits from
fix/remote-upload-failure-status into main
pull from: fix/remote-upload-failure-status
merge into: :main
:main
:version/02.52.24
:version/02.52.22
:fix/preupdate-backup-popup
:version/02.52.18
:fix/remove-deploy-manual
:fix/preupdate-backup-messages
:dev
:feature/194-feat-remote-site-sync-deploy-full-instal
:feature/198-feat-backup-queue-system-for-concurrent-
:chore/remove-static-updates-xml
:fix/remote-upload-failure-status
:feature/165-fix-replace-factory-getdbo-with-dependen
:feature/166-fix-ntfy-default-url-in-install-mysql-sq
:feature/167-feat-add-individual-snapshot-detail-edit
:feature/168-chore-update-server-url-in-package-manif
:feature/169-security-ftp-password-not-masked-in-ajax
:feature/170-bug-js-error-in-snapshots-template-typel
:feature/171-bug-ftp-remote-type-missing-from-profile
:feature/172-i18n-hardcoded-english-strings-in-templa
:feature/173-refactor-extract-duplicate-sendjson-and-
:feature/174-feat-add-filter-snapshots-xml-and-search
:feature/175-refactor-migrate-inline-js-in-templates-
:feature/177-bug-missing-closing-div-in-backups-defau
:feature/179-fix-databasedumper-dumptofile-double-esc
:feature/180-fix-order-by-ordering-asc-on-profiles-ta
:feature/181-fix-uninstall-mysql-sql-missing-drop-for
:feature/182-fix-sftpuploader-uses-stricthostkeycheck
:feature/183-fix-s3uploader-multipart-uploadpart-load
:feature/184-fix-cli-snapshot-delete-uses-file-path-i
:feature/185-fix-ftp-password-exposed-in-masksecrets-
:feature/186-fix-duplicate-pre-update-backup-from-sys
:feature/187-fix-api-backups-endpoint-leaks-absolute-
:feature/188-fix-databaseimporter-silently-continues-
:feature/189-fix-minimumjoomla-set-to-5-0-should-be-5
:feature/190-feat-snapshots-list-view-missing-filter-
:fix/mokorestore-improvements
:version/01.45.00
:version/01.44.00
:fix/ssh-key-indicator
:fix/ui-cleanup-restore-name
:version/01.43.00
:version/01.42.00
:version/01.41.00
:version/01.40.00
:version/01.39.01
:version/01.39.00
:version/01.38.05
:version/01.38.04
:version/01.38.03
:version/01.38.02
:version/01.38.01
:version/01.38.00
:version/01.37.00
:version/01.36.00
:version/01.35.04
:version/01.35.03
:version/01.35.01
:version/01.35.00
:version/01.34.00
:version/01.33.00
:version/01.32.00
:version/01.31.00
:version/01.30.00
:rc
:version/01.27.03
:version/01.27.00
:version/01.26.00
:feature/47-backup-status-helper
:feature/47-feat-expose-backup-status-for-mokosuitec
No Reviewers
Labels
Clear labels
component: admin
component: api
component: engine
component: remote
component: scheduler
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
Admin UI and views
REST API
Backup/restore engine
Remote storage (FTP/GDrive)
Scheduled tasks
Something is not working
This issue or pull request already exists
New feature
Need some help
Something is wrong
More information is needed
This won't be fixed
No labels
Priority
-
Type
-
Milestone
No items
No Milestone
Assignees
jmiller (Jonathan Miller)
Clear assignees
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: MokoConsulting/MokoSuiteBackup#178
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Delete Branch "fix/remote-upload-failure-status"
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
warningstatus for backups where the archive was created successfully but remote upload failed (SFTP, FTP, S3, Google Drive)status_messagecolumn to#__mokosuitebackup_recordsstoring the specific failure reason — visible in the list and detail views without digging through the full logBackupEngineandSteppedBackupEnginenow setstatus = 'warning'and record the error details from each failed remote destinationChanges
$uploadErrors, set status towarning+ populatestatus_messagecompleteRecord()uploadErrorsproperty for persistence across AJAX stepswarningstatus in all dashboard querieswarningin retention/cleanup querieswarningtreated as valid for download/browse01.45.01.sqladdsstatus_messagecolumnCOM_MOKOJOOMBACKUP_STATUS_WARNINGkey, filter dropdown optionTest plan
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.