Installation instructions for bareos logwatch script
04 Sep 2005

Installation into a standard logwatch configuration is fairly
straightforward. Run 'make install' as root from this directory.

For manual install copy the files as indicated below:

cp -p scripts/logwatch/bareos /etc/log.d/scripts/services/bareos
cp -p scripts/logwatch/applybareos /etc/log.d/scripts/shared/applybareosdate
cp -p scripts/logwatch/logfile.bareos.conf /etc/log.d/conf/logfiles/bareos.conf
cp -p scripts/logwatch/services.bareos.conf /etc/log.d/conf/services/bareos.conf
chmod 755 /etc/log.d/scripts/services/bareos
chmod 755 /etc/log.d/scripts/shared/applybareosdate
chmod 644 /etc/log.d/conf/logfiles/bareos.conf
chmod 644 /etc/log.d/conf/services/bareos.conf

To test your installation run logwatch (as root):
/etc/log.d/logwatch

The following is the kind of output you could expect to be added to the
standard logwatch listing:

 --------------------- bareos Begin ------------------------

Jobs Run:
2005-09-02 2012 backupNightlySave.2005-09-02_01.05.00
     BackupOK

2005-09-02 2013 scottNightlySave.2005-09-02_01.05.01
     BackupOK

2005-09-02 2014 marthaNightlySave.2005-09-02_01.05.02
     BackupOK

2005-09-02 2015 lyndaNightlySave.2005-09-02_01.05.03
     BackupOK

2005-09-02 2016 backupBackupCatalog.2005-09-02_01.10.00
     BackupOK


 ---------------------- bareos End -------------------------
