[prev in list] [next in list] [prev in thread] [next in thread]
List: bacula-users
Subject: Re: [Bacula-users] dynamic fileset and /usr/global
From: "Shaligram Bhagat, Yateen (Nokia - IN/Bangalore)" <yateen.shaligram_bhagat () nokia
Date: 2021-11-03 16:50:57
Message-ID: DBAPR07MB6501CD0906CBBB48F8AD7DB4DB8C9 () DBAPR07MB6501 ! eurprd07 ! prod ! outlook ! com
[Download RAW message or body]
Thanks Uwe,
Well, I have done it the other way round.
I am now calling the ClientRunBeforeJob script in the Fileset's File dire=
ctive first, and then calling the actual dynamic file set creation script.
This has worked !
Regards,
Yateen
=
-----Original Message-----
From: Uwe Schuerkamp <uwe.schuerkamp@nionex.net> =
Sent: Wednesday, November 3, 2021 2:44 PM
To: bacula-users@lists.sourceforge.net
Subject: Re: [Bacula-users] dynamic fileset and /usr/global
On Tue, Nov 02, 2021 at 02:07:26PM +0000, Bill Arlofski via Bacula-users wr=
ote:
> On 11/1/21 21:57, Shaligram Bhagat, Yateen (Nokia - IN/Bangalore) wrote:
> > Hi,
> >
> > We are using Bacula 9.4.4 on Centos.
> >
> > We use dynamic fileset using a script executed on the client. =A0Also t=
here is a clientRunBeforeJob script.
> >
> > But we found that the dynamic fileset script is executed first and then=
the =A0clientRunBeforeJob script.
> >
> > We need to have it the other way round.
> >
> > How to accomplish it ?
A workaround would be to create the fileset in your "RunBeforeJob"
script, this way you could order the tasks around as you need them.
We use a few "dynamic" filesets in our setup too, but they're only dynamic =
in as far as they point to static files on the client containing the files =
and directories to back up.
These files get created dynamically and are then included in the client's f=
ileset using the "< /var/tmp/fileset.txt" mechanism.
All the best,
Uwe
--
Uwe Sch=FCrkamp | email: <uwe.schuerkamp@nionex.net>
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic