logo       

Re: Feature Request - Message to user of machine being backed up: msg#00145

sysutils.backup.backuppc.general

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

Thanks for the replies - I knew about the $host, and that is what I want
evenutally, but there is something else stopping this from working. Even when I
put in the full path, this does not work. Like I said before, I can run the
alert_user.sh from the command line as the backuppc user and it works just like
it should - I immediatly get a popup with the correct message.

Has anybody been able to make this work?

Thanks -

Matk

Quoting Craig Barratt <cbarratt@xxxxxxxxxxxxxxxxxxxxx>:

> mark@xxxxxxxxxxxxxxxxxx writes:
>
> > 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';
>
> You need an explicit path:
>
> $Conf{DumpPreUserCmd} = '/bin/alert_user.sh';
>
> Note that you can also pass the host name so that your script
> can do the right thing for different hosts, eg:
>
> $Conf{DumpPreUserCmd} = '/bin/alert_user.sh $host';
>
> Craig
>





-------------------------------------------------------
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