BackupPC-users

Re: [BackupPC-users] DumpPreUserCmd to send an email before and after backup

2009-01-29 05:00:10
Subject: Re: [BackupPC-users] DumpPreUserCmd to send an email before and after backup
From: "Nils Breunese (Lemonbit)" <nils AT lemonbit DOT com>
To: backuppc-users AT lists.sourceforge DOT net
Date: Thu, 29 Jan 2009 10:57:09 +0100
Regis wrote:

> I would like backuppc send an email to $host and or $user, to notify  
> when a full backup being to start
>
> I know it's by "DumpPreUserCmd", but anyone can help me to write it?

You can use the mail command. Something like this:

        /bin/echo "This is the message" | /bin/mail -s "This is the subject"  
to_address

Nils Breunese.

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/