SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
Not getting mail from BackupPC
Author Message
Post Not getting mail from BackupPC 
I am not getting status email from BPC.
The following two tests work fine from the command
line when I am the backuppc user (on Fedora 15):

./BackupPC_sendEmail -u norm
./BackupPC_sendEmail -c

In the first case, I receive a test email from BPC.
In the second case, I first shut down the BPC daemon,
and I do get a message to that effect.

So, why am I not getting regular emails from BPC?
Here are select fields from my config file:

EMailNotifyMinDays 0.1

CgiURL http://localhost/cgi-bin/BackupPC/BackupPC_Admin.pl

Given that the two tests, above, work fine, what other fields
do I need to set? How may I debug this?

There is no indication in /var/log/maillog that BPC is trying to send me an email.

Thank you.

Post Not getting mail from BackupPC 
On Sat, Apr 21, 2012 at 2:27 AM, Norman Goldstein <normvcr < at > telus.net> wrote:
I am not getting status email from BPC.
The following two tests work fine from the command
line when I am the backuppc user (on Fedora 15):

./BackupPC_sendEmail -u norm
./BackupPC_sendEmail -c

In the first case, I receive a test email from BPC.
In the second case, I first shut down the BPC daemon,
and I do get a message to that effect.

So, why am I not getting regular emails from BPC?
Here are select fields from my config file:

EMailNotifyMinDays 0.1

Backuppc doesn't send 'status' email, it only sends notifications of
problems - and I think it only does it during the nightly run. Has
more time than you specifed elapsed for backups when the nightly run
starts?

If you want an email just to know it is running, I think if you put
some bogus directories in the pc directory it will include that
information in the nightly mail.

--
Les Mikesell
lesmikesell < at > gmail.com

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Post Not getting mail from BackupPC 
I'm sorry if this is appearing as a new thread -- I did not figure
out how to continue a single thread.

I followed Les's suggestion and entered a non-existent
folder and file to backup. I initiated an immediate incremental
backup. After it completed, the log showed no errors, and no
email was sent to my account.

Here is the contents of the error log of this last backup:

- - - - - - - -
Contents of file /var/lib/BackupPC//pc/melodic/XferLOG.120.z, modified
2012-04-21 18:04:02 (Extracting only Errors)

incr backup started back to 2012-04-14 20:00:07 (backup #112) for directory /
Running: /usr/bin/ssh -q -x -l root melodic /usr/bin/rsync --server --sender --numeric-ids --perms --owner --group -D --links --hard-links --times --block-size=2048 --recursive . /
Xfer PIDs are now 18006
Got remote protocol 30
Negotiated protocol version 28
Sent include: /home
Sent include: /home/disks
Sent include: /home/disks/fat
Sent include: /home/disks/fat/SW
Sent include: /home/disks/fat/SD38
Sent include: /home/norm9
Sent include: /home/norm9/.thunderbird
Sent include: /home/disks/fat/RITE
Sent include: /etc
Sent include: /etc/BackupPC
Sent include: /home/work
Sent include: /home/work/notes
Sent include: /home/norm9/Documents
Sent include: /home/norm9/Documents/cookbook2
Sent include: /home/disks/fat/ScareCrow
Sent include: /home/norm15
Sent include: /home/norm15/DoesNotExist
Sent include: /home/norm15/DoesNotExist/dne.txt
Sent exclude: /*
Sent exclude: /home/*
Sent exclude: /home/disks/*
Sent exclude: /home/disks/fat/*
Sent exclude: /home/norm9/*
Sent exclude: /etc/*
Sent exclude: /home/work/*
Sent exclude: /home/norm9/Documents/*
Sent exclude: /home/norm15/*
Sent exclude: /home/norm15/DoesNotExist/*
Sent exclude: *~
Sent exclude: /home/norm9/.thunderbird/c67zbifx.default/Mail/Local Folders/Archives*
Sent exclude: /home/norm9/.thunderbird/c67zbifx.default/Mail/pop.gmail.com
Xfer PIDs are now 18006,18167
[ skipped 465 lines ]
Done: 91 files, 576319460 bytes
- - - - - - - - - - -

The folder that does not exist is called DoesNotExist .

Why is DoesNotExist also in the exclude list?

I have never gotten a nightly email about the backup process.

Thank you.

--------------------------------------------------

On Sat, Apr 21, 2012 at 2:27 AM, Norman Goldstein<normvcr < at > ...> wrote:
I am not getting status email from BPC.
The following two tests work fine from the command
line when I am the backuppc user (on Fedora 15):

./BackupPC_sendEmail -u norm
./BackupPC_sendEmail -c

In the first case, I receive a test email from BPC.
In the second case, I first shut down the BPC daemon,
and I do get a message to that effect.

So, why am I not getting regular emails from BPC?
Here are select fields from my config file:

EMailNotifyMinDays 0.1

Backuppc doesn't send 'status' email, it only sends notifications of
problems - and I think it only does it during the nightly run. Has
more time than you specifed elapsed for backups when the nightly run
starts?

If you want an email just to know it is running, I think if you put
some bogus directories in the pc directory it will include that
information in the nightly mail.

--
Les Mikesell
lesmikesell < at > ...




------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Post Not getting mail from BackupPC 
On Sun, Apr 22, 2012 at 2:11 PM, Norman Goldstein <normvcr < at > telus.net> wrote:
I'm sorry if this is appearing as a new thread -- I did not figure
out how to continue a single thread.

I followed Les's suggestion and entered a non-existent
folder and file to backup.

No, I meant put a directory under /var/lib/backuppc/pc that isn't a
backup target.

 I initiated an immediate incremental
backup.  After it completed, the log showed no errors, and no
email was sent to my account.

Emails aren't sent at the end of a backup run, they are sent when
Backuppc_Nightly runs, which should be the first time in your wakeup
interval list.

--
Les Mikesell
lesmikesell < at > gmail.com

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Post Not getting mail from BackupPC 
Well, that worked -- I got an email from BPC to let me know
about the folder that was not a backup target.

On another mail-related note, every time I go to, or refresh,
a host homepage within BPC, one of the Summary messages
at the top of the page is

Last email sent to norm15 ([email]norm15[/email]) was at 4/24 05:26, subject "".

The time is always the current time, and the subject is always empty.
But, there are no such messages in my inbox.

As Les explained earlier, emails are sent as part of the Nightly,
respecting also the minimum time between such emails. What events
trigger emails being sent?

Thanks, again
Norm


On 04/22/2012 05:12 PM, Les Mikesell wrote: On Sun, Apr 22, 2012 at 2:11 PM, Norman Goldstein <normvcr < at > telus.net> ([email]normvcr < at > telus.net[/email]) wrote:
I'm sorry if this is appearing as a new thread -- I did not figure
out how to continue a single thread.

I followed Les's suggestion and entered a non-existent
folder and file to backup.

No, I meant put a directory under /var/lib/backuppc/pc that isn't a
backup target.

 I initiated an immediate incremental
backup.  After it completed, the log showed no errors, and no
email was sent to my account.

Emails aren't sent at the end of a backup run, they are sent when
Backuppc_Nightly runs, which should be the first time in your wakeup
interval list.



Post Not getting mail from BackupPC 
On Tue, Apr 24, 2012 at 7:34 AM, Norman Goldstein <normvcr < at > telus.net> wrote:

As Les explained earlier, emails are sent as part of the  Nightly,
respecting also the minimum time between such emails.  What events
trigger emails being sent?

Not having a backup for that host for more than
EMailNotifyOldBackupDays is the trigger. And EMailNotifyMinDays must
have elapsed since the last annoying notification to that user. The
idea is that such email should be rare and taken seriously since
people tend to ignore frequently-repeated messages and the backuppc
status page is there for the clicking if you want to check more often.

--
Les Mikesell
lesmikesell < at > gmail.com

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Post Not getting mail from BackupPC 
On 2012-04-24 13:34, Norman Goldstein wrote:
On another mail-related note, every time I go to, or refresh,
a host homepage within BPC, one of the Summary messages
at the top of the page is

Last email sent to norm15 <mailto:norm15> was at 4/24 05:26,
subject "".

The time is always the current time, and the subject is always empty.
But, there are no such messages in my inbox.

It's a display bug. The attached patch fixes it. Would anyone care to
accept this upstream?

Regards,
Tyler

--
"... jingoism, racism, fear, religious fundamentalism: these are the
ways of appealing to people if you’re trying to organize a mass base
of support for policies that are really intended to crush them."
-- Noam Chomsky, in "Understanding Power"

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Post Not getting mail from BackupPC 
That makes sense.

How about being told to back up a non-existent file?
Would not BPC consider that important enough to
inform the user?


On 04/24/2012 05:55 AM, Les Mikesell wrote:
On Tue, Apr 24, 2012 at 7:34 AM, Norman Goldstein<normvcr < at > telus.net> wrote:
As Les explained earlier, emails are sent as part of the Nightly,
respecting also the minimum time between such emails. What events
trigger emails being sent?
Not having a backup for that host for more than
EMailNotifyOldBackupDays is the trigger. And EMailNotifyMinDays must
have elapsed since the last annoying notification to that user. The
idea is that such email should be rare and taken seriously since
people tend to ignore frequently-repeated messages and the backuppc
status page is there for the clicking if you want to check more often.



------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Post Not getting mail from BackupPC 
I have applied the patch. It works for me.

Thanks!


On 04/24/2012 06:50 AM, Tyler J. Wagner wrote:
On 2012-04-24 13:34, Norman Goldstein wrote:
On another mail-related note, every time I go to, or refresh,
a host homepage within BPC, one of the Summary messages
at the top of the page is

Last email sent to norm15<mailto:norm15> was at 4/24 05:26,
subject "".

The time is always the current time, and the subject is always empty.
But, there are no such messages in my inbox.
It's a display bug. The attached patch fixes it. Would anyone care to
accept this upstream?

Regards,
Tyler



------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Post Not getting mail from BackupPC 
On Tue, Apr 24, 2012 at 11:59 AM, Norman Goldstein <normvcr < at > telus.net> wrote:
That makes sense.

How about being told to back up a non-existent file?
Would not BPC consider that important enough to
inform the user?

No, but a non-existant share would notify when it hadn't completed any
in the required time. Or if there are no new files on a share and
that is configured to make it fail for the EMailNotifyOldBackupDays
interval.

--
Les Mikesell
lesmikesell < at > gmail.com

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB