Bacula-users

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

2014-08-22 12:55:03
Subject: Re: [Bacula-users] Update pools from config files and update every volume
From: Jeff MacDonald <jeff AT terida DOT com>
To: Heitor Faria <heitor AT bacula.com DOT br>
Date: Fri, 22 Aug 2014 13:52:41 -0300
Ha, good catch.

And thank you.

Jeff.

On Aug 22, 2014, at 9:27 AM, Heitor Faria <heitor AT bacula.com DOT br> wrote:

I made the following test, changing the Max Volumes and Label Format. And worked like a charm:

*list pools
+--------+---------+---------+---------+----------+-------------+
| poolid | name    | numvols | maxvols | pooltype | labelformat |
+--------+---------+---------+---------+----------+-------------+
|      1 | Default |       1 |       0 | Backup   | *           |
|      2 | File    |       2 |     100 | Backup   | *           |
|      3 | Scratch |       0 |       0 | Backup   | *           |
+--------+---------+---------+---------+----------+-------------+
*quit
root@serpro-1552713:/etc/bacula# vi bacula-dir.conf 
root@serpro-1552713:/etc/bacula# bconsole
Conectando ao Diretor localhost:9101
1000 OK: serpro-1552713-dir Version: 5.2.5 (26 January 2012)
Digite um período para cancelar um comando.
*reload
*list pools
Automatically selected Catalog: MyCatalog
Using Catalog "MyCatalog"
+--------+---------+---------+---------+----------+-------------+
| poolid | name    | numvols | maxvols | pooltype | labelformat |
+--------+---------+---------+---------+----------+-------------+
|      1 | Default |       1 |       0 | Backup   | *           |
|      2 | File    |       2 |     200 | Backup   | file        |
|      3 | Scratch |       0 |       0 | Backup   | *           |
+--------+---------+---------+---------+----------+-------------+

Anyway its necessary to | update > volume parameters > all volumes from all pools | to update the already created volumes.

Cheers,


On Fri, Aug 22, 2014 at 9:22 AM, Heitor Faria <heitor AT bacula.com DOT br> wrote:
Doesn't Bacula update de Pools every time director daemon is restarted?
About the Pools separation, I just do that if I want to have different retentions for its volumes.

Cheers,


On Fri, Aug 22, 2014 at 8:54 AM, Jeff MacDonald <jeff AT terida DOT com> wrote:
Which also makes me wonder if having a separate fill/inc/diff pool for each and every client is wise… or if it would be wiser to just have a separate full/inc/diff and only 3 pools :)


On Aug 21, 2014, at 11:42 PM, Bill Arlofski <waa-bacula AT revpol DOT com> wrote:

> 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


------------------------------------------------------------------------------
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



--
============================================
Heitor Medrado de Faria | Need Bacula training? 10% discount coupon code at Udemy: bacula-users
Site: www.bacula.com.br
Facebook: heitor.faria
Gtalk: heitorfaria AT gmail DOT com
============================================



--
============================================
Heitor Medrado de Faria | Need Bacula training? 10% discount coupon code at Udemy: bacula-users
+55 61 2021-8260
+55 61 8268-4220
Site: www.bacula.com.br
Facebook: heitor.faria
Gtalk: heitorfaria AT gmail DOT com
============================================

------------------------------------------------------------------------------
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