Alexander,

Thanks, that was exactly what I needed.  In my particular case I had to set 
just the username by the host since I had the email domain set in 
EMailUserDestDomain.

Dan

-----Original Message-----
From: Alexander Moisseev [mailto:[email protected]] 
Sent: Wednesday, January 08, 2014 12:14 PM
To: General list for user discussion, questions and support
Subject: Re: [BackupPC-users] Email working, BackupPC not alerting on failure

> Is this by design?  I mean, I’d expect it to tell me that it hasn’t backed up 
> for a week whether the target/client was offline or not.

This is by design. Add yourself as user in BackupPC hosts file (or through CGI 
"Edit Hosts"), and you will get messages.
For testing run BackupPC_sendEmail without options, like this:
# su -s /bin/bash backuppc -c "/usr/share/BackupPC/bin/BackupPC_sendEmail"

BackupPC_sendEmail send warnings or errors (about BackupPC system wide critical 
events) to administrative user (i.e. person responsible for BackupPC system) 
and notifications (about their particular hosts) to other users (i.e. persons 
responsible for host). Last backup age not considered as system error. So 
notification about this event will be sent to user, not to administrative user. 
(i.e. To: $user$Conf{EMailUserDestDomain}, where $user - user name from the 
hosts file).


Documentation states:

$Conf{EMailAdminUserName} = '';
     Destination address to an administrative user who will receive a nightly 
email with *warnings and errors*. If there are no *warnings or errors* then no 
email will be sent.

"$Conf{EMailNotifyOldBackupDays} = 7.0;
     How old the most recent backup has to be before notifying *user*. When 
there have been no backups in this number of days the *user* is sent an email."


P.S. Last backup fresh enough doesn't mean consistent. You will get e-mail 
notification only if host hasn't backed up at all in specified period of time.

--
Alexander

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance affects 
their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & 
PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
BackupPC-users mailing list
[email protected]
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

-----
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2014.0.4259 / Virus Database: 3658/6994 - Release Date: 01/11/14


------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
BackupPC-users mailing list
[email protected]
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to