Add "Cloud Sync Task Succeed" Alert to TrueNAS SCALE

Problem/Justification
Although is already possible to be notified by “Replication Succeeded” and “Rsync Task Succeeded”, no “Cloud Sync Task Succeed” is given as alert source.
This option would notify the user each time the task is completed, potentially with a summary showing how many files were updated (already given in the log as a summary), providing reassurance that the sync occurred and allowing the user to immediately identify possible issues (for example, many files changing since last sync without justification could indicate a ransomware attack).
This feature was already widely implemented by users using the post-scripts, but it stopped working in the latest versions due to new limitations in sending emails from the command line.

Impact
As already mentioned, this feature would be of great benefit to the community as it was already widely spread in the form of a post-script, which does not work anymore, so it is only fair to make it official and bring the above listed benefits to everyone.

User Story
As a user, I want to be notified when a sync task completes, with a summary of how many files were updated, so that I can confirm the sync occurred successfully and quickly spot any unusual activity, such as unexpected file changes.

1 Like