Bacula-users

Re: [Bacula-users] How to re-use existing volumes in pool?

2010-03-23 09:27:06
Subject: Re: [Bacula-users] How to re-use existing volumes in pool?
From: Thomas Mueller <thomas AT chaschperli DOT ch>
To: bacula-users AT lists.sourceforge DOT net
Date: Tue, 23 Mar 2010 14:23:39 +0100
Sean Carolan wrote:
>> you need to edit the "Pool" resource ("Maximum Volume Jobs" and "Volume
>> Retention") in bacula-dir.conf
> 
> Thank you, Thomas.  I have read through the manual section on the Pool
> resource.  Here is one of my pool definitions:
> 
> Pool {
>   Name = BackupPC_pool
>   Pool Type = Backup
>   Volume Retention = 5 days
>   Recycle = yes
>   AutoPrune = yes
>   MaximumVolumeJobs = 1
> }
> 
> Shouldn't this configuration automatically recycle volumes if I run my
> backup once a week?  My current process goes something like this:
> 
> 1.  Unmount tape that is in the drive
> 2.  Run the "purge" command to wipe the volumes for my next backup
> 3.  Run "mtx -f /dev/sg0 load #" to load up the next tape
> 4.  Run "mount" to get the tape ready
> 5.  Run my backup
> 

there should be no need to do anything manually.

did you restart bacula-dir (or "reload" on bconsole) and "update volumes 
from resource" in bconsole (or bat) after changing the bacula-dir.conf ?

- Thomas

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users