import: Only read last time from sql if --incremental lacks timestamp
[nagios-reports-module.git] / report-data.backup
blob7c7f7783db3655d717d4673b9341f00ed00f5d2d
1 DESCRIPTION="op5 monitor report data (large and largely unnecessary)"
3 function BACKUP_ACTION()
5         return 0
9 # fairly basic stuff, really. We simply re-run the import program
10 # and assume the nagios logs are in place
11 function RESTORE_ACTION()
13         /opt/monitor/op5/reports/module/import --truncate-db \
14                 /opt/monitor/var/nagios.log /opt/monitor/var/archives/nagios-*.log \
15                 || :