05-14-2020 10:20 AM
Hi, my understanding is that the Linux edition of System Recovery does not have any email notification feature whenever say a backup completes or a backup fails. Email notification isn't available in the Linux edition I believe. Therefore, I'm looking for another way to do this (ex. scripting, using some kind of third-party tool?) Any experience, advice on this would be appreciated. Thxs.
Solved! Go to Solution.
05-18-2020 10:35 PM
This script will work.
1. Create mail-vsr-script.sh like below. This is a sample script. Please change the script as per your environment.
<mail-vsr-script.sh>
--------------------------------------------
#!/usr/bin/bash
symsr -b <Backup source> -d <Backup destination> > /root/vsr.txt
cat -v /root/vsr.txt | mail -s "mail-subject" xxxx@xxx.xxx
--------------------------------------------
2. Run "chmod 755 mail-vsr-script.sh".
3. Run "./mail-vsr-script.sh".
4. Check the mail.
05-14-2020 10:54 PM
We dont use the Linux Edition but on Windows there is a logfile called Veritas System Recovery.log.txt which one can parse for all events. Maybe this exists on Linux too?
05-18-2020 10:35 PM
This script will work.
1. Create mail-vsr-script.sh like below. This is a sample script. Please change the script as per your environment.
<mail-vsr-script.sh>
--------------------------------------------
#!/usr/bin/bash
symsr -b <Backup source> -d <Backup destination> > /root/vsr.txt
cat -v /root/vsr.txt | mail -s "mail-subject" xxxx@xxx.xxx
--------------------------------------------
2. Run "chmod 755 mail-vsr-script.sh".
3. Run "./mail-vsr-script.sh".
4. Check the mail.