Bacula-users

Re: [Bacula-users] Update pools from config files and update every volume

2014-08-21 22:47:59
Subject: Re: [Bacula-users] Update pools from config files and update every volume
From: Bill Arlofski <waa-bacula AT revpol DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Thu, 21 Aug 2014 22:42:35 -0400
On 08/21/14 21:00, Jeff MacDonald wrote:
> Is there a trick anyone has worked out to update every single pool to match 
> the config files and then to have every volune update from every pool 
> definition?
> 
> I just did some major reconfiguring and don’t want to do it one by one.
> 
> 
> Jeff.
> 
> 
> ------------------------------------------------------------------------------
> Slashdot TV.  
> Video for Nerds.  Stuff that matters.
> http://tv.slashdot.org/
> _______________________________________________
> Bacula-users mailing list
> Bacula-users AT lists.sourceforge DOT net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>

Hi Jeff

Edit your Pool resource definition(s), then:

# bacula-dir -t -c /path/to/bacula-dir.conf

to verify syntax.

Then in bconsole, do:

* reload

and then:

* update
   Choose --> Pool from resource
              --> Select a pool that was edited

(Repeat for each edited pool)


and finally, to update any volumes already in the edited and updated pools:

* update
  Choose --> Volume Parameters
              --> 14: All Volumes from all Pools




-- 
Bill Arlofski
Reverse Polarity, LLC
http://www.revpol.com/
-- Not responsible for anything below this line --

------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users