Backup report via email???

Snowman30

Well-Known Member
PartnerNOC
Apr 7, 2002
679
0
316
cPanel Access Level
DataCenter Provider
Im wondering if there is a way to get the backup function once its finished each night to send an email to report what domains were backup

I could have sworn cpbackup used to do this?
 

websupport

Well-Known Member
Jun 24, 2006
92
0
156
Set a cron

Set an email address to get backup of your data in CronTab. So CronTab will send you
backup file to specified email address.

:D
 

Snowman30

Well-Known Member
PartnerNOC
Apr 7, 2002
679
0
316
cPanel Access Level
DataCenter Provider
No not what i want

I want a report to show what account usernames have been baced up by cpbackup i odnt want the actuall data (damn that would be a 20Gb email):eek:
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,465
30
473
Go on, have a guess
It should do that anyway. If you're not receiving them, then either the backups are not completing or the email is being lost. If you have extended exim logging enabled:

grep cpbackup /var/log/exim_mainlog

Then grep for the message ID to see where it went.
 

Snowman30

Well-Known Member
PartnerNOC
Apr 7, 2002
679
0
316
cPanel Access Level
DataCenter Provider
Jonathon

This isnt working on any of our servers...

I just did a check on ome of them and one came back with:

2006-08-22 09:37:36 cwd=/backup/cpbackup/Monday 2 args: /usr/sbin/sendmail -t

others come back with nothign at all

a couple of them came back that they had sent messages to my email and ive checked and nothing had been delivered and nothign is still in their queues undelivered

I have no problems getting any messages from the various servers cpanels so im at a loss

Ive got your daily backup rotation script setup and i do know that backups are occuring so im at a loss to explain it
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,465
30
473
Go on, have a guess
Could they be being marked as spam and being deleted or filed elsewhere? You might want to add [email protected] for each server you receive emails from to the MailScanner whitelist on the server that you receive the emails to in WHM > MailScanner > Front-End > Spam Whitelist