Script that creates a backup of and updates your Ombi server, then sends a notification email using ssmpt.
Dependencies
This script requires that ssmtp be installed and configured. (Setup Guide)
Usage
This script can be run manually or as a cron job. Ensure the script has proper permissions (chmod 755) before executing.
User-defined variables
There are several user-defined variables you will need to edit using your text editor of choice.
OMBIDIR = the path to the Ombi executable (no trailing "/")
BACKUPDIR = the path to the directory where you want to store Ombi backups generated by this script.
OMBIHOST = The IP address or hostname of your Ombi server.
OMBIAPIKEY = Your Ombi API key (found under Settings -> Ombi Configuration)
TO = The recipient for the notification email
FROM = The sender for the notification email.
SUBJECT = The subject for the notification email.
BODY = The notification email body.