Configuring Global Notification Settings
You can specify email notification settings for automated delivery of backup policy results and daily reports. Every daily report contains cumulative statistics for all backup policy and snapshot retention sessions run within the past 24-hour period.
To connect a mail server that will be used for sending email notifications:
- Switch to the Configuration page.
- Navigate to General > Email.
- Select the Enable email notifications check box.
- Click the link in the Email server field and configure mail server settings.
- In the From field, enter an email address of the notification sender. This email address will be displayed in the From field of notifications.
- In the To field, enter an email address of a recipient. Use a semicolon to separate multiple recipient addresses.
For each particular policy, you can specify additional recipients. For more information, see Creating Backup Policies.
If you specify the same email recipient in both backup policy notification and global notification settings, Veeam Backup for Google Cloud will send each notification to this recipient twice.
- In the Subject field, specify a subject for notifications. You can use the following runtime variables:
- %JobName% — a backup policy name.
- %JobResult% — a backup policy result.
- %ObjectCount% — the number of instances in a backup policy.
- %Issues% — the number of instances in a backup policy that encountered any issues (errors and warnings) while being processed.
- In the Notify immediately on policy section, choose whether you want to receive email notifications in case backup policies complete successfully, complete with warnings or complete with errors.
- To receive daily reports, select the Send daily report at check box and specify the exact time when the reports will be sent.
- Click Save.
Veeam Backup for Google Cloud allows you to send a test message to check whether you have configured the settings correctly. To do that, click Send Test Email. A test message will be sent to the specified email address.
To employ the Basic authentication to connect to your mail server, in the Email Server Settings window:
- From the Authentication drop-down list, select Basic.
- In the Mail server name or address field, enter a DNS name or an IP address of the SMTP server. All email notifications (including test messages) will be sent by this SMTP server.
- In the Port field, specify a communication port for SMTP traffic. The default SMTP port is 587.
- In the Timeout field, specify a connection timeout for responses from the SMTP server.
- For an SMTP server with SSL/TLS support, select the Connect using SSL check box to enable SSL data encryption.
- If your SMTP server requires authentication, select the This server requires authentication check box and choose an account that will be used when authenticating against the SMTP server from the Connect as drop-down list.
For an account to be displayed in the list of available accounts, it must be added to Veeam Backup for Google Cloud as described in section Adding SMTP Accounts. If you have not added an account beforehand, click Add and complete the Add Account wizard.
- Click Save.
To employ the Modern authentication to connect to your mail server:
- In Email Server Settings window, copy the URL from the Redirect URL field.
- For Veeam Backup for Google Cloud to be able to use OAuth 2.0 to access Google Cloud or Microsoft Azure APIs, register a new client application either in the Google Cloud console or in the Microsoft Azure portal.
When registering the application, make sure that the redirect URI specified for the application matches the URL copied from the Veeam Backup for Google Cloud Web UI.
- Back to the Veeam Backup for Google Cloud Web UI, do the following in Email Server Settings window:
- From the Authentication drop-down list, select Modern.
- Use the Mail server drop-down list to choose whether the server that you want to use to send email notifications is a Google or Microsoft mail server.
- In the Application client ID and Client secret fields, provide the Client ID and Client secret created for the application as described in Google Cloud documentation or Microsoft Docs.
- [Applies only if you have selected the Microsoft option] In the Tenant ID field, provide the ID of an Azure AD tenant in which the application has been registered.
- Click Authorize. You will be redirected to the authorization page. Sign in using a Google or Microsoft Azure account to validate the configured settings.