That did it - removing the '';
Thanks!
James Beam
Networking is more than just cables and connectoins...
-- Original Message --
From: "Craig Barratt"
To: "James Beam"
Sent: 2/22/2009 9:11:09 PM
Subject: Re: [BackupPC-users] Problem, Backuppc is not executing a
defined command
James writes:
> Executing DumpPreUserCmd: '/usr/local/bin/startbkpemail.sh nxweb05
> incr';
> Exec of '/usr/local/bin/startbkpemail.sh nxweb05 incr'; failed
It thinks the command is
'/usr/local/bin/startbkpemail.sh nxweb05 incr';
so it is trying to run this executable:
'/usr/local/bin/
I took a closer look at the perl code and I see the cause of the problem.
Please note I have no DNS. My PCs use DHCP, but are configured in BackupPC
with the host table's DHCP flag set to zero.
Here is what I think is happening:
1. BackupPC_dump is called periodically at each WakeupSchedule inter
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 t
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 exam
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 pos