[Box Backup] notifyadmin.*

Chris Wilson chris at qwirx.com
Mon Sep 7 23:33:38 BST 2009


Hi Edo,

On Thu, 3 Sep 2009, scartomail wrote:

> I just had a crazy thougt and am in need of some critic :-)
>
> BoxBackup uses port 2201 to do all of its work and uses openssl for it. 
> Openssh uses port 22 to communicate. So they can work along eachother.
>
> Now if you use rsync over ssh, you are able to copy the client logfiles 
> to the BB server, preferable in one location. Than you can have cron 
> jobs on the server work the logfiles and:
> - Send emails from one location to clients wich looks better organized.
> - Or one combined email to the administrator.
> - Have all the logfiles presented in a nice webpage
>
> Rsync and ssh are both available for linux and windows clients. It is 
> proven and stable technology. It would take of some points of the 
> feature list, and the BB developers don't have create that code anymore 
> because it's already there. People without specific C++ skils could work 
> on it as these are more or less administrative tasks.
>
> Would this be something to work on or is this just a crazy thougt?

Sounds like a good idea to me. You can have the client write a logfile 
using the LogFile directive in bbackupd.conf, and use the backup-finished 
event in the NotifyScript to copy that logfile to some unique, timestamped 
name, trigger an rsync, and if it's successful to delete the local logfile 
(or implement whatever local retention policy you want).

A script on the server can detect and process new logfiles from each 
client and email logs or a report to anywhere you like.

Cheers, Chris.
-- 
_____ __     _
\  __/ / ,__(_)_  | Chris Wilson <chris+sig at qwirx.com> Cambs UK |
/ (_/ ,\/ _/ /_ \ | Security/C/C++/Java/Ruby/Perl/SQL Developer |
\__/_/_/_//_/___/ | We are GNU : free your mind & your software |


More information about the boxbackup mailing list