Managing Backup Reports
| Question: | How can I setup LONE-TAR to notify me when I get successful backup and verifies as well as failed backup and verifies? |
| Keywords: | email, print, mod link, backup summaries, notifications |
| Operating Systems: | ALL |
There are three ways to get notified by LONE-TAR of successful/failed backup and verify summaries:
1. Email
2. Printer
3. Message-of-the-Day when logging into server
Critical Notes
- LONE-TAR does NOT use its own smtp email settings to send out backup summaries.
- LONE-TAR incorporates the built-in 'mail' command on your operating system to send email.
- The 'mail' command must be installed and working on the OS in order for LONE-TAR to properly email backup summaries.
Steps to setup email summaries 
1. The only variable you need to edit inside LONE-TAR is the MAIL_TO variable.
This variable specifies the specific email addresses to be used for receiving email.
Type the command:
# ltmenu
Select Option 8 (Environment)
Select Option 7 (Output)
edit variable #73 Mail summaries of LONE-TAR processes (and to whom)
Select 'e' to edit
Select '1' to change current setting
Enter as many email addresses as you see fit...
WHEN DONE VARIABLE SHOULD LOOK LIKE BELOW:
Send mail to: email @address.com email @address2.com email @address3.com
* IMPORTANT * IMPORTANT * IMPORTANT * IMPORTANT *
Make sure you use a single blank space between each email address.
Steps to change Subject Header on email summaries 
1. The only variable you need to edit inside LONE-TAR is the SUBJECT_INFO variable. This variable is the Subject Header of all LONE-TAR email summaries displayed when receiving email. Type the command: # ltmenu Select Option 8 (Environment) Select Option 7 (Output) edit variable #84 Additional Info for email Subject Header Select 'e' to edit Select '1' to change current setting 1 Set to LONE-TAR Serial Number 2 Set to System NODE Name 3 Set to blank (null) 4 Enter your own customized string If you select option #4, please end the string with a single '.' (period)
Steps to setup printer summaries 
1. The only variable you need to edit inside LONE-TAR is the Printer variable.
This variable specifies the specific email addresses to be used for receiving email.
Type the command:
# ltmenu
Select Option 8 (Environment)
Select Option 7 (Output)
edit variable #75 Set the printer destination for printed output
Select 'e' to edit
Select 'C' to change current setting
Select 'D' to turn off Printer Notifications
Select 'S' to show list of current printers
Select 'U' to take default setting of 'lpr'
WHEN DONE VARIABLE SHOULD LOOK LIKE BELOW:
Printer: lp -dPrinterName
Steps to setup Message-of-the-Day summaries 
1. This process links /log/errors to /etc/motd.
When you log into your server, you will see if backup was successful or not right at login.
Type the command:
# ltmenu
Select Option 7 (Catalogs & Docs)
Select Option 4 (Short Summary File)
==============================================
The lines above are log file: /log/errors
==============================================
1. If you would like to have the lines displayed above appear every
time you login... simply type a y .
2. By typing a y below... you will:
a. move /etc/motd ====> /etc/motd.ORIG
b. link /log/errors ==> /etc/motd
3. By typing a n below... you will undo what #2 above does.
a. remove /etc/motd
b. move /etc/motd.ORIG ==> /etc/motd (back to the way it was)
4. By pressing ENTER will do nothing... and return you to menu.
5. motd stands for "Message of the Day", and it displays every time
you login to your system.
6. By pressing c will let you see your current file /etc/motd