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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users