Bacula-users

Re: [Bacula-users] Can Bacula set job pool from environmental variable?

2010-05-03 00:20:47
Subject: Re: [Bacula-users] Can Bacula set job pool from environmental variable?
From: "Tinh, Nguyen Huu" <tinh.nguyen AT navigosgroup DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Mon, 3 May 2010 10:59:09 +0700 (ICT)
Dear all,

You can do it by use the Webmin or bconsole , After log in , You will create the spool and assign job for spool.

Thanks & Regards,
NGUYEN HUU TINH
--------------------------------------------------------------
#System Administrator Of System Team
#IT Department
#Navigos Group, Ltd.
#130 Suong Nguyet Anh St.
#District 1, Ho Chi Minh City, Vietnam
#Tel: (84 8) 5404 1373 - Ext: 3447
#Fax: (84 8) 5404 1372
#Mobile: (84) 918 411 445
#Email : tinh.nguyen AT navigosgroup DOT com
#http://www.navigosgroup.com
#http://www.vietnamworks.com  
----------------------------------------------------------------

----- Original Message -----
From: "AndyW" <bacula-forum AT backupcentral DOT com>
To: bacula-users AT lists.sourceforge DOT net
Sent: Monday, May 3, 2010 6:31:08 AM
Subject: [Bacula-users] Can Bacula set job pool from environmental variable?


Is it possible for Bacula to get the pool to be used for a job from an environmental variable, or otherwise set it programmatically?

I have a Tandberg SLR7 tape drive for backup of home directories on our HTPC.  I want to have a weekly full backup, followed by daily incremental on the following 6 days, all on the same tape. I want a 5 week rotation, with a separate pool for each week to make sure the right tape is used.

I have got a script to work out which pool to use (by time elapsed since start of the backup regime) and set the appropriate pool name in an environmental variable I can set this as a pre-job command, but director gives an error if the job pool is set to anyhting other than the string literal ID of a defined pool. I can schedule to use the correct pool by using "W01", "W02" etc., but it is cumbersome & will have need to be re-worked over the year end.

Any ideas if & how I can automatically set pool to be "Week1", "Week2" etc. depending on where we are in the cycle?

Thanks,
Andrew

+----------------------------------------------------------------------
|This was sent by andrew AT wasielewski.co DOT uk via Backup Central.
|Forward SPAM to abuse AT backupcentral DOT com.
+----------------------------------------------------------------------



------------------------------------------------------------------------------
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
------------------------------------------------------------------------------
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
<Prev in Thread] Current Thread [Next in Thread>