BackupPC-users

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

2009-02-02 19:34:40
Subject: Re: [BackupPC-users] multiple pre/post commands
From: Nick Smith <nick.smith79 AT gmail DOT com>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Mon, 2 Feb 2009 19:33:07 -0500
What would the script look like?

The two commands are:
/etc/backuppc/preusercmd-host1.sh $host
/etc/backuppc/startbkupemail.sh $user $xferOK $host $type $cmdType

the latter one has from what ive played with it, has to be run from
the predump command or the variables backuppc defines dont get picked
up for some reason.

any ideas?

On Mon, Feb 2, 2009 at 7:16 PM, Rob Owens <rowens AT ptd DOT net> wrote:
> On Mon, Feb 02, 2009 at 06:47:35PM -0500, Nick Smith wrote:
>> Is it possible to use more than on pre/post command per host?
>> Would they need to be separated by a semi-colon or comma or similar?
>>
>> Thanks for any help, i couldnt find the info in the docs or from google.
>>
> I'm not sure, but couldn't you just make a script that runs all your 
> commands, and call that script as a single pre/post command?
>
> -Rob
>
> ------------------------------------------------------------------------------
> 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/
>

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