Re: [BackupPC-users] Email summary after backup

2007-10-19 Thread dan
i would just install postfix or sendmail and add an alias for the group you wanted to send emails to. then when you send a mail to [EMAIL PROTECTED] will mail to everyone in the appropriate alias file. On 10/19/07, Martin Šoltis <[EMAIL PROTECTED]> wrote: > > Hi Jean, thank you very much. > > It

Re: [BackupPC-users] Email summary after backup

2007-10-19 Thread Martin Šoltis
Hi Jean, thank you very much. It looks great, but if i can ask, what do i need to change if i want to send email at more addresses or at address which has nothing to do with users from backuppc ? And little OT question, not only for you. When i send email from backuppc it comes from [EMAIL PROT

Re: [BackupPC-users] Email summary after backup

2007-10-18 Thread Jean-Michel Beuken
Dear Martin, > I am searching after some script or possibility to send email at some > addresses after every backup, and in this email i need : > > 1. What has been backed up. > 2. When > 3. If backup was successfull or not > 4. If not - why > almost all yours requests ;-) in config.pl (or in

Re: [BackupPC-users] Email summary after backup

2007-10-18 Thread dan
i didnt know it was for customers, i thought it was for you. anyway, sorry it couldnt be more help On 10/18/07, Martin Šoltis <[EMAIL PROTECTED]> wrote: > > Thanks Dan, but this is not very usefull. I can't send to customers > something > like this > > 007-10-05 01:30:01 incr backup started back

Re: [BackupPC-users] Email summary after backup

2007-10-18 Thread dan
along those lines, i would put it on the wiki and ask developers to make an interface to it in a future version. On 10/18/07, Markus Iturriaga Woelfel <[EMAIL PROTECTED]> wrote: > > > > I think that i shall have to write something better, some script that > > will be > > able to parse output from

Re: [BackupPC-users] Email summary after backup

2007-10-18 Thread Martin Šoltis
Thanks Dan, but this is not very usefull. I can't send to customers something like this 007-10-05 01:30:01 incr backup started back to 2007-10-04 01:30:01 (backup #21) for directory / 2007-10-05 01:33:18 incr backup started back to 2007-10-04 01:30:01 (backup #21) for directory /data/netserv.ne

Re: [BackupPC-users] Email summary after backup

2007-10-18 Thread dan
you might want to use tail on that zcat also, you would get a pretty big email otherwise On 10/18/07, dan <[EMAIL PROTECTED]> wrote: > > you could do something like this in a script > > #!/bin/bash > #logfilemails > for file in `find /path/to/backups -name Xlog*`; do > echo "-

Re: [BackupPC-users] Email summary after backup

2007-10-18 Thread dan
you could do something like this in a script #!/bin/bash #logfilemails for file in `find /path/to/backups -name Xlog*`; do echo "-" echo 'backup summary for $file' Backuppc_zcat $file echo "

[BackupPC-users] Email summary after backup

2007-10-18 Thread Martin Šoltis
Hi all I am searching after some script or possibility to send email at some addresses after every backup, and in this email i need : 1. What has been backed up. 2. When 3. If backup was successfull or not 4. If not - why Do you know someone if there is something like this ? First of all i want