[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bacula-devel] Patch: Update Volume Command


Hi Allan,

Good idea, but it would be much greater if this option was available in
user interface (menu). Direct command line is always
optional/obscure/undocumented.

We can imagine something like

update -> Volume -> RecyclePool
1. Default
2. Scratch
3. ...
4. *None*     <----

Maybe by tweaking select_pool_dbr().

What do you think ?

Bye

> Hi,
>
> The RecyclePoolId field in the Media table has a default value
> of 0, which means the pool should be left unchanged when the volume
> is recycled.
>
> Currently, if RecyclePoolId is changed, there is no way to change it
> back to zero again using the director (it can be done by changing the
> database table, of course).
>
> The attached patch makes the director accept e.g.
>
> update volume=volumename recyclepool=""
>
> to set RecyclePoolId to 0.
>
> Allan
>


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bacula-devel mailing list
Bacula-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/bacula-devel


This mailing list archive is a service of Copilot Consulting.