Happy Valentine's Day! Forget flowers... chocolates... candy... date night... your sweetie really wants a new BACKUPMON update! Download it for her - she will be forever grateful for keeping her router safe! LOL
Well, I'm very happy with how the AMTM email notifications implementation has gone, with many thanks to
@Martinski for making this a cakewalk using his awesome AMTM shared email library! Enjoy!
What's new?
v1.5.3 - (February 14, 2024)
- MINOR: Added new functionality to BACKUPMON to give you the ability to receive
backup SUCCESS and FAILURE email notifications. This capability is provided through the AMTM Email functionality (AMTM->em) and made possible through a wonderful common library graciously made available by
@Martinski! When you enable the AMTM email notification functionality in the config menu (option #14), the script will download a library file into /jffs/addons/shared-libs. Libraries and functions like these can be shared between many other scripts from one common location. In BACKUPMON, you can enable notifcations for either SUCCESS or FAILURE events, or both. If using primary and secondary backups, you will get notifications for both, whether they succeed or fail. PLEASE NOTE: AMTM Email (AMTM->em) must be set up, configured and working before enabling this functionality in BACKUPMON.
- PATCH: Changed the versioning logic to align with the general accepted way of versioning, using the notation:
major.minor.patch ... finally, right? After seeing
@thelonelycoder changing his ways, I figured it was probably time for me as well. All my scripts moving forward will go this route. Change log wording is now changed to conform to the major/minor/patch standards. So previously, FIXED now conforms to PATCH, ADDED conforms to MINOR, and MAJOR stays the same!
- PATCH: Due to an
overlap of common variable names when integrating with AMTM, some mitigations had to be made and will change the username and password variable names within the backupmon.cfg upon start. This will run 1x only once variable names have been corrected.
- PATCH: Added AMTM
Email testing as a menu item off the main setup menu. This allows you to give the AMTM email capabilities a quick test, providing verbose on-screen feedback during the process.
Download link (or update directly within AMTM/BACKUPMON itself):
Code:
curl --retry 3 "https://raw.githubusercontent.com/ViktorJp/BACKUPMON/master/backupmon-1.5.3.sh" -o "/jffs/scripts/backupmon.sh" && chmod 755 "/jffs/scripts/backupmon.sh"
Significant Screenshots!
Items #14 in the config menu lets you enable AMTM email notifications on Success or Failure
A more detailed look at what you get with the AMTM Email Notifications option.
During a regular backup, email notifications will get sent immediately if something fails, or at the very end of the job on success
And just added, from the setup menu, you can now easily test your AMTM email notifications, and will shoot off a test email to your account, giving you verbose feedback if something doesn't work right.