BackupPC-users

Re: [BackupPC-users] Problem, Backuppc is not executing a defined command before running a backup

2009-02-22 22:13:26
Subject: Re: [BackupPC-users] Problem, Backuppc is not executing a defined command before running a backup
From: Craig Barratt <cbarratt AT users.sourceforge DOT net>
To: James Beam <jbeam AT jbnetworks DOT org>
Date: Sun, 22 Feb 2009 19:11:09 -0800
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/startbkpemail.sh

rather than this command:

    /usr/local/bin/startbkpemail.sh nxweb05 incr

I suspect you have added quotation symbols inside the CGI editor for
DumpPreUserCmd.  The quotation marks and semicolon should not be
used inside in the CGI editor - those are only if you are editing
the config.pl settings directly.

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/