On Jan 6, 2007, at 5:27 PM, Bill Moran wrote:

> Jonathan Horne <[EMAIL PROTECTED]> wrote:
>>
>> On Saturday 06 January 2007 14:14, Jonathan Horne wrote:
>>>
>> Please use the "label"  command to create a new Volume for:
>>     Storage:      "FileStorage" (/usr/backups)
>>     Media type:   File
>>     Pool:         Default
>
> You may want to provide your pool defintions, as it looks like the
> problem lies therein.
>
> Based on the error you're getting, you don't have any volumes in
> existence to back up to.  You either need to manually create volumes
> in bconsole with the label command, or enable automatic volume
> creation in the pools.

I had the same problem. Looking at the docs it appears that to enable  
automatic volume creation you need to use the "Label Format"  
directive in your pool(s) and it seems to me to get the proper  
creation of unique names you have to not use variables in the name to  
get the auto numbering. I tried it and it appears to work with  
something like

Label Format = "Vol"

Which creates Vol001, Vol002, and so on.

But the docs say this is deprecated and we should use the python  
scripting. Seems like a god idea as I really want the job name in the  
volume name too.

So I removed the "Label Format" directive, added a "Scripts  
Directory" directive to the Director, copied the examples to /etc/ 
bacula/scripts,made some minor edits to reflect my chosen naming  
convention and restarted bacula, but they don't appear to be run as I  
dont see anything in the logs, and the volume names are not auto  
created.

Any idea what I am doing wrong?

thanks
charles


-------------------------------------------------------------------------
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
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to