Hello,

wt., 20 sie 2024 o 12:10 Mehrdad Ravanbod <mehrdad.ravan...@ampfield.se>
napisał(a):

> Hi guys
>
> As the subject says, I was wondering if it is possible to make the
> creation of a new volume conditional on a  bckup job running on a
> particular weekday, or the job being a particular category i.e Full
> backup.


Sure, no problem. Create a dedicated pool and setup a volume to "close" after
a first job (status Used, Use Volume Once = yes) which ensures the next
full backup will get a new, fresh volume.


> meaning if job is a full backup or running on sunday, make a new
> vol and label it and have the jobs running on weekdays write to same vol
>

> Background is that i would like to have the the full backup(usualy
> running on a sunday), and the following diff. backup on weekdays in one
> and same volume(just trying to have it neat for archiving)


Let the Bacula manage your volumes. Do not try to manage it yourself.
Bacula is the advanced backup application.
Bacula has a perfect feature for your archiving - Copy Jobs. Please use it
instead of manual volume management.

and ofcourse
> preferably have a time stamp in the Vol- name.


Why? Bacula already writes a volume timestamp and job timestamps inside a
volume itself. It is already there, no need to write it manually again.

But i think i read it
> some where that vol name expansion is possible, just have to find the
> particular section in manual
>

What do you mean? You can name your volume with any prefix you like: Label
Format = <format>
https://www.bacula.org/15.0.x-manuals/en/main/Configuring_Director.html#SECTION00231600000000000000000
Then Bacula append a counter for volume name uniquness, which is required.
-> "media_volumename_id" UNIQUE, btree (volumename)

best regards
-- 
Radosław Korzeniewski
rados...@korzeniewski.net
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to