Fork me on GitHub

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
lmail_manual [2009/10/30 08:17]
henri created
lmail_manual [2009/11/05 08:08]
admin
Line 1: Line 1:
-====== ​This page is under construction ​======+====== ​lmail manual ====== 
 + 
 +===== About ===== 
 +The '​lmail'​ command allows you to archive and email an lbackup log file. The '​lmail'​ command options are configured by an lmail.conf file which you pass into the command as the first argument.  
 + 
 +===== When to Use ===== 
 +The '​lbackup'​ command may call the '​lmail'​ command if there is a problem during the backup or if you set '​lmail'​ to run at the end of a backup. It is possible to start the '​lmail'​ command directly within and interactive shell, from within a script or for automated email reporting, from a scheduling daemon such as '​cron'​. 
 + 
 +===== Usage Examples ===== 
 + 
 +Before you start your backup you will need a generate an '​lmail'​ configuration file. In addition, this configuration file expects there to be an archive directory for storing logs which have been emailed. The configuration directory structure of LBackup allows for advanced configuration of each backup and even each mail with pre and post backup and mail scripts. There is an example configuration installed into the following path when you install lbackup : /​lbackup/​example_mail_config. 
 +<​file>​ 
 +Usage examples :  
 +   ​starting a basic mail report : /​usr/​local/​sbin/​lmail /​lbackup/​basic_backup_test/​basic_mail_test.conf 
 +   ​generic usage                : /​usr/​local/​sbin/​lmail /​path/​to/​your/​lmail.conf 
 +</​file>​ 
 + 
 +If you are using the bash shell then you can use the alias function as specified in the help : 
 + 
 +<​file>​ 
 +alias start_mail="/​usr/​local/​sbin/​lmail /​path/​to/​your/​lmail"​ 
 +</​file>​ 
 + 
 +Then you can simply start your mail report with the command listed below :  
 + 
 +<​file>​  
 +Usage examples if you have configured your bash profile with an alias and you use the bash shell :    
 +  begin backup as configured in your profile :  start_mail 
 +</​file>​ 
 + 
 +If you are having problems then please ask for help on the [[mailing lists|LBackup mailing list]] or [[http://​www.lucidsystems.org/​contact|contact Lucid Information Systems]] for support. 
 +  
 + 
 +\\ \\  
 + 
 +====== Helpful Links ====== 
 +  * [[Command Line Tools]] 
 +  * [[Documentation]] 
 +  * [[Mailing Lists]] 
 +  * [[Screencasts]] 
 +  * [[Configuring a Basic Backup|Basic Backup Configuration]] 
 + 
 + 
 + 
  
-[[https://​connect.homeunix.com/​lbackup/?​do=login|Please sign]] in to assist with documentation.