Hi,

You use {}.


LabelFormat = "DAT-${namecount+}"


bye

Martin Jina





Jason Joines-4 wrote:
> 
>      I'm trying to get auto labeling to work they way I want.  I'm 
> backing up to disk and using:
> Maximum Volume Jobs = 1
> Maximum Volume Bytes = 5242880
> LabelFormat = "$JobName-$namecount"
> 
> in my Pools definition where namecount is defined as:
> Counter
> {
>    Name = namecount
>    Minimum = 100
> }
> 
>      The idea is to have every volume with a nice sortable name.  I 
> doubt I'll ever have enough stuff in one job to exceed a value of 999 
> for name count.  Does this counter get incremented automatically during 
> a job?  In other words If I'm backing up 8 GB of data, will I get two 
> volumes like osx13daily.2007-11-26_12.30.03-100 and 
> osx13daily.2007-11-26_12.30.03-101 or do I need to include the increment 
> operator in my LabelFormat directive?  I tried:
> LabelFormat = "$JobName-$namecount+"
> but got an error about an invalid character in my variable name.
> 
> 
> Jason Joines
> =================================
> 
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
> 
> 

-- 
View this message in context: 
http://www.nabble.com/incrementing-counters-tp13956169p14709087.html
Sent from the Bacula - Users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to