Bacula-users

Re: [Bacula-users] [Bacula-devel] Python in bacula 7 - dynamically assign volume names

2015-04-22 01:14:29
Subject: Re: [Bacula-users] [Bacula-devel] Python in bacula 7 - dynamically assign volume names
From: Steve Lee <steve.lee AT zynstra DOT com>
To: Ana Emília M. Arruda <emiliaarruda AT gmail DOT com>
Date: Wed, 22 Apr 2015 05:09:23 +0000

I think I'm going to revert to bacula 5 for now. Anyone know why python was dropped?

On 21 Apr 2015 10:07, Steve Lee <steve.lee AT zynstra DOT com> wrote:

Thanks for your reply Ana


I guess that could work if I required a single Volume but I limit my volume sizes to 1GB (files) for operational reasons and typically require multiple volumes but I don't know in advance how many. I suppose I could create multiple volumes in advance and after delete any unused.


I always ensure that there volumes are automatically allocated as required and are never reused between jobs. Thee first one is allocated when the job starts and others as each becomes full.​ The content of the backup can vary according to some run before scripts and I would like the volume names to reflect that.


It was easy to do this with python scripting but we are in the process of upgrading to bacula 7 where that isn't supported.


Regards

Steve




From: Ana Emília M. Arruda <emiliaarruda AT gmail DOT com>
Sent: 20 April 2015 17:53
To: Steve Lee
Cc: bacula-users AT lists.sourceforge DOT net; bacula-devel AT lists.sourceforge DOT net
Subject: Re: [Bacula-users] Python in bacula 7 - dynamically assign volume names
 
Hi Steve,

Maybe a shell script in a RunBeforeJob directive? You can test with "list nextvol" if there is an available volume and if not instruct Bacula to label one (and the label you can create it for your own in your shell script).
Could you be more specific about "allocate volume names at run time"? Should they be allocated before the job starts running or during a the job runs in the case it needs a volume and cannot find any available?

Best regards,
Ana

On Mon, Apr 20, 2015 at 1:25 PM, Steve Lee <steve.lee AT zynstra DOT com> wrote:

OK - I found in the release notes for 7.0.0 

The following features or directives have been removed:
- Win32
- tray-monitor
- wx_console
- Removed cats DBI driver
- Python

So I assume this means python scripting is no longer supported.


If this is the case is there an alternative mechanism for dynamically set volume names? 


Label Format doesn't quite do it because it is limited to specific bacula variables or environment variables set during director startup and I need to allocate volume names at run time.


Thanks


Steve




From: Steve Lee
Sent: 20 April 2015 10:08
To: bacula-users; bacula-devel
Subject: Python in bacula 7
 
HI

Does anyone know whether python scripting is supported in 7.0.5?
I could see that --with-python is no longer a valid configuration option.

Regards

Steve Lee

________________________________________
From: Kern Sibbald <kern AT sibbald DOT com>
Sent: 11 September 2011 10:31
To: bacula-users; bacula-devel
Subject: [Bacula-devel] [Bacula-users] Bacula Conference in September

Hello,

This is just a reminder concerning the Bacula conference on September
21th 2011.
Registrations coming in every day, but there is a limit of 60 seats.

So, if you are interested in attending, please hurry to sign up at
following the link:

http://www.bacula-konferenz.de/

This is an excellent opportunity to meet and discuss with other Bacula users
as well as to learn what the Bacula Roadmap is.

Also, if you would like to submit a paper, there is still one slot free.

I am looking forward to being there and to meeting you there too.

Best regards,

Kern

------------------------------------------------------------------------------
Using storage to extend the benefits of virtualization and iSCSI
Virtualization increases hardware utilization and delivers a new level of
agility. Learn what those decisions are and how to modernize your storage
and backup environments for virtualization.
http://www.accelacomm.com/jaw/sfnl/114/51434361/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users


------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Bacula-devel mailing list
Bacula-devel AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-devel

Zynstra is a private limited company registered in England and Wales (registered number 07864369). Our registered office and Headquarters are at The Innovation Centre, Broad Quay, Bath, BA1 1UD. This email, its contents and any attachments are confidential. If you have received this message in error please delete it from your system and advise the sender immediately.


------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users


------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users