Hi, 06.11.2007 21:51,, Ben Beuchler wrote:: > The example DirStartup.py shows an example NewVolume method that just > assigns a generated volume name to job.VolumeName. Is that all that's > needed for the system to label a new volume? Does it just label a new > volume using the defaults defined in bacula-dir.conf?
No. Either you use the "plain" variant with LabelFormat, or you use the python hooks, but the samples should be heavily modified. You probably want a new volume name for each label you create, for example... In fact, to implement a simple auto-labeling mechanism, you don't need python. Just use "LabelFormat=Poolname-" and you get names like "Full-0001", "Diff-00123" etc. Arno > Thanks! > > -Ben > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users > -- Arno Lehmann IT-Service Lehmann www.its-lehmann.de ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users