On Dec 13, 2006, at 1:40 AM, Robert Nelson wrote: > Do you mean the result was clientname-Day_12? If so that would be > expected.
Yes, these were the results. Good! > According to the grammar in the manual, the curly braces are > optional if you > are just expanding the name. If you want to take advantage of the ":" > commands then you need the braces. > > As for the need for quotes, They are only needed if the string > contains one > or more of the following characters: '=', '{', '}', ';', ' ' or ','. Then my misunderstanding of the syntax driven by late nights and early mornings. Thanks for the clarification on this... > > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Erich Prinz > Sent: Tuesday, December 12, 2006 8:05 PM > To: Robert Nelson > Cc: 'bacula-devel Development' > Subject: Re: [Bacula-devel] Win32: LabelFormat Directive Syntax > > Now I'm unable to duplicate the issue either. > > Here is the Pool conf (working at this time) > > # Default pool definition > Pool { > Name = Default > Use Volume Once = yes > Pool Type = Backup > Recycle = yes # Bacula can automatically > recycle Volumes > AutoPrune = yes # Prune expired volumes > Volume Retention = 719h # 29 days 23 hours > Label Format = $Client-Day_$Day > MaximumVolumes = 6 > MaximumVolumeJobs = 1 > > } > > Notice there are no braces or double quotes and this yields the > output clientname_12 as an example. > > Erich > > On Dec 12, 2006, at 4:15 PM, Robert Nelson wrote: > >> I'm not able to duplicate either of the problems you report. Could >> you send >> me copies of your Bacula-dir.conf and Bacula-sd.conf files as well >> as a >> capture of the debug output when you run a job that should >> autolabel a >> volume? >> >> -----Original Message----- >> From: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED] On Behalf Of >> Erich Prinz >> Sent: Monday, December 11, 2006 8:33 AM >> To: bacula-devel Development >> Subject: [Bacula-devel] Win32: LabelFormat Directive Syntax >> >> Hi Robert. >> >> I'm doing basic testing of the Win32 build of 1.39.30 with full >> install of the Dir, SD, and FD. >> >> Configuring the Director for automatic labeling of the disc based >> volumes has been an interesting exercise. >> >> Bacula Documentation shows the proper syntax as: >> >> LabelFormat = "File-" >> >> where the label and any variables are in double quotes. Configured in >> this manner, the volume label yields "". >> >> However, when leaving the double quotes off, the volume label is >> correctly applied eg. File-0001 and so on. >> >> Also, the Director fails to launch under these two conditions in the >> Pool section of dir-conf when present in the configuration setting: >> >> >> LabelFormat = ${Client} >> >> >> LabelFormat = "${Client}" >> >> >> Erich >> >> --------------------------------------------------------------------- >> - >> --- >> Take Surveys. Earn Cash. Influence the Future of IT >> Join SourceForge.net's Techsay panel and you'll get the chance to >> share your >> opinions on IT & business topics through brief surveys - and earn >> cash >> http://www.techsay.com/default.php? >> page=join.php&p=sourceforge&CID=DEVDEV >> _______________________________________________ >> Bacula-devel mailing list >> [EMAIL PROTECTED] >> https://lists.sourceforge.net/lists/listinfo/bacula-devel >> >> >> >> >> --------------------------------------------------------------------- >> - >> --- >> Take Surveys. Earn Cash. Influence the Future of IT >> Join SourceForge.net's Techsay panel and you'll get the chance to >> share your >> opinions on IT & business topics through brief surveys - and earn >> cash >> http://www.techsay.com/default.php? >> page=join.php&p=sourceforge&CID=DEVDEV >> _______________________________________________ >> Bacula-devel mailing list >> [EMAIL PROTECTED] >> https://lists.sourceforge.net/lists/listinfo/bacula-devel >> > > > ---------------------------------------------------------------------- > --- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to > share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php? > page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Bacula-devel mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/bacula-devel > > > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users