Re: create new volume on a particular day
Mehrdad Ravanbod <[email protected]>
| Newsgroups | gmane.comp.bacula.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Thanks for the reply, appreciate the points u made On 2024-08-29 09:09, Radosław Korzeniewski wrote: > > > 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. I will try it, thanks for the suggestion > > 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. > The reason i want to do it is to be able the tell the time span of a backup file(when looking on the physical file on the disk) just by looking at the name. i.e one file with a particular time stamp spans the whole coming week. I think it will provide the other guys in the IT a better grip on the backup files > 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 > <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) yes, but instead of naming the backup files with names like Volume-001, volume-002 ... etc etc, I would like to have names like SrvName-2004-08-27, i got the date stamping to work and am still working on it to find a good naming convention, i do realize that this is a matter of personal taste though, Bacula does not care :) Thanks for the link btw, the documentation is realy quite large, i had not come to this section yet, cool stuff > best regards > -- > Radosław Korzeniewski > [email protected] <mailto:[email protected]> -- Sincerely /Mehrdad ________________________________________________________ Mehrdad Ravanbod System administrator _______________________________________________ Bacula-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/bacula-users