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

2009-02-03 Thread Les Stott
Nick Smith wrote: > Wow, that looks pretty impressive! I would like to try something like > that out at my site. > I had a couple questions. > > Where are the variables defined? aka $user $host $3 etc? > Are they internal backuppc variables already defined or do i need to > do that somewhere? > > t

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

2009-02-02 Thread Nick Smith
Wow, that looks pretty impressive! I would like to try something like that out at my site. I had a couple questions. Where are the variables defined? aka $user $host $3 etc? Are they internal backuppc variables already defined or do i need to do that somewhere? thanks for the help, and thanks for

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

2009-01-29 Thread Les Stott
Madcha wrote: > Thanks, > > But how write this command, for send an email to $host? or $user? > > Here is one way to do it, maybe not the most elegant but it works. Use it as a guide and improve on it. I set this up ages ago for a client, never tweaked it since then. These will send a note be

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

2009-01-29 Thread Madcha
Thanks, But how write this command, for send an email to $host? or $user? +-- |This was sent by rageinh...@msn.com via Backup Central. |Forward SPAM to ab...@backupcentral.com. +--

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

2009-01-29 Thread Nils Breunese (Lemonbit)
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/mai

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

2009-01-28 Thread Madcha
Hi, 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? Thanks by advance. Regis. +-- |This was sent by