I was just wondering if I have wrong values in my Catalog?

> mysql> select VolumeName, PoolId, RecyclePoolId from Media;
> +-----------------+--------+---------------+
> | VolumeName      | PoolId | RecyclePoolId |
> +-----------------+--------+---------------+
> | Warren-01-01    |      5 |             0 | 
> | Gershwin-01-01  |      2 |             0 | 
> | Gershwin-01-02  |      2 |             0 | 
> | Gershwin-01-03  |      2 |             0 | 
> | Rodgers-01-01   |      6 |             0 | 
> | Gershwin-02-01  |      2 |             0 | 
> | Gershwin-02-02  |      2 |             0 | 
> | Gershwin-02-03  |      2 |             0 | 
> | Berlin-01-01    |      3 |             0 | 

etc.

RecyclePoolId is set to 0 for all volumes, which makes the volumes
recycle into the same pool.

However, if RecyclePoolId is accidentally changed, it is impossible
to set it back to 0 again using the director (although it can be set
back to 0 using SQL).

The fact that it cannot be set to 0 makes me think it should not be
zero at all, and I should fix my Media table.

The catalog has been updated from an older format for 2.2.5 (it
started at 1.38.11), so maybe this was caused by the update. If I
had created my volumes in 2.2.5, perhaps RecyclePoolId would have
defaulted to the same as PoolId.

Anyone know the answer?

Allan

OS: Solaris 10
Bacula version: 2.2.5
Catalog: MySQL 5.0.45

[I noticed this because, on a whim, I used BAT to edit a couple of
volumes, instead of my usual bconsole/gconsole. The next time these
volumes were recycled, they changed pool.]

ARB

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

Reply via email to