Skip to main content
SnapManager Oracle

Configuring email notification for a new profile

Contributors NetAppZacharyWambold

When you are creating a new profile, you can configure to receive an email notification on completion of the database operation.

  • You must configure the email address from which the alerts are sent.

  • You must use a comma-separated list for multiple email addresses.

    You must ensure that there is no space between the comma and the next email address.

    Note You must ensure you enter the set of email addresses within double quotation marks.
    1. Enter the following command: smo profile create -profileprofile [-profile-passwordprofile_password] -repository-dbnamerepo_service_name-hostrepo_host-portrepo_port-login-usernamerepo_username-database-dbnamedb_dbname-hostdb_host [-siddb_sid] [-login-usernamedb_username-passworddb_password-portdb_port] [-rman {-controlfile | {-login-usernamerman_username-passwordrman_password-tnsnamerman_tnsname} } ] [-retain [-hourly [-countn] [-durationm]] [-daily [-countn] [-durationm]] [-weekly [-countn] [-durationm]] [-monthly [-countn] [-durationm]]] [-commentcomment][-snapname-patternpattern][-protect [ ]][-notification [-success-emailemail_address1,email_address2-subjectsubject_pattern] [-failure-emailemail_address1,email_address2-subjectsubject_pattern]]

      Other options for this command are as follows:

      [-force]

      Note SnapManager supports up to 1000 characters for email addresses.

      When you create a backup of data files and archive log files together using the profile (for creating separate archive log backups), and the data file backup creation fails, the email notification is sent with the data backup as the operation name instead of data backup and archive logs backup. When the data file and archive log file backup operation is successful, you see the output as follows:

      Profile Name    : PROF_31
      Operation Name 	: Data Backup and Archive Logs Backup
      Database SID   	: TENDB1
      Database Host 	 : repo1.rtp.org.com
      Start Date 	    : Fri Sep 23 13:37:21 EDT 2011
      End Date 	      : Fri Sep 23 13:45:24 EDT 2011
      Status 	        : SUCCESS
      Error messages 	: