I am trying to figure out how to use Label Format = to label each daily backup by day of week-client name-date. The day of week is easy and I'm not having a problem with the date but I can’t seem to get it to work with the client variable. Here is how I set it up to start with;

Pool {
  Name = "MondayPool"
  PoolType = "Backup"
  Recycle = "yes"
  AutoPrune = "yes"
  VolumeRetention = 6 days
  LabelFormat = "Monday-${client)-${Year}-${Month:p/2/0/r}-${Day:p/2/0/r}"
  Maximum Volume Jobs = 2
  }

 

and upon running the job with this pool assigned I get

 

17-Sep 14:07 Server-dir: asus2.2006-09-17_14.07.27 Error: Cannot expand _expression_ "Monday-${client)-${Year}-${Month:p/2/0/r}-${Day:p/2/0/r}": ERR=incomplete variable specification 

 

If I remove the client variable and just use the day followed by the date variables it works fine so I’m sure I am not using the variable right but the chapter on this is like trying to read Greek to me. I want to have different volumes for each client so a monday job from client2 doesnt overwrite a monday job from client1. Maybe there's an easier way to do this?

thanks

-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to