Bacula-users

Re: [Bacula-users] Bacula mixing up pools and mount points

2009-06-15 16:48:15
Subject: Re: [Bacula-users] Bacula mixing up pools and mount points
From: Jonathan Bayer <jbayer AT regiscope DOT com>
To: John Drescher <drescherjm AT gmail DOT com>
Date: Mon, 15 Jun 2009 16:43:48 -0400
On Mon, 2009-06-15 at 16:17 -0400, John Drescher wrote:
> On Mon, Jun 15, 2009 at 3:38 PM, Jonathan Bayer<jbayer AT regiscope DOT com> 
> wrote:
> > On Mon, 2009-06-15 at 21:09 +0200, Arno Lehmann wrote:
> >> Hello,
> >>
> >> 15.06.2009 19:49, Dirk Bartley wrote:
> >> > OK, just re-read the storage= option under pool and it is a little bit
> >> > confusing to me because I always thought the storage came from the job
> >> > defaults, then the schedule resource for that run if it has an override.
> >> >
> >> >>From the docs, this means my assumtion was incorrect.
> >> >
> >> > "The Storage resource may also be specified in the Job resource, but the
> >> > value, if any, in the Pool resource overrides any value in the Job. This
> >> > Storage resource definition is not required by either the Job resource
> >> > or in the Pool, but it must be specified in one or the other. If not
> >> > configuration error will result."
> >> >
> >> > I'd still look at the storage on the job's log.  You may want to choose
> >> > to put the storage= in the schedule resource just to make sure.
> >>
> >> It's also important to NOT use the same media type for volumes handled
> >> by different storage devices that don't really share the same set of
> >> volumes.
> >
> > But this is EXACTLY what I'm doing.  Same media type (File), two
> > different devices.
> >
> > In fact, I can see this happening in many environments.  What about a
> > site that has multiple tape drives, all of the same type
> >
> That is fine if a user can insert the media from one drive to the
> other. If they are in separate locations or you do not want to switch
> media back and forth between devices its best to make them different
> media type so bacula does not request media that you will not have.

OK.  So how do I make the media type different if they both are
disk-based volumes? (re-read the manual) Oh.  So if I simply name the
external type as "ExternalFile", that would work?  So even if the
physical media is the same, you give each a different Media Type, right?

> I am confused at that. A single volume can only have 1 label.
> 
> Also you really should be limiting your volume size on both media in
> some way (max volume size, use volume once ...) otherwise you will
> have to recycle the entire volume when it eventually fills up.

Actually, I have two external drives.  I rotate them, keeping one
off-site.  When I bring the off-site drive here, I purge the volume
which is on it.

This is done as a minimal disaster recovery solution.  I'm not crazy
about it, but it does work.

> 
> I think when you created what you call a new label you actually
> created a second volume on the hard drive.

I think you are correct.  There are two volumes on a single hard disk.
Because it is a hard disk, each volume is a different file.


> 
> John


------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users