You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For backups on a laptop, I'm using a CONDITION_SNAPSHOT_START hook with ping -c 1 to check if the SFTP host is reachable and cancel the backup otherwise. This cancels the job (as intended) but results to an inconsistent error signalling in the UI.
To Reproduce
Create command hook that exits non-zero (e.g. /bin/false): CONDITION_SNAPSHOT_START and ON_ERROR_CANCEL
Backup now.
Expected behavior
The task should show up as cancelled in the entire web UI.
This works as expected in the list view. In the tree view and side pane, however, it shows up as error/exclamation mark.
This seemingly wrong state can be fixed by clicking on 'Clear error history', which flips the state of this task switches from error to cancelled.
Platform Info
Linux amd64
Backrest Version 1.7.2@b885f1ec9e43e4bfe8f4f6f02bda83f5e7d88574
The text was updated successfully, but these errors were encountered:
For backups on a laptop, I'm using a CONDITION_SNAPSHOT_START hook with ping -c 1 to check if the SFTP host is reachable and cancel the backup otherwise. This cancels the job (as intended) but results to an inconsistent error signalling in the UI.
To Reproduce
Expected behavior
The task should show up as cancelled in the entire web UI.
This works as expected in the list view. In the tree view and side pane, however, it shows up as error/exclamation mark.
This seemingly wrong state can be fixed by clicking on 'Clear error history', which flips the state of this task switches from error to cancelled.
Platform Info
The text was updated successfully, but these errors were encountered: