Open paescuj opened 11 years ago
We can't control the exit status of rsync, just the interpretation of it by Sepiola.
The enhancement is valid. When a user aborts manually from Sepiola (for example by clicking Quit, not killing the process on the command line), we have the necessary Information to be able to inform the user, that the last backup was cancelled.
Where does it say that the backup failed when it was manually aborted:
Sorry, I did not express myself very well. I thought the interpretation of the exit status by Sepiola. I noticed the "failed"-status on the top of the dialog box and also in the overview.
The answer is:
To you other questions: What about the XML Sepiola writes to the server? Should it try to upload it after a user cancelled the backup, possibly with a respective flag?
The error output on the right-hand side is as expected. But on the top of this dialog box the summary of the status should be aborted-by-user (not failed).
Even though the bug seems rsync related, it actually is not: The user may cancel the backup/restore during any operation (ACL-list generation/restoration, etc.). All such errors are handled rather poorly and care has to be taken to solve this issue in a more general sense rather than for rsync only.
When the backup-process is aborted by the user the exit status is failed, but should be canceled. The same happens when the restore-process is aborted by the user.
rsync exited with exitCode 20 (rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at rsync.c(244) [sender=2.6.9]
Update: