Re: [BackupPC-users] Problem, Backuppc is not executing a defined command before running a backup
2009-02-22 18:19:58
Executing DumpPreUserCmd: '/usr/local/bin/startbkpemail.sh nxweb05
incr';
Exec of '/usr/local/bin/startbkpemail.sh nxweb05 incr'; failed
Did not see this before - any ideas on what would cause it to fail?
When I run it from the command line it works just fine.
James Beam
Networking is more than just cables and connectoins...
------ Original Message ------
From: "Craig Barratt" <cbarratt AT users.sourceforge DOT net>
To: "James Beam" <jbeam AT jbnetworks DOT org>
Sent: 2/22/2009 4:47:52 PM
Subject: Re: [BackupPC-users] Problem, Backuppc is not executing a
defined command before running a backup
>James writes:
>
>>I wanted to be able to notify a group of people when any backup
>>starts
>>or ends, so I did some googling and found an archived email on this
>>list about how I might do it.
>>
>>I made a script with the following contents as a test and named
>>it startbkpemail.sh (just used the example name from the post)
>>and added the a line '/usr/local/bin/startbkpemail.sh $host
>>$type'; in the DumpPreUserCmd field in the host config - but
>>it is not executing it. Any suggestions? The permissions on the
>>file are 777 for testing so I know that is not the problem.
>
>Is there any error message in the XferLOG file? Does it say it is
>executive
>your DumpPreUserCmd?
>
>Craig
>
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
|
|
|