Am Tue, 02 Mar 2010 02:45:58 -0800 schrieb gnowar: > Hello, > > I've some problems with automatic labeling. Here is my conf :
<snip> > Here is my BeforeJob script : > > #!/bin/sh > mt -f /dev/st0 rewind > mt -f /dev/st0 weof > /opt/bacula/sbin/bconsole -c /opt/bacula/sysconf/bconsole.conf > <<END_OF_DATA unmount storage=Tape > END_OF_DATA > /opt/bacula/sbin/bconsole -c /opt/bacula/sysconf/bconsole.conf > <<END_OF_DATA mount storage=Tape > END_OF_DATA > > Pool { > Name = TapePool > Pool Type = Backup > Recycle = yes # Bacula can automatically recycle > Volumes > AutoPrune = yes # Prune expired volumes Volume > Retention = 365 days # one year Maximum Volume Jobs = 2 > Maximum Volumes = 1 # Limit number of Volumes in Pool > Label Format = > "${Pool}_${Storage}_${Year}-${Month:p/2/0/r}-${Day:p/2/0/r}_ ${Hour:p/2/0/r}h${Minute:p/2/0/r}m" > } why do you wan't to create time based names for your tape volumes and why not just enumerate and use volume recycling? this would be the standard with tapes. - Thomas ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users