PDA

View Full Version : Backup email notifications


meneul
11-08-2012, 03:05 AM
I'm using ISPmanager lite. I want to be notified by email when backup fails. How do I achieve it?

slava
11-08-2012, 09:24 PM
Hello,
you can write own script for parse /usr/local/ispmgr/var/pbackup.log and send fail lines to email

meneul
11-08-2012, 10:08 PM
Not really the answer I hoped for, is that not a standard feature? If so, exactly what lines I should be looking for?

slava
11-10-2012, 08:22 PM
ISPmanager haven't this feature. You can look lines such as backup error

meneul
11-10-2012, 11:57 PM
grep "backup error" /usr/local/ispmgr/var/ispmgr.log doesn't yield any results. And I sure did have some failures. Anything more concrete?

slava
11-11-2012, 08:17 AM
pbackup.log - not ispmgr.log

meneul
11-11-2012, 08:42 AM
ok, I see some errors in it. Will "grep -i 'backup error' /usr/local/ispmgr/var/pbackup.log" cover all backup errors?

meneul
11-19-2012, 08:39 AM
am really I asking something too complicated? Is there any documentation on pbackup.log?

slava
11-20-2012, 11:03 PM
'error' word show all erros in file, no documentation exist for pbackup.log