Bacula-users

Re: [Bacula-users] Running arbitrary shell commands in client node before and after backup job

2012-02-29 18:30:06
Subject: Re: [Bacula-users] Running arbitrary shell commands in client node before and after backup job
From: Konstantin Khomoutov <flatworm AT users.sourceforge DOT net>
To: Mahmudul Hasan <cs.mahmud AT gmail DOT com>
Date: Thu, 1 Mar 2012 03:28:26 +0400
On Wed, Feb 29, 2012 at 03:46:29PM -0700, Mahmudul Hasan wrote:

> I want to run a shell command before the backup job starts on the filer
> (client) node, and one after the backup job is finished. Both of these
> commands(may be a shell script) will run
> on the client node.
> 
> The purpose is to change the mode of my database (by invoking a shell
> command) such that it begins to store all the transactions in a separate
> file during the backup, and later commits them when the backup is done.
> 
> Is there a way to do it ?
Yes, read the section devoted to the "RunScript" job directive and its
various variations in [1].

Note that Bacula is a rather complicated system which is better
percieved as being a framework for implementing your own backup
solution.  So it's not usually set up by tweaking a sample configuration
file; instead, you're supposed to read (most of) its documentation up
front.

1. http://bacula.org/5.2.x-manuals/en/main/main/Configuring_Director.html#7544


------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>