Bacula-users

Re: [Bacula-users] Do I have to update /etc/bacula/bacula-dir.conf everytime I add a new client, even except ip everything is same, btw is there some sort of template new client could follow?

2012-12-18 03:14:09
Subject: Re: [Bacula-users] Do I have to update /etc/bacula/bacula-dir.conf everytime I add a new client, even except ip everything is same, btw is there some sort of template new client could follow?
From: Jérôme Blion <jerome.blion AT free DOT fr>
To: bacula-users AT lists.sourceforge DOT net
Date: Tue, 18 Dec 2012 09:10:49 +0100
Le 18/12/2012 08:24, Zhenkai Jiang a écrit :
>
> just curious how to make adding new client work to be automated 
> instead of updating conf file manually

Hello,

I don't like to modify bacula-dir.conf.
I added this line in bacula-dir.conf to manage clients easily:

@|"sh -c 'for f in /etc/bacula/clients/*/*.conf; do  echo @${f}; done'"

(it's documented into bacula manual)

I created a template with these 2 files:

root@server:/etc/bacula/clients/dev-fd# ll
-rw-r--r-- 1 root root 332 20 juin   2011 client.conf
-rw-r--r-- 1 root root 205  2 juin   2011 jobs.conf

After these two files have been created, I just have to issue a reload 
into bconsole and that's all !

It's ONE way. You can create your own.

HTH.
Jerome Blion.

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
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>