- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: sending emails to multiple addresses in fbacku...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-11-2002 04:19 AM
тАО01-11-2002 04:19 AM
sending emails to multiple addresses in fbackup
Can anyone tell me how to send this notification to multiple email addresses. Does this get set in the crontab file for example.
Thanks in advance
Bruce
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-11-2002 04:35 AM
тАО01-11-2002 04:35 AM
Re: sending emails to multiple addresses in fbackup
Do the following.
SAM adds a cron job which calls the /usr/sam/lbin/br_backup command.
Br_backup in turn calls 'mailx' to send out the email. Mailx accepts
multiple mail addresses separated by a comma. To send the email to
different users when adding a backup through SAM select 'Set Additional
Parameters' and add the user's email addresses separated by a comma.
To change the email after the backup was added edit
/var/spool/cron/crontabs/root and change the br_backup entry like in
this example :
00 17 * * 1 /usr/sam/lbin/br_backup DAT FULL Y /dev/rmt/0m
/etc/sam/br/graphDCAa04203 root@system1.com,oracle@system2.com Y
1 N > /var/tmp/SAM_br_msgs 2>&1 #sambackup
Steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-11-2002 05:14 AM
тАО01-11-2002 05:14 AM
Re: sending emails to multiple addresses in fbackup
you cold also set up a group in your /etc/mail/aliases file.
This would have the advantage of being reusable for several cronjobs.
E.g. you have 10 cronjobs which should send a eMail to the same group. One day this group changes. If you use an sendmail alias this is one configuration in one file.
If you configure each cronjob seperately this would make 10 seperate changes.
Hope this helps
Regards Stefan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-11-2002 05:29 AM
тАО01-11-2002 05:29 AM
Re: sending emails to multiple addresses in fbackup
These are the steps we normally follow.
1.) create an alias in /etc/mail/aliases for the users who are going to receive the mail. This is to be added under local aliases,
alias_name :mail_add_1, mail_add_2 ....
2.) Restart the sendmail daemon,
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
3.) send a test mail to the concerned users,
mailx -s "mail subject" alias_name < mail_message
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-11-2002 05:31 AM
тАО01-11-2002 05:31 AM
Re: sending emails to multiple addresses in fbackup
you can add the mailx command in your script which is sending you the status of backup.
Hope this helps.
Regds