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

2011-08-17 Thread Stefan Michael Guenther
Hi,

> > 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
> > }
> >
I guess I found the mistake/reason: We removed the setting "UseVolumeOnce=yes" 
already more than a week ago, but obviously we picked an old config file again 
for the last changes, because the setting is in there again.

BTW, why shouldn't it be a good idea to use "Maximum Volume Jobs" to limit the 
number of backups? What else could this parameter be for?

Thanks for you suggestions,

Stefan

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


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

2011-08-17 Thread Bob Hetzel

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


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

2011-08-17 Thread Martin Simmons
> On Wed, 17 Aug 2011 13:23:28 +0200, Stefan Michael Guenther said:
> 
> 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,

Look at the log (it probably tells you why it marks the volume as used).  I
suspect UseVolumeOnce (look at the documentation for that).

__Martin

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


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

2011-08-17 Thread Craig White
On Wed, 2011-08-17 at 13:23 +0200, Stefan Michael Guenther wrote:
> 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,

after you make changes to the Pool resource you must either restart the
daemons or reload to ensure that the changes are incorporated. You must
also 'update the Volume from the Pool Resource' since Volumes that
already exist already have their settings and won't change otherwise.

Craig


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


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


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

2011-08-17 Thread Stefan Michael Guenther
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

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