Re: [Bacula-users] Problems with automatic labeling
2010-03-02 10:30:20
Because I change tape everyday during 20 days.
It easyer to know wich tape I need if the volume name include the date and
time isn't it ?
Define the label format like I did does impact the recycle fonction of
bacula ?
What should be set in the label format ?
Thomas Mueller-13 wrote:
>
> 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 AT lists.sourceforge DOT net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
>
--
View this message in context:
http://old.nabble.com/Problems-with-automatic-labeling-tp27754420p27757178.html
Sent from the Bacula - Users mailing list archive at Nabble.com.
------------------------------------------------------------------------------
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 AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
|
|