Community

Subscribe
Highlighted
Accepted Solution

SMO profile update wipes notification settings

Hi Experts,

When I do SMO profile update by following CLI, it wipes out first line configuration updates in notification filed of SMO profile and keeps only what has been updated by last smo profile update command. Any clue, why it is like this and how can this be fixed.

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"

I want to receive notifications for both Failed/Success SMO backups.

Thanks,  VM

Re: SMO profile update wipes notification settings

To solve this, you need to include both failed & success backup notification options. Refer below for the command to configure it successfully through GUI.

  

smo profile update -profile Temp_PROF -notification -success -email smoadmin@abc.com-subject "DB-name backup SUCCESS" -failure –email -email smoadmin@abc.com -subject "DB-name backup SUCCESS"

This has solved my issue....