Koozali.org: home of the SME Server

Backup Log

Charles Burns

Backup Log
« on: May 15, 2003, 02:41:22 PM »
Hello,
Is there any way I can have the Backup report emailed to another user other than the admin?

Kind regards,
Charles

Ray Mitchell

Re: Backup Log
« Reply #1 on: May 30, 2003, 01:21:46 PM »
Set up a group named adminrep or whatever. Then include the users you want to receive the admin & backup reports in that group. This will not isolate the backup reports but at least more than one user will get all the admin and backup reports.

Ray

Offline gbentley

  • ****
  • 482
  • +0/-0
  • Forum Lurker
    • Earth
Backup Log
« Reply #2 on: April 18, 2007, 09:09:13 AM »
In /etc/crontab there is a line ;

0 2 * * * root /sbin/e-smith/do_backup

Which I suspect is derived from expanding the template ;

In the file /etc/e-smith/templates/etc/crontab/backup at the bottom I was thinking of ammending to this ;

--snip--

"$backupMin $backupHour * * * root"
. " /sbin/e-smith/do_backup | mail -s "Tape Backup Log" admin@otherdomain.com"

--snip--

Any reasons this wouldnt work (syntax or otherwise)?

I am not sure how to customise just part of a template so any guidance on the above or on customising templates would be greatfully received !!!

Many Thanks !

ps This is a feature request :)
"If you don't know what you want, you end up with a lot you don't."