On 7/15/22 06:46, Wolfgang Denk wrote:
Hi,I would like to reuse a specific volume before it's expiration date. What I do so far is that I purge the volume, then use btape to rewrite the label and this remove the data. This is IMHO more complicated than it should be, especially as I have to use different tools for a single task. I'm looking for a way to do this all just from the bconsole, for example. But "update volume" does not alow to change the expiration date - or am I missing something? [This is with Bacula 11.0.6 under Fedora 36.]
Hello Wolfgang, Simply by purging the volume, all Job and File records related to it are pruned from the catalog database with no concern for retention periods, and the volume will become eligible for Bacula to re-use it. There is no need to do all the extra steps you have done. Matter of fact, in normal situations, once Bacula labels a volume, there is never a time when you need to manually erase and relable it. Your situation of wanting to reuse a specific volume falls under the "normal use" situation umbrella. If Bacula is not using this volume straight away, it may just be that other volumes are available in your environment. Can you tell us more about this volume, the pool it is in, other eligible volumes, and the Job? * ll volume=wwww * list pools * list media pool=xxxx * show job=yyyy * ll joblog jobid=zzzz Best regards, Bill -- Bill Arlofski w...@protonmail.com
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users