On 6/4/21 7:40 PM, Denis Morejón wrote:
> Hello:
> I have built a bacula 11 successfuly. I am testing saving a few files to a 
> file type device, using a little Pool of up to 3
> volumes of 100Mb each one. I need to see how bacula creates the three volumes 
> automatically as I repeat a job some times in
> order to fill up the three volumes. And It happens indeed. The three volumes 
> get full. But then, a new job execution remains
> running for a long time and need to be stopped. It seems that the first 
> volume can not be rewriten. Even when directive
> volume retention = 0 is set on the pool. File and Job retention = 0 is set on 
> the client resource. What else should I do ? I
> mean, to rewrite the first volume automatically.

Hello Denis,

By default, I mean by the "default configuration settings shipped" Bacula will 
automatically prune volumes. However, and also
by default, this happens automatically at the *end of each job*.

So, you have entered into a chicken and egg problem.

What you can do is open a bconsole session, and force a prune like:

* prune expired volume yes

If your volume, job, and client retention periods are indeed 0, then this 
should work as you want...

However, possibly (and hopefully) not. This is because Bacula should *not* be 
pruning a volume for a job that is currently
being written. That would not make any sense. The resulting backup job would be 
completely unusable for a restore operation.

Can you explain what you are trying to do and why?  I am sure someone on this 
list will be able to help you achieve your goal
if it is sensible/possible.

Additionally, if you modify a pool's settings after volumes exist in it, after 
reloading the Director's config (* reload),
then updating the pool (* update pool=xxxx), you will need to update the 
volumes in that pool so they inherit the new Pool
settings such as the retention period (* update volume fromallpools <-- this 
will just update all volumes regardless of pool).


Hope this helps,
Bill

--
Bill Arlofski
w...@protonmail.com



_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to