BackupPC-users

Re: [BackupPC-users] multiple pre/post commands

2009-02-03 03:00:36
Subject: Re: [BackupPC-users] multiple pre/post commands
From: Craig Barratt <cbarratt AT users.sourceforge DOT net>
To: Nick Smith <nick.smith79 AT gmail DOT com>
Date: Mon, 2 Feb 2009 23:58:25 -0800
Nick writes:

> Ive tried putting ";" in between the two commands, ive tried & and &&
> as well, with & in there, it seems to run both commands but the
> variables arent being pulled from backuppc, so the email doesnt work
> correctly.  and also the script that runs my vshadow commands doesnt
> seem to be working correctly either now that ive checked it.
> ive also tried hand editing the config.pl file and using "" around
> each command and that doesnt work either, and using "" & "" and "";""

BackupPC doesn't use a shell to execute any external commands,
so you can't use shell syntax for multiple commands.

If you need to run multiple commands you should include them
in a single shell script and point the *Cmd config variable
to that script.

Craig

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
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/