logo       

RE: Feature Request - Message to user of machine being backed up: msg#00141

sysutils.backup.backuppc.general

Subject: RE: Feature Request - Message to user of machine being backed up

Trying to send the user a popup message that a backup is about to start, I put
this line in my conf.pl:

$Conf{DumpPreUserCmd} = 'alert_user.sh';

I put a script called alert_user.sh in /bin that looks like:

#!/bin/bash

MESSAGE="Do not be alarmed - a backup is now in progress!"
echo "$MESSAGE" | smbclient -W public -E -M wpl-st-me -U "Backup Server"

This does not work. Nothing shows up on the logs. This script does work if I do:

su - backuppc alert_user.sh

at a prompt.

What am I doing wrong?

Mark


Quoting "Brown, Wade ASL (GE Healthcare)" <Matthew.Brown@xxxxxxxxxx>:

> Ya, I see what you mean.
>
> You could send a "winpopup" message via smbclient. The client must be
> listening, tho.
>
> - Wade
>
>
>
> -----Original Message-----
> From: backuppc-users-admin@xxxxxxxxxxxxxxxxxxxxx
> [mailto:backuppc-users-admin@xxxxxxxxxxxxxxxxxxxxx]On Behalf Of
> mark@xxxxxxxxxxxxxxxxxx
> Sent: Monday, February 21, 2005 9:36 AM
> To: backuppc-users@xxxxxxxxxxxxxxxxxxxxx
> Subject: RE: [BackupPC-users] Feature Request - Message to user of
> machine being backed up
>
>
> Wade -
>
> Good point, but if I am not reading my email, and the computer starts going
> crazy, I need a message that pops up right then. I think that the pre
> command
> might be able to do that, however, using the smbclient command.
>
> I will play with it and see what I come up with.
>
> Thanks -
>
> Mark
>
> Quoting "Brown, Wade ASL (GE Healthcare)" <Matthew.Brown@xxxxxxxxxx>:
>
> > BackupPC has a pre and post backupup command. Use that to issue an
> email.
> >
> > - Wade
> >
> >
> >
> >
> > -----Original Message-----
> > From: backuppc-users-admin@xxxxxxxxxxxxxxxxxxxxx
> > [mailto:backuppc-users-admin@xxxxxxxxxxxxxxxxxxxxx]On Behalf Of
> > mark@xxxxxxxxxxxxxxxxxx
> > Sent: Monday, February 21, 2005 9:27 AM
> > To: backuppc-users@xxxxxxxxxxxxxxxxxxxxx
> > Subject: [BackupPC-users] Feature Request - Message to user of machine
> > being backed up
> >
> >
> > Hello -
> >
> > I am using BackupPC at the library where I work with great success - it
> has
> > solved many problems for me.
> >
> > However -
> >
> > This morning, I was working on my PC, and I noticed that the hard drive
> was
> > working like mad, and the systray network traffic indicator was solidly
> on
> > all
> > the time. I could not for the life of me figure out what process was
> running
> > so
> > hard, and I thought I might have picked up a virus.
> >
> > It was, of course, BackupPC doing its job.
> >
> > Do you suppose that BackupPC could be taught to send an SMB messaage to
> the
> > PC
> > that it is going to backup, and maybe periodically during the backup, so
> that
> > a
> > user will not become alarmed at all the HD and network activity?
> >
> > Just an idea.
> >
> > Mark Ehle
> > Computer Support Librarian
> > Willard Public Library
> > Battle Creek, MI
> >
> >
> >
> > -------------------------------------------------------
> > SF email is sponsored by - The IT Product Guide
> > Read honest & candid reviews on hundreds of IT Products from real users.
> > Discover which products truly live up to the hype. Start reading now.
> > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> > _______________________________________________
> > BackupPC-users mailing list
> > BackupPC-users@xxxxxxxxxxxxxxxxxxxxx
> > https://lists.sourceforge.net/lists/listinfo/backuppc-users
> > http://backuppc.sourceforge.net/
> >
>
>
>
>
>
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> BackupPC-users mailing list
> BackupPC-users@xxxxxxxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/backuppc-users
> http://backuppc.sourceforge.net/
>





-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
BackupPC-users mailing list
BackupPC-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise