Bacula-users

Re: [Bacula-users] Bacula changes volume status from append to used. Why?

2011-08-17 11:57:33
Subject: Re: [Bacula-users] Bacula changes volume status from append to used. Why?
From: Bob Hetzel <beh AT case DOT edu>
To: bacula-users AT lists.sourceforge DOT net
Date: Wed, 17 Aug 2011 11:54:37 -0400
> Hello,
>
> we like to backup 18 different hosts on one tape. After the last job has 
> finished, Bacula should close the tape.
> The problem is that Bacula closes the volume already after the first (!)  
> job, so that the next job waits for an appendable volume.
>
> We changed the status of the volume from "used" to "append" in the bconsole, 
> canceled the current job and expected the next job to use the appendable 
> volume.
> But instead Bacula switched the volume status back up "used" and again we 
> have a job waiting for a volume.
>
> Here is the configuration of the pool:
>
> Pool {
>   Name = Dienstag
>   Pool Type = Backup
>   Recycle = yes
>   AutoPrune = yes
>   Volume Retention = 8 days
>   Maximum Volume Bytes = 800G
>   Maximum Volumes = 2
>   Maximum Volume Jobs = 18
>   UseVolumeOnce = yes
>   RecyclePool = Dienstag
> }
>
> Why doesn't Bacula save 18 jobs on the volume and why does is change the 
> volume status?
>
> Thanks for any hints or suggestions,
>
> Stefan
>

1) the Maximum Volumes directive will limit you to 2 volumes.  You might 
then get errors about not having any 'appendable media'.

2) Where did the number 18 come from?  If it's the number of clients you're 
backing up every day, then perhaps what you really want instead of Maximum 
Volume Jobs, use something like "Volume Use Duration = 23h" to tell it not 
to use the same volume the next day.

3) Bacula marks volumes as Used if they didn't hit your limit specified as 
800G but you told it to stop using that volume for some other reason, such 
as UseVolumeOnce, or by hitting Max Volume Jobs.

Check out this section of the manual for more info on what each of the 
directives you're using does...

http://www.bacula.org/5.0.x-manuals/en/main/main/Basic_Volume_Management.html

------------------------------------------------------------------------------
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>