From: Kern S. <ke...@si...> - 2003-09-29 16:20:48
|
Hello, Use the console "var" command to see what the expansion will do. Since you are in the console, some items are more or less randomly picked such as Job, Client, ... because you are not really running a job, but it should give you an idea of what will happen. http://www.bacula.org/html-manual/console.html#list Best regards, Kern On Mon, 2003-09-29 at 18:03, Bacula wrote: > Hi, > > I have many clients to backup to disk, so I defined a Pool with > auto-labeling on. I specified a LabelFormat in the Pool section of the > dir.conf file, using variable expansion: > LabelFormat = ${Client}- > Use Volume Once = yes > This should create a new volume for each new backup job, giving it the > name of the backupped client. But this fails, telling me: > > arkeia-dir: BackupLivic75.2003-09-29_17.26.37 Error: Cannot expand > expression "$": ERR=incomplete variable specification > arkeia-sd: Job BackupLivic75.2003-09-29_17.26.37 waiting. Cannot find > any appendable volumes. > Please use the "label" command to create a new Volume for: > Storage: DeviceWindowsFull > Media type: File > Pool: PoolWindowsFull > > If I use ${Year} instead of ${Client}, it doesnt' work either. > If I don't use variable expansion, it works: > LabelFormat = vol- > is OK. > > Thanks for your help. > > Axel > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Bacula-users mailing list > Bac...@li... > https://lists.sourceforge.net/lists/listinfo/bacula-users |