Customize the email subject for a new profile
-
PDF of this doc site
- Administration for UNIX
- Installation and Administration for Windows
Collection of separate PDF docs
Creating your file...
You can customize the email subject for the new profile when you create it.
About this task
You can customize the email subject by using the {profile}_{operation-name}_{db-sid}_{db-host}_{start-date}_{end-date}_{status} pattern or enter your own text.
Variable name | Description | Example value |
---|---|---|
|
Profile name used for the database operation |
PROF1 |
|
Database operation name |
Backup, Data Backup, Data and Archive Logs Backup |
|
SID of the database |
DB1 |
|
Name of the host server |
hostA |
|
Start time of the database operation in the mmdd:hh:ss yyyy format |
April 27 21:00:45 PST 2012 |
|
End time of the database operation in the mmdd:hh:ss yyyy format |
April 27 21:10:45 PST 2012 |
|
Database operation status |
Success |
If you do not provide any value for the variables, then SnapManager displays the following error message: Missing value(s) -subject
.
-
Enter the following command:
smsap profile create -profile profile [-profile-password profile_password] -repository -dbname repo_service_name -host repo_host -port repo_port -login -username repo_username -database -dbname db_dbname -host db_host [-sid db_sid] [-login-username db_username -password db_password -port db_port] [-rman {-controlfile | {-login -username rman_username -password rman_password -tnsname rman_tnsname} } ] [-retain [-hourly [-count n] [-duration m]] [-daily [-count n] [-duration m]] [-weekly [-count n] [-duration m]] [-monthly [-count n] [-duration m]]] [-comment comment][-snapname -pattern pattern][ [ ]] [-notification [-success -email email_address1, email_address2 -subject subject_pattern] [-failure -email email_address1, email_address2 -subject subject_pattern]]