On Tuesday 28 February 2006 20:01, Georg Lutz wrote: > On 2006-02-26, Felix Schwarz wrote: > > I just noticed that the directive LabelFormat is deprecated in 1.38 - > > at least according to the manual: > > "Please note that this directive is deprecated and is replaced in > > version 1.37 and greater with a Python script for creating volume > > names." > > Does this mean that I have to write a python script in order to > automatically label new monthly archive tapes like Month-001, Month-002, > ... ?
Actually, I should be a bit more specific: the variable substitution used in LabelFormat is depreciated, which means that in a year or two it will be removed. If you are using a LabelFormat such as "Month-", which will automatically generate the above, that code will remain as it is quite simple, easy to understand, and easy to maintain. Best regards, Kern PS: Programming Python is easy. If you take the default DirStartUp.py script, delete a few example print/JobReport statements and change: job.VolumeName="TestA-%d" % numvol to job.VolumeName="Month-%d" % numvol you will most likely have what you do now. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users