Data Backup and Recovery
Data Backup and Recovery
Hi,
I have executed the following command to setup mailing server which completed successfully.
smo notification set -from SMO_XYZ@abc.com -mailhost 10.20.30.40 -mailport 25 -repository -port 1521 -dbname <repository-name> -host HOST1 -login -username smorepo -verbose
But still I don't receive e-mail. I have also set e-mail ID, notifications to be sent.
smo profile update -profile Temp_PROF -notification -failure -email smoadmin@abc.com -subject "DB-name backup fail"
smo profile update -profile Temp_PROF -notification -success -email smoadmin@abc.com -subject "DB-name backup success"
Any help if I am missing any step here.... SMO backup is running fine.
Where to look if mail host details are stored properly?
Many thanks,
VM
Solved! See The Solution
Hi All,
I have resolved this issue myself by updating SMO profile. See below details I could able to compile for any of us face any such issue.
Observation:
I found in SMO profile in Notification body under Success operation recipients e-mail address was washed out when I updated my profile as per commands given in my post above.
HosName:[/]#smo profile show -profile Temp_PROF -verbose
Profilename: Temp_PROF
-
-
-
-
-
Notification:
Success operation
Failure operation
E-mail ID: smoadmin@abc.com
E-mail Subject: SMO DB-Name backup failed
Anyway, here is in brief step as how I fixed the issue of not getting SMO backup success notification mails.
smo profile update -profile Temp_PROF -notification -success -email smoadmin@abc.com -subject "DB-name backup success"
Hi All,
I have resolved this issue myself by updating SMO profile. See below details I could able to compile for any of us face any such issue.
Observation:
I found in SMO profile in Notification body under Success operation recipients e-mail address was washed out when I updated my profile as per commands given in my post above.
HosName:[/]#smo profile show -profile Temp_PROF -verbose
Profilename: Temp_PROF
-
-
-
-
-
Notification:
Success operation
Failure operation
E-mail ID: smoadmin@abc.com
E-mail Subject: SMO DB-Name backup failed
Anyway, here is in brief step as how I fixed the issue of not getting SMO backup success notification mails.
smo profile update -profile Temp_PROF -notification -success -email smoadmin@abc.com -subject "DB-name backup success"